Is make -j 2 expected to work?

Rob Landley rob at landley.net
Mon Sep 24 05:39:46 UTC 2007


On Saturday 15 September 2007 4:40:17 am Mike Frysinger wrote:
> On Tuesday 26 June 2007, Rob Landley wrote:
> > I ask because it seems to make the build unstable...
> >
> > >   CC libc/stdio/_fwrite.os
> > >   CC libc/stdio/_rfill.os
> > >   CC libc/stdio/_stdio.os
> > > libc/stdio/_stdio.c:195:2: warning: #warning check
> > >   CC libc/stdio/_trans2r.os
> > >   CC libc/stdio/_trans2w.os
> > >   LD libuClibc-0.9.29.so
> > >   CC libc/stdio/_wcommit.os
> > > armv4l-ld: libc/libc_so.a(fseeko64.os): bad reloc symbol index (0xa6020
> > >
> > > >= 0x13) for offset 0x20202020 in section `.text'
> > >
> > > libc/libc_so.a(fseeko64.os): could not read symbols: Bad value
> > > make[2]: *** [lib/libc.so] Error 1
> > > make[1]: *** [../lib/libc.so.0] Error 2
> > > make: *** [utils] Error 2
> > > make: *** Waiting for unfinished jobs....
>
> never seen that error and ive been building with -j8 for months on a quad
> box -mike

Ok, here's a start.  100% reproducible here with 0.9.29:

make V=1 CROSS="${ARCH}-" KERNEL_HEADERS="${CROSS}/include" PREFIX="${CROSS}/" 
        RUNTIME_PREFIX=/ DEVEL_PREFIX=/ all install_runtime install_dev

Works fine.

Add -j 2 and it dies.

There are other problems, but that's the one I just hit when I put -j back in.

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.



More information about the uClibc mailing list