public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/52104] New: go1 fails to link on Solaris 8/9 x86 with native TLS
@ 2012-02-03 10:04 ro at gcc dot gnu.org
  2012-02-03 10:05 ` [Bug libstdc++/52104] " ro at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: ro at gcc dot gnu.org @ 2012-02-03 10:04 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52104
           Summary: go1 fails to link on Solaris 8/9 x86 with native TLS
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: redi@gcc.gnu.org
              Host: i386-pc-solaris2.[89]
            Target: i386-pc-solaris2.[89]
             Build: i386-pc-solaris2.[89]


Between 20120120 (last build) and 20120202, go1 fails to link on Solaris 8 and
9/x86 when native TLS is in use (the as/ld combination isn't affected):

Undefined                       first referenced
 symbol                             in file
std::function<void ()>::function<void std::call_once<void (std::thread::*)(),
std::reference_wrapper<std::thread> >(std::once_flag&, void
(std::thread::*&&)(),
std::reference_wrapper<std::thread>&&)::{lambda()#1}>(void std::call_once<void
(std::thread::*)(), std::reference_wrapper<std::thread> >(std::once_flag&, void
(std::thread::*&&)(), std::reference_wrapper<std::thread>&&)::{lambda()#1},
std::enable_if<!std::is_integral<void std::call_once<void (std::thread::*)(),
std::reference_wrapper<std::thread> >(std::once_flag&, void
(std::thread::*&&)(),
std::reference_wrapper<std::thread>&&)::{lambda()#1}>::value,
std::function<void ()>::_Useless>::type)
/var/gcc/regression/trunk/8-gcc-gas/build/prev-i386-pc-solaris2.8/libstdc++-v3/src/.libs/libstdc++.a(future.o)
ld: fatal: Symbol referencing errors. No output written to go1
collect2: error: ld returned 1 exit status

  with COLLECT_NO_DEMANGLE=1:

Undefined                       first referenced
 symbol                             in file
_ZNSt8functionIFvvEEC1IZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS4_EEEvRSt9once_flagOT_DpOT0_EUlvE_EET_NSt9enable_ifIXntsrSt11is_integralISH_E5valueENS1_8_UselessEE4typeE
/var/gcc/regression/trunk/8-gcc-gas/build/prev-i386-pc-solaris2.8/libstdc++-v3/src/.libs/libstdc++.a(future.o)

I'm attaching the .ii and .s files for reference.

I suspect this patch

2012-02-01  Jonathan Wakely  <jwakely.gcc@gmail.com>

    PR libstdc++/49204
    * include/std/future (__future_base::_State_base::wait()): Use lambda
    expression for predicate and remove redundant test.

might be related, but haven't verified yet.

  Rainer


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

end of thread, other threads:[~2012-07-02 12:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 10:04 [Bug libstdc++/52104] New: go1 fails to link on Solaris 8/9 x86 with native TLS ro at gcc dot gnu.org
2012-02-03 10:05 ` [Bug libstdc++/52104] " ro at gcc dot gnu.org
2012-02-03 10:06 ` ro at gcc dot gnu.org
2012-02-03 10:12 ` redi at gcc dot gnu.org
2012-02-03 10:21 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-02-03 10:48 ` redi at gcc dot gnu.org
2012-02-03 10:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-02-03 11:09 ` redi at gcc dot gnu.org
2012-02-03 13:09 ` ro at gcc dot gnu.org
2012-02-05 18:40 ` ebotcazou at gcc dot gnu.org
2012-02-05 19:17 ` redi at gcc dot gnu.org
2012-02-05 23:27 ` ebotcazou at gcc dot gnu.org
2012-02-05 23:57 ` redi at gcc dot gnu.org
2012-02-06 21:37 ` redi at gcc dot gnu.org
2012-02-10 15:23 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-09 16:16 ` [Bug libstdc++/52104] go1 fails to run on Solaris 10/11 x86 with with gld ro at gcc dot gnu.org
2012-03-22  8:55 ` rguenth at gcc dot gnu.org
2012-07-02 12:57 ` rguenth 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).