public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/11505] New: nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
@ 2010-04-16 13:10 pluto at agmk dot net
  2010-05-03 17:12 ` [Bug nptl/11505] " drepper at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: pluto at agmk dot net @ 2010-04-16 13:10 UTC (permalink / raw)
  To: glibc-bugs

hi,

the nptl/sysdeps/x86_64/configure uses 'CC -c' to detect .cfi_personality
support in AS and such combination doesn't work with custom --with-binutils
settings.

i've discovered this during setup recent glibc for 'make install-headers'
for crosscompiler on old redhat disto.

changing 'CC -c' invocation to 'AS' in configure fixes the problem.

-- 
           Summary: nptl/sysdeps/x86_64 doesn't honor --with-binutils
                    settings.
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: pluto at agmk dot net
                CC: glibc-bugs at sources dot redhat dot com


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
  2010-04-16 13:10 [Bug nptl/11505] New: nptl/sysdeps/x86_64 doesn't honor --with-binutils settings pluto at agmk dot net
@ 2010-05-03 17:12 ` drepper at redhat dot com
  2010-05-20 19:58 ` pluto at agmk dot net
  2010-06-01  4:16 ` pasky at suse dot cz
  2 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2010-05-03 17:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2010-05-03 17:11 -------
(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.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
  2010-04-16 13:10 [Bug nptl/11505] New: nptl/sysdeps/x86_64 doesn't honor --with-binutils settings pluto at agmk dot net
  2010-05-03 17:12 ` [Bug nptl/11505] " drepper at redhat dot com
@ 2010-05-20 19:58 ` pluto at agmk dot net
  2010-06-01  4:16 ` pasky at suse dot cz
  2 siblings, 0 replies; 5+ messages in thread
From: pluto at agmk dot net @ 2010-05-20 19:58 UTC (permalink / raw)
  To: glibc-bugs


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
  2010-04-16 13:10 [Bug nptl/11505] New: nptl/sysdeps/x86_64 doesn't honor --with-binutils settings pluto at agmk dot net
  2010-05-03 17:12 ` [Bug nptl/11505] " drepper at redhat dot com
  2010-05-20 19:58 ` pluto at agmk dot net
@ 2010-06-01  4:16 ` pasky at suse dot cz
  2 siblings, 0 replies; 5+ messages in thread
From: pasky at suse dot cz @ 2010-06-01  4:16 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-01 04:16:18
               date|                            |


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug nptl/11505] nptl/sysdeps/x86_64 doesn't honor --with-binutils settings.
       [not found] <bug-11505-131@http.sourceware.org/bugzilla/>
@ 2012-12-19 10:51 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2012-12-19 10:51 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=11505

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper.fsp at gmail dot    |unassigned at sourceware
                   |com                         |dot org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-19 10:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-16 13:10 [Bug nptl/11505] New: nptl/sysdeps/x86_64 doesn't honor --with-binutils settings pluto at agmk dot net
2010-05-03 17:12 ` [Bug nptl/11505] " drepper at redhat dot com
2010-05-20 19:58 ` pluto at agmk dot net
2010-06-01  4:16 ` pasky at suse dot cz
     [not found] <bug-11505-131@http.sourceware.org/bugzilla/>
2012-12-19 10:51 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).