This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enable unwind info in libc-start.c and backtrace.c


H.J. Lu wrote:

> # CC="gcc -m32 -march=i686" CXX="g++ -m32 -march=i686"
> /export/gnu/import/git/sources/glibc/configure --prefix=/usr
> --target=i686-linux --build=i686-linux --host=i686-linux
> --enable-hardcoded-path-in-tests
>
> to configure glibc for i686 on Linux/x86-64.  It works fine.

Doing it exactly like that I get:

/work/install/binutils_x64/x86_64-linux-gnu/bin/ld: skipping incompatible /work/install/gcc_x64/lib/gcc/x86_64-linux-gnu/8.0.0/libgcc.a when searching for -lgcc
/work/install/binutils_x64/x86_64-linux-gnu/bin/ld: cannot find -lgcc

So it doesn't seem to be able to find a 32-bit libgcc although that GCC
supports -m32...

Wilco

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]