[Bug gold/14342] New: [gold] symbol 'std::__once_callable' used as both __thread and non-__thread

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug gold/14342] New: [gold] symbol 'std::__once_callable' used as both __thread and non-__thread

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View Threaded | Show Only this Message

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

             Bug #: 14342
           Summary: [gold] symbol 'std::__once_callable' used as both
                    __thread and non-__thread
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian@...
        ReportedBy: vincenzo.innocente@...
                CC: ccoutant@...
    Classification: Unclassified


crospost from gcc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53895

with
GNU gold (GNU Binutils 2.22.52.20120515) 1.11
and a recent gcc
gcc version 4.7.2 20120629 (prerelease) [gcc-4_7-branch revision 189081] (GCC)
gcc version 4.8.0 20120708 (experimental) [trunk revision 189362] (GCC)

I get

c++ thread.cpp -pthread -std=gnu++0x -O2 -flto
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: error:
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib64/libstdc++.so:
symbol 'std::__once_call' used as both __thread and non-__thread
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: /tmp/innocent/ccd0XlxC.o:
previous definition here
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: error:
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib64/libstdc++.so:
symbol 'std::__once_callable' used as both __thread and non-__thread
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: /tmp/innocent/ccd0XlxC.o:
previous definition here
collect2: error: ld returned 1 exit status

works w/o lto or with BFD linker.

Please refers to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53895 for details
and code example

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

_______________________________________________
bug-binutils mailing list
bug-binutils@...
https://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gold/14342] [gold] symbol 'std::__once_callable' used as both __thread and non-__thread

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View Threaded | Show Only this Message

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

Octoploid <cryptooctoploid at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cryptooctoploid at gmail
                   |                            |dot com

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

_______________________________________________
bug-binutils mailing list
bug-binutils@...
https://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gold/14342] [gold] symbol 'std::__once_callable' used as both __thread and non-__thread

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View Threaded | Show Only this Message

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

Saleem Abdulrasool <compnerd at compnerd dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |compnerd at compnerd 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.

_______________________________________________
bug-binutils mailing list
bug-binutils@...
https://lists.gnu.org/mailman/listinfo/bug-binutils