Re: problem cross-compiling for i686

Bernhard Reutner-Fischer <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <CAC1BbcSGOjGxaup+aRce5r6as1ShQjikvA-u7JH6bEAyxqoJJQ@mail.gmail.com>
On 11 April 2015 at 18:42, Waldemar Brodkorb <[email protected]> wrote:
> Hi,
>
> while trying to compile latest git for qemu-i386 (i686),
> I get following error:
> /home/wbx/openadk/toolchain_qemu-x86_uclibc_i686/usr/bin/i686-openadk-linux-uclibc-gcc
> -Wl,-EL -Wl,--sort-common -Wl,--sort-section=alignment -m32 -shared
> -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,relro
> -Wl,-z,now -Wl,-z,defs   -Wl,-soname=librt.so.0 -nostdlib -o
> lib/librt-0.9.34-git.so  -Wl,--whole-archive librt/librt_so.a
> -Wl,--no-whole-archive ./lib/interp.os -L./lib ./lib/libc.so
> ./lib/libdl.so ./lib/libpthread.so
> /home/wbx/openadk/toolchain_qemu-x86_uclibc_i686/usr/lib/gcc/i686-openadk-linux-uclibc/4.9.2/libgcc.a
> /home/wbx/openadk/toolchain_qemu-x86_uclibc_i686/usr/lib/gcc/i686-openadk-linux-uclibc/4.9.2/../../../../i686-openadk-linux-uclibc/bin/ld:
> ./lib/libpthread_nonshared.a(pthread_atfork.oS): relocation
> R_386_GOTOFF against undefined hidden symbol `__dso_handle' can not
> be used when making a shared object

unfortunate combination of old(ish) gcc and new gold from binutils-2.25.
Please try current master (and thanks for the report!)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.