fakeroot build error
Christian Bünnig
masala at web.de
Thu Jul 27 06:27:37 PDT 2006
The error does not have anything to do with buildroot or uclibc.
It has been caused by the versions of gcc/binutils/glibc on the host
system (binutils 2.15-6, glibc 2.3.6-15).
I upgraded gcc from 3.3.x to 3.4.4 and now it works. On another system
it works also with gcc 3.3.5, but binutils is newer on that system
(2.15.94.0.2.2).
Christian Bünnig wrote:
> Hello,
>
> I try to build the buildroot system for a mikrotik RB532 (mipsel).
>
> While building fakeroot for the toolchain, i get the following error:
>
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
> ./.libs/libcommunicate.a(communicate.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8/communicate.c:72:
> first defined here
>
> After searching the web I guess it has to do something with bad
> combinations of uclibc/gcc/binutils .. but that's only a rough idea.
> I tried different versions of gcc (3.4.2 - 3.4.4), uclibc and
> binutils, but with no success.
>
> So can anybody give me a hint what does this error mean and where/how I
> should try to fix it?
>
> Thanks in advance
>
>
> Christian
>
> Output of build process around the error:
>
> ...
> ...
> make[3]: Entering directory
> `/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
> ...
> ...
> libtool: link: creating libfakeroot.la
> libtool: link: ( cd ".libs" && rm -f "libfakeroot.la" && ln -s
> "../libfakeroot.la" "libfakeroot.la" )
> if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT faked.o -MD -MP -MF
> ".deps/faked.Tpo" -c -o faked.o faked.c; \
> then mv -f ".deps/faked.Tpo" ".deps/faked.Po"; else rm -f
> ".deps/faked.Tpo"; exit 1; fi
> /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o faked faked.o
> libcommunicate.la -ldl
> libtool: link: gcc -g -O2 -o faked faked.o ./.libs/libcommunicate.a -ldl
> /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
> ./.libs/libcommunicate.a(communicate.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8/communicate.c:72:
> first defined here
> collect2: ld returned 1 exit status
> make[3]: *** [faked] Fehler 1
> make[3]: Leaving directory
> `/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory
> `/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
> make[1]: *** [all] Fehler 2
> make[1]: Leaving directory
> `/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
> make: ***
> [/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8/faked]
> Fehler 2
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
More information about the uClibc
mailing list