[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-07 Thread jakub at gcc dot gnu dot org


--- Comment #8 from jakub at gcc dot gnu dot org  2009-01-07 22:49 ---
Subject: Bug 38092

Author: jakub
Date: Wed Jan  7 22:49:29 2009
New Revision: 143169

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143169
Log:
PR libstdc++/38092
* acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
* src/compatibility.cc: Don't use .symver directives if
_GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
* config.h.in: Regenerated.
* configure: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/config.h.in
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/src/compatibility.cc


-- 


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-07 Thread ro at techfak dot uni-bielefeld dot de


--- Comment #7 from ro at techfak dot uni-bielefeld dot de  2009-01-07 
17:35 ---
Subject: Re:  [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19
and Sun as: no .symver support

jakub at gcc dot gnu dot org writes:

> I see, does this extra hunk (incremental patch) fix it?

Looks good so far: the libgomp testsuite is mostly clean, and libstdc++-v3
testing suffers from another (unrelated) problem only:

FAIL: 18_support/bad_typeid/cons_virtual_derivation.cc (test for excess errors)
Excess errors:
/vol/gcc/lib/gld-2.19: warning: section `.bss' type changed to PROGBITS

This seems to be due to a Sun as bug (already reported).

I'll let the make check run to completion, but it seems that both this PR
and libgomp/38086 are fixed now.

Thanks a lot.

Rainer


-- 


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-07 Thread jakub at gcc dot gnu dot org


--- Comment #6 from jakub at gcc dot gnu dot org  2009-01-07 14:52 ---
Created an attachment (id=17048)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17048&action=view)
gcc44-pr38092-2.patch

I see, does this extra hunk (incremental patch) fix it?


-- 


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-07 Thread ro at techfak dot uni-bielefeld dot de


--- Comment #5 from ro at techfak dot uni-bielefeld dot de  2009-01-07 
14:41 ---
Subject: Re:  [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19
and Sun as: no .symver support

ro at techfak dot uni-bielefeld dot de writes:

> Sure: I've applied it to the same source tree, moved the
> sparc-sun-solaris2.11/libstdc++-v3 and
> sparc-sun-solaris2.11/sparcv9/libstdc++-v3 directories asside and restarted
> the build/test.

doesn't look good so far: while libstdc++-v3 now builds, e.g. all
libgomp.c++ tests fail like so:

FAIL: libgomp.c++/atomic-1.C  -O0  (test for excess errors)
Excess errors:
/vol/gccsrc/obj/gcc-4.4.0-20090106/11-gcc-gld/sparc-sun-solaris2.11/./libgomp/../libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::basic_istream
>::ignoreXX()'
/vol/gccsrc/obj/gcc-4.4.0-20090106/11-gcc-gld/sparc-sun-solaris2.11/./libgomp/../libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::basic_istream
>::ignore(int)'
/vol/gccsrc/obj/gcc-4.4.0-20090106/11-gcc-gld/sparc-sun-solaris2.11/./libgomp/../libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::basic_istream
>::ignore(int)'
/vol/gccsrc/obj/gcc-4.4.0-20090106/11-gcc-gld/sparc-sun-solaris2.11/./libgomp/../libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::basic_istream
>::ignoreXX()'

Rainer


-- 


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-07 Thread ro at techfak dot uni-bielefeld dot de


--- Comment #4 from ro at techfak dot uni-bielefeld dot de  2009-01-07 
13:26 ---
Subject: Re:  [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19
and Sun as: no .symver support

jakub at gcc dot gnu dot org writes:

> Rainer, can you please test also this patch?

Sure: I've applied it to the same source tree, moved the
sparc-sun-solaris2.11/libstdc++-v3 and
sparc-sun-solaris2.11/sparcv9/libstdc++-v3 directories asside and restarted
the build/test.

Rainer


-- 


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-07 Thread jakub at gcc dot gnu dot org


--- Comment #3 from jakub at gcc dot gnu dot org  2009-01-07 12:31 ---
Created an attachment (id=17046)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17046&action=view)
gcc44-pr38092.patch

Rainer, can you please test also this patch?


-- 


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2008-12-29 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-12-24 04:18:59 |2008-12-29 22:48:51
   date||


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2008-12-29 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P1


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



[Bug libstdc++/38092] [4.2/4.3/4.4 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2008-12-23 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-12-24 04:18 ---
Confirmed, caused by:
r108748 | bkoz | 2005-12-18 04:39:23 -0500 (Sun, 18 Dec 2005) | 23 lines

2005-12-18  Benjamin Kosnik  

* config/abi/post: New.
* config/abi/*-linux-gnu: Move to..
* config/abi/post/*-linux-gnu: ... here.
* config/abi/pre: New.
* config/linker-map.gnu: Move to ..
* config/abi/pre/gnu.ver: ... here.
* config/linker-map.dummy: Move to..
* config/abi/pre/none.ver: ... here.
* src/Makefile.am: Use ENABLE_SYMVERS_GNU,
ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
* src/Makefile.in: Regnerate.
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
placement of abi baseline files.
(GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
ENABLE_SYMVERS_DARWIN.  SYMVER_MAP to SYMVER_FILE.
* configure: Regnerate.
* config.h.in: Regnerate.
* src/compatibility.cc: Adjust macro usage.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||bkoz at redhat dot com
   Severity|normal  |major
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||build
   Last reconfirmed|-00-00 00:00:00 |2008-12-24 04:18:59
   date||
Summary|libstdc++ doesn't build with|[4.2/4.3/4.4 Regression]
   |GNU ld 2.19 and Sun as: no  |libstdc++ doesn't build with
   |.symver support |GNU ld 2.19 and Sun as: no
   ||.symver support
   Target Milestone|--- |4.2.5


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