public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/31906]  New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
@ 2007-05-12  2:53 prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-05-12  4:32 ` [Bug libstdc++/31906] " prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-05-12  2:53 UTC (permalink / raw)
  To: gcc-bugs

My glibc is installed in an unusual place, so before building, I edited the
top-level Makefile.in to set:
LDFLAGS_FOR_TARGET = -Xlinker --dynamic-linker -Xlinker
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library/ld-linux.so.2
-L/nil -Xlinker -R -Xlinker
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library

The build makes it through the bootstrap, but when building libstdc++,
-Xcompile has somehow been inserted between -Xlinker and --dynamic-linker.  The
"make bootstrap" output ends with:

/bin/sh ../libtool --tag CXX --mode=link
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc/xgcc
-shared-libgcc
-B/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc
-nostdinc++
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/bin/
-B/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/lib/
-isystem
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/include
-isystem
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/sys-include
-Wl,-O1 -Wl,-z,relro -Wl,--gc-sections  -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections   '-Xlinker' -Xcompiler '--dynamic-linker'
'-Xlinker'
'/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library/ld-linux.so.2'
'-L/nil' '-Xlinker' '-R' '-Xlinker'
'/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library'
-o libstdc++.la -rpath
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/lib
-version-info 6:9:0 -Wl,--version-script=libstdc++-symbols.ver -lm 
bitmap_allocator.lo pool_allocator.lo mt_allocator.lo codecvt.lo
compatibility.lo complex_io.lo ctype.lo debug.lo debug_list.lo functexcept.lo
globals_io.lo ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo list.lo
locale.lo locale_init.lo locale_facets.lo localename.lo stdexcept.lo
strstream.lo tree.lo allocator-inst.lo concept-inst.lo fstream-inst.lo
ext-inst.lo ios-inst.lo iostream-inst.lo istream-inst.lo istream.lo
locale-inst.lo misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo
streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo wstring-inst.lo
atomicity.lo codecvt_members.lo collate_members.lo ctype_members.lo
messages_members.lo monetary_members.lo numeric_members.lo time_members.lo
basic_file.lo c++locale.lo  ../libmath/libmath.la
../libsupc++/libsupc++convenience.la -lm 

/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc/xgcc
-shared-libgcc
-B/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc
-nostdinc++
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/bin/
-B/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/lib/
-isystem
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/include
-isystem
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/prefix/i686-pc-linux-gnu/sys-include
-shared -nostdlib
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library/crti.o
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc/crtbeginS.o
 .libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o
.libs/codecvt.o .libs/compatibility.o .libs/complex_io.o .libs/ctype.o
.libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_io.o
.libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o
.libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o
.libs/locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/strstream.o
.libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o
.libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o .libs/istream-inst.o
.libs/istream.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream-inst.o
.libs/sstream-inst.o .libs/streambuf-inst.o .libs/streambuf.o
.libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-inst.o
.libs/wstring-inst.o .libs/atomicity.o .libs/codecvt_members.o
.libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o
.libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o
.libs/basic_file.o .libs/c++locale.o -Wl,--whole-archive
../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a
-Wl,--no-whole-archive 
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/nil -lm ../libmath/.libs/libmath.a -lm
../libsupc++/.libs/libsupc++convenience.a -lm
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc
-L/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library
-lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s  
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/./gcc/crtendS.o
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library/crtn.o
 -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections -Wl,-Xcompiler
-Wl,/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library/ld-linux.so.2
-Wl,-R
-Wl,/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/glibc/library
-Wl,--version-script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 -o
.libs/libstdc++.so.6.0.9
/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/conf/binutils/command/ld:
cannot open linker script file ompiler: No such file or directory
collect2: ld returned 1 exit status
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory
`/fs/pkgs/mount/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/fs/pkgs/mount/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/fs/pkgs/mount/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/fs/pkgs/mount/package/host/code.dogmap.org/foreign/gcc-4.2.0-20070501+spf+0/compile/src/build'
make: *** [bootstrap] Error 2

This does not happen with previous versions of gcc.


-- 
           Summary: "-Xcompiler" is inserted after "-Xlinker" when building
                    libstdc++
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: prj-bugzilla-gcc at multivac dot cwru dot edu
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-05-12  4:32 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-05-12  4:52 ` mrs at apple dot com
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-05-12  4:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-05-12 05:31 -------
Created an attachment (id=13545)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13545&action=view)
complete build output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-05-12  4:32 ` [Bug libstdc++/31906] " prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-05-12  4:52 ` mrs at apple dot com
  2007-05-12  6:34 ` zackw at panix dot com
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: mrs at apple dot com @ 2007-05-12  4:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mrs at apple dot com  2007-05-12 05:51 -------
Can you work around it with the -Xlinker,-arg1,val1,-arg2,val2 syntax?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-05-12  4:32 ` [Bug libstdc++/31906] " prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-05-12  4:52 ` mrs at apple dot com
@ 2007-05-12  6:34 ` zackw at panix dot com
  2007-05-12 22:00 ` prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: zackw at panix dot com @ 2007-05-12  6:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zackw at panix dot com  2007-05-12 07:34 -------
I believe Mike means to suggest you use -Wl,yada,yada,yada instead of -Xlinker
yada -Xlinker yada -Xlinker yada.  (I also suspect this will help.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (2 preceding siblings ...)
  2007-05-12  6:34 ` zackw at panix dot com
@ 2007-05-12 22:00 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-07-04 15:35 ` pcarlini at suse dot de
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-05-12 22:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-05-12 23:00 -------
Yes, -Wl works around the problem for me (as long as none of the linker flags
to be passed contain ",").


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (3 preceding siblings ...)
  2007-05-12 22:00 ` prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-07-04 15:35 ` pcarlini at suse dot de
  2007-07-05 19:23 ` prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pcarlini at suse dot de @ 2007-07-04 15:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pcarlini at suse dot de  2007-07-04 15:34 -------
Therefore, can we close the PR?


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zackw at panix dot com
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (4 preceding siblings ...)
  2007-07-04 15:35 ` pcarlini at suse dot de
@ 2007-07-05 19:23 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-07-05 19:46 ` pcarlini at suse dot de
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-07-05 19:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-07-05 19:23 -------
I've found the problem.  The libtool-ldflags script inserts -Xcompiler for any
argument starting with "-f" or "--", even if that argument was already quoted
with -Xlinker/-Xcompiler/-Xpreprocessor.  I'll work on a patch tonight.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (5 preceding siblings ...)
  2007-07-05 19:23 ` prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-07-05 19:46 ` pcarlini at suse dot de
  2007-07-06  2:52 ` prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pcarlini at suse dot de @ 2007-07-05 19:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pcarlini at suse dot de  2007-07-05 19:46 -------
Great. Thanks a lot.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (6 preceding siblings ...)
  2007-07-05 19:46 ` pcarlini at suse dot de
@ 2007-07-06  2:52 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-07-06 12:06 ` pcarlini at suse dot de
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-07-06  2:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-07-06 02:52 -------
Created an attachment (id=13854)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13854&action=view)
fix overquoting in libtool-ldflags


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (7 preceding siblings ...)
  2007-07-06  2:52 ` prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-07-06 12:06 ` pcarlini at suse dot de
  2007-07-14 23:42 ` prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pcarlini at suse dot de @ 2007-07-06 12:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pcarlini at suse dot de  2007-07-06 12:06 -------
Thanks for the patch. Care of adding a ChangeLog entry and posting it to
gcc-patches for public review? Thanks again.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (8 preceding siblings ...)
  2007-07-06 12:06 ` pcarlini at suse dot de
@ 2007-07-14 23:42 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-07-14 23:51 ` pcarlini at suse dot de
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-07-14 23:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-07-14 23:41 -------
(Mark: this is a build bug that was introduced in 4.2.0.)
I've verified that this patch still works with 4.2.1-RC-20070712.  I'm guessing
it's too late, but is there any chance of this getting in for 4.2.1?


-- 

prj-bugzilla-gcc at multivac dot cwru dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com
             Status|WAITING                     |UNCONFIRMED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (9 preceding siblings ...)
  2007-07-14 23:42 ` prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-07-14 23:51 ` pcarlini at suse dot de
  2007-07-15 19:27 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: pcarlini at suse dot de @ 2007-07-14 23:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pcarlini at suse dot de  2007-07-14 23:51 -------
I advice against committing anything to 4_2-branch, at this time. In any case,
we don't have a regression wrt 4.2.0 - only wrt 4.1.x if confirmed - and we
have a workaround.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (11 preceding siblings ...)
  2007-07-15 19:27 ` mmitchel at gcc dot gnu dot org
@ 2007-07-15 19:27 ` mark at codesourcery dot com
  2007-09-05  4:49 ` prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: mark at codesourcery dot com @ 2007-07-15 19:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mark at codesourcery dot com  2007-07-15 19:27 -------
Subject: Re:  "-Xcompiler" is inserted after "-Xlinker"
 when building libstdc++

pcarlini at suse dot de wrote:
> ------- Comment #11 from pcarlini at suse dot de  2007-07-14 23:51 -------
> I advice against committing anything to 4_2-branch, at this time. In any case,
> we don't have a regression wrt 4.2.0 - only wrt 4.1.x if confirmed - and we
> have a workaround.

I agree.  I'd certainly like to see this fixed in 4.2.2 (or whatever the
version number ends up being for the release following 4.2.1) but I
don't think we should make this change for 4.2.1, at this very late date.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (10 preceding siblings ...)
  2007-07-14 23:51 ` pcarlini at suse dot de
@ 2007-07-15 19:27 ` mmitchel at gcc dot gnu dot org
  2007-07-15 19:27 ` mark at codesourcery dot com
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-15 19:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |4.2.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (12 preceding siblings ...)
  2007-07-15 19:27 ` mark at codesourcery dot com
@ 2007-09-05  4:49 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-09-13  5:08 ` prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-09-05  4:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-09-05 04:49 -------
(In reply to comment #12)
> I'd certainly like to see this fixed in 4.2.2

Will someone be reviewing and committing this before 4.2.2?  I posted it to
gcc-patches with a ChangeLog entry, but there was no response:
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00920.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (13 preceding siblings ...)
  2007-09-05  4:49 ` prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-09-13  5:08 ` prj-bugzilla-gcc at multivac dot cwru dot edu
  2007-09-18 22:55 ` bkoz at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2007-09-13  5:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from prj-bugzilla-gcc at multivac dot cwru dot edu  2007-09-13 05:07 -------
This bug is still present, and my patch still works, in 4.2.2-RC-20070909.  If
it's too late (again) to go in this release, is there anything more I can do to
make it more likely to be fixed in the next release?  I've prepared a patch and
ChangeLog entry (copied below).  Should I prod some particular person at some
particular time to get it reviewed and applied?

        * libtool-ldflags: Don't prefix arguments with -Xcompiler if
        they're already prefixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug libstdc++/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (14 preceding siblings ...)
  2007-09-13  5:08 ` prj-bugzilla-gcc at multivac dot cwru dot edu
@ 2007-09-18 22:55 ` bkoz at gcc dot gnu dot org
  2007-09-20  7:02 ` [Bug bootstrap/31906] " bonzini at gnu dot org
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2007-09-18 22:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from bkoz at gcc dot gnu dot org  2007-09-18 22:55 -------

This should be cc'd to a build system maintainer, not libstdc++, which is only
peripherally involved.

I suggest Alexandre Oliva or Paolo Bonzoni.

-benjamin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (15 preceding siblings ...)
  2007-09-18 22:55 ` bkoz at gcc dot gnu dot org
@ 2007-09-20  7:02 ` bonzini at gnu dot org
  2007-09-20 10:20 ` paolo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bonzini at gnu dot org @ 2007-09-20  7:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from bonzini at gnu dot org  2007-09-20 07:02 -------
Ok for both 4.2 and 4.3.  BTW, the best way to prod people is to post on
gcc-patches (putting the full PR name, e.g. PR bootstrap/31906, in the title),
and set the URL field in the PR.

Thanks!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (16 preceding siblings ...)
  2007-09-20  7:02 ` [Bug bootstrap/31906] " bonzini at gnu dot org
@ 2007-09-20 10:20 ` paolo at gcc dot gnu dot org
  2007-10-09 19:26 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-09-20 10:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from paolo at gcc dot gnu dot org  2007-09-20 10:20 -------
Subject: Bug 31906

Author: paolo
Date: Thu Sep 20 10:20:05 2007
New Revision: 128617

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128617
Log:
2007-09-20  Paul Jarc  <prj-bugzilla-gcc@multivac.cwru.edu>

        PR bootstrap/31906
        * libtool-ldflags: Don't prefix arguments with -Xcompiler if
        they're already prefixed.


Modified:
    trunk/ChangeLog
    trunk/libtool-ldflags


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (17 preceding siblings ...)
  2007-09-20 10:20 ` paolo at gcc dot gnu dot org
@ 2007-10-09 19:26 ` mmitchel at gcc dot gnu dot org
  2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from mmitchel at gcc dot gnu dot org  2007-10-09 19:21 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.2                       |4.2.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (18 preceding siblings ...)
  2007-10-09 19:26 ` mmitchel at gcc dot gnu dot org
@ 2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
  2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jsm28 at gcc dot gnu dot org  2008-02-01 16:54 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (19 preceding siblings ...)
  2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
  2008-07-04 19:42 ` [Bug bootstrap/31906] [4.2 Regression] " jsm28 at gcc dot gnu dot org
  2009-03-30 21:48 ` jsm28 at gcc dot gnu dot org
  22 siblings, 0 replies; 24+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] [4.2 Regression] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (20 preceding siblings ...)
  2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
@ 2008-07-04 19:42 ` jsm28 at gcc dot gnu dot org
  2009-03-30 21:48 ` jsm28 at gcc dot gnu dot org
  22 siblings, 0 replies; 24+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 19:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from jsm28 at gcc dot gnu dot org  2008-07-04 19:41 -------
Mark as regression (4.2-only) in summary.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"-Xcompiler" is inserted    |[4.2 Regression] "-
                   |after "-Xlinker" when       |Xcompiler" is inserted after
                   |building libstdc++          |"-Xlinker" when building
                   |                            |libstdc++


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

* [Bug bootstrap/31906] [4.2 Regression] "-Xcompiler" is inserted after "-Xlinker" when building libstdc++
  2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
                   ` (21 preceding siblings ...)
  2008-07-04 19:42 ` [Bug bootstrap/31906] [4.2 Regression] " jsm28 at gcc dot gnu dot org
@ 2009-03-30 21:48 ` jsm28 at gcc dot gnu dot org
  22 siblings, 0 replies; 24+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 21:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from jsm28 at gcc dot gnu dot org  2009-03-30 21:48 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to fail|                            |4.2.5
      Known to work|                            |4.3.0
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31906


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

end of thread, other threads:[~2009-03-30 21:48 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-12  2:53 [Bug libstdc++/31906] New: "-Xcompiler" is inserted after "-Xlinker" when building libstdc++ prj-bugzilla-gcc at multivac dot cwru dot edu
2007-05-12  4:32 ` [Bug libstdc++/31906] " prj-bugzilla-gcc at multivac dot cwru dot edu
2007-05-12  4:52 ` mrs at apple dot com
2007-05-12  6:34 ` zackw at panix dot com
2007-05-12 22:00 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2007-07-04 15:35 ` pcarlini at suse dot de
2007-07-05 19:23 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2007-07-05 19:46 ` pcarlini at suse dot de
2007-07-06  2:52 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2007-07-06 12:06 ` pcarlini at suse dot de
2007-07-14 23:42 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2007-07-14 23:51 ` pcarlini at suse dot de
2007-07-15 19:27 ` mmitchel at gcc dot gnu dot org
2007-07-15 19:27 ` mark at codesourcery dot com
2007-09-05  4:49 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2007-09-13  5:08 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2007-09-18 22:55 ` bkoz at gcc dot gnu dot org
2007-09-20  7:02 ` [Bug bootstrap/31906] " bonzini at gnu dot org
2007-09-20 10:20 ` paolo at gcc dot gnu dot org
2007-10-09 19:26 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:57 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
2008-07-04 19:42 ` [Bug bootstrap/31906] [4.2 Regression] " jsm28 at gcc dot gnu dot org
2009-03-30 21:48 ` jsm28 at gcc dot gnu dot 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).