This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
- From: "pluto at agmk dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 May 2010 19:58:21 -0000
- Subject: [Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
- References: <20100416131020.11505.pluto@agmk.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pluto at agmk dot net 2010-05-20 19:58 -------
(In reply to comment #1)
> (In reply to comment #0)
> > changing 'CC -c' invocation to 'AS' in configure fixes the problem.
>
> No, it doesn't solve ting. We always use CC. By testing with AS
> inconsistencies are introduced. Using --with-binutils should add this to the
> gcc command line. If this doesn't work you have to investigate that part.
there's no CC inside --with-binutils directory. there's only a tree with kernel
headers and binutils for target architecture. at this point i'm configuring
glibc with --enable-hacker-mode --disable-sanity-checks for installing glibc's
headers with `make cross-compiling=yes install-headers`.
finally, the configure script detects an old gcc-4.1.2-42.el5 for build/host
and recent as/ld for target:
(...)
checking for gcc... gcc
checking whether /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-
linux/bin/as is GNU as... yes
checking whether /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-
linux/bin/ld is GNU ld... yes
checking for /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-linux/
bin/as... /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-linux/bin/
as
checking version of /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-
linux/bin/as... 2.20.51.0.8.20100412, ok
checking for /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-linux/
bin/ld... /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-linux/bin/
ld
checking version of /local/devel/toolchain45/x86_64-gnu-linux.host64/x86_64-gnu-
linux/bin/ld... 2.20.51.0.8.20100412, ok
(...)
imho, using CC for detecting target assembler features at `cross-compiling=yes
install-headers` stage is a bug.
ps).
there's another problem with detecting cpuid.h at this stage.
worked around with ac_cv_header_cupid_h=yes forcing.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11505
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.