This is the mail archive of the glibc-bugs@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]

[Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.


------- 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.


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