This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Enable unwind info in libc-start.c and backtrace.c
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Carlos O'Donell <carlos at redhat dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, nd <nd at arm dot com>, Andreas Schwab <schwab at suse dot de>
- Date: Thu, 14 Sep 2017 14:57:32 +0000
- Subject: Re: [PATCH] Enable unwind info in libc-start.c and backtrace.c
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco dot Dijkstra at arm dot com;
- Nodisclaimer: True
- References: <DB6PR0801MB205372EB7CB30BC3564DE1C083B20@DB6PR0801MB2053.eurprd08.prod.outlook.com> <mvmzibkr7kc.fsf@suse.de> <DB6PR0801MB20535546A6F95E36849C84FA83B20@DB6PR0801MB2053.eurprd08.prod.outlook.com> <DB6PR0801MB2053DFC14FB872257FCA400F838B0@DB6PR0801MB2053.eurprd08.prod.outlook.com> <b74200de-3254-2b7c-0347-6b262001ce19@redhat.com> <DB6PR0801MB20539AAFBD0EF2A43068AB73836F0@DB6PR0801MB2053.eurprd08.prod.outlook.com>,<CAMe9rOp4W5E7s6awUn9xSh40seD=TQOcbpOyc9=sLUXP2+=eow@mail.gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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