This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Getting a build failure in glibc due to gcc changes on 32bit x86 glibc
- From: Andrew Pinski <pinskia at gmail dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 26 Nov 2014 14:59:34 -0800
- Subject: Getting a build failure in glibc due to gcc changes on 32bit x86 glibc
- Authentication-results: sourceware.org; auth=none
Hi all,
I am getting the following failure on the 32bit x86 glibc with the
top of the trunk gcc 5.0 and glibc from the commit
(e5e0d9a4f632735cf3bb440eecb5caee5eea44c1). While building
dl-load.os:
/tmp/ccRtDgmR.s: Assembler messages:
/tmp/ccRtDgmR.s:9498: Error: symbol `__x86.get_pc_thunk.cx' is already defined
The problem is GCC no longer uses a fixed register for the PIC
register so in this case GCC uses ecx for the PIC register.
This looks like the same issue as I reported before about
check_consistency() since that is what is failing to assemble here
too.
Thanks,
Andrew Pinski