public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/45915] New: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd
@ 2010-10-06 19:06 gcc-tgc at jupiterrise dot com
2011-01-05 16:46 ` [Bug other/45915] " ro at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: gcc-tgc at jupiterrise dot com @ 2010-10-06 19:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45915
Summary: Check for gnu_unique_object in ld.so in
gcc/configure.ac is broken for non-glibc ldd
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gcc-tgc@jupiterrise.com
Host: i386-pc-solaris2.8
While building gcc-4.6-20101002 with this configure invocation:
./gcc-4.6-20101002/configure --prefix=/usr/tgcware/gcc46 --with-gnu-as
--with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--disable-nls --enable-shared --enable-languages=c,c++,fortran,ada
Where gas is from binutils 2.20.1 (Blastwave build).
I noticed this output:
checking assembler for gnu_unique_object... yes
expr: syntax error
/export/home/pkgsrc/build/gcc-4.6-20101002/gcc/configure: test: : integer
expression expected
Looking in gcc/configure.ac beginning in line 3840 is the problem.
It runs 'ldd --version' and expects output that can be parsed into an integer.
This fails on Solaris and $glibcmajor is empty when expr tries to do math with
it causing the error above to be printed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/45915] Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd
2010-10-06 19:06 [Bug other/45915] New: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd gcc-tgc at jupiterrise dot com
@ 2011-01-05 16:46 ` ro at gcc dot gnu.org
2011-01-06 18:33 ` ro at gcc dot gnu.org
2011-01-06 18:34 ` ro at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-01-05 16:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45915
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2011-01/msg00233.htm
| |l
Last reconfirmed| |2011.01.05 16:44:40
CC| |ro at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |ro at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-01-05 16:44:40 UTC ---
Mine, patch posted.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/45915] Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd
2010-10-06 19:06 [Bug other/45915] New: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd gcc-tgc at jupiterrise dot com
2011-01-05 16:46 ` [Bug other/45915] " ro at gcc dot gnu.org
@ 2011-01-06 18:33 ` ro at gcc dot gnu.org
2011-01-06 18:34 ` ro at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-01-06 18:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45915
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2011-01-06 18:29:41 UTC ---
Author: ro
Date: Thu Jan 6 18:29:39 2011
New Revision: 168546
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168546
Log:
PR other/45915
* configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
--version output if supported.
* configure: Regenerate.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/gcc/configure.ac
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/45915] Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd
2010-10-06 19:06 [Bug other/45915] New: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd gcc-tgc at jupiterrise dot com
2011-01-05 16:46 ` [Bug other/45915] " ro at gcc dot gnu.org
2011-01-06 18:33 ` ro at gcc dot gnu.org
@ 2011-01-06 18:34 ` ro at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-01-06 18:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45915
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> 2011-01-06 18:32:10 UTC ---
Fixed for 4.6.0.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-06 18:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 19:06 [Bug other/45915] New: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd gcc-tgc at jupiterrise dot com
2011-01-05 16:46 ` [Bug other/45915] " ro at gcc dot gnu.org
2011-01-06 18:33 ` ro at gcc dot gnu.org
2011-01-06 18:34 ` ro at gcc dot gnu.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).