Build still broken on all platforms.

Rob Landley rob at landley.net
Thu Sep 20 21:11:51 UTC 2007


On Wednesday 19 September 2007 2:57:50 am Denys Vlasenko wrote:
> On Tuesday 18 September 2007 22:28, Rob Landley wrote:
> > http://uclibc.org/downloads/snapshots/uClibc-20070918.tar.bz2
> >
> > is still dying with:
> > >   CC libc/stdlib/__uc_malloc.os
> > > /tmp/cclXla0f.s: Assembler messages:
> > > /tmp/cclXla0f.s:42: Error: `__uc_malloc_failed' can't be equated to
> > > common symbol '__GI___uc_malloc_failed' make[1]: ***
> > > [libc/stdlib/__uc_malloc.os] Error 1
> > > make: *** [lib/libc.so.0] Error 2
> >
> > Denys, do you have a fix for the patch that did this, or should I just
> > revert it for now to get the build working again?
>
> Fixed in svn 19879. Sorry...
> --
> vda

Well, at least it built to the end now, where the build breaks trying to link:

i686-ld  -shared --warn-common --warn-once -z combreloc -z relro -z \
 defs -s -fini dl_cleanup -soname=libdl.so.0 -o lib/libdl-0.9.29.so  \
 --whole-archive ldso/libdl/libdl_so.a --no-whole-archive ./lib/interp.os \
 -L./lib ./lib/libc.so ./lib/ld-uClibc.so.0 \
 /home/landley/firmware/firmware/build/cross-compiler-i686/bin/../gcc/lib/libgcc.a
i686-ld:./lib/libc.so: file format not recognized; treating as linker script
i686-ld:./lib/libc.so:4: syntax error
make: *** [lib/libdl.so] Error 1

There _isn't_ a /lib/libc.so, it's in /usr/lib/libc.so.

0.9.29 didn't have this problem...

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



More information about the uClibc mailing list