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: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm 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 06:52:38 -0700
- Subject: Re: [PATCH] Enable unwind info in libc-start.c and backtrace.c
- Authentication-results: sourceware.org; auth=none
- 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>
On Thu, Sep 14, 2017 at 6:46 AM, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
> Carlos O'Donell wrote:
>
>> This looks god to me, but I'd like to know what machines you've tested on?
>>
>> If you tested on aarch64, i386, and arm (v7), then I'd say you've done enough
>> to show it work on 64-bit and 32-bit for relevant machines.
>
> I tried it on Arm, AArch64 and x64. I can't get GLIBC to build for i386 or i686 as
> whatever magic config I try for 32-bit x86 fails during build (it gets past the config
> with a newly built 64-bit GCC and binutils but then gets confused despite -m32 flags).
>
I use
# 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.
--
H.J.