public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/51026] New: Bootstrap failure due to libstdc++ on x86_64-darwin11
@ 2011-11-08  8:06 fxcoudert at gcc dot gnu.org
  2011-11-08  8:11 ` [Bug libstdc++/51026] " fxcoudert at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-08  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51026
           Summary: Bootstrap failure due to libstdc++ on x86_64-darwin11
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: blocker
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fxcoudert@gcc.gnu.org
                CC: amacleod@redhat.com
              Host: x86_64-apple-darwin11
            Target: x86_64-apple-darwin11
             Build: x86_64-apple-darwin11


Bootstrap currently fails on x86_64-apple-darwin11 due to a problem in building
libstdc++.6.dylib:

ld: duplicate symbol std::atomic_thread_fence(std::memory_order) in
.libs/functexcept.o and .libs/compatibility-atomic-c++0x.o for architecture
x86_64
collect2: error: ld returned 1 exit status
make[5]: *** [libstdc++.la] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2


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

* [Bug libstdc++/51026] Bootstrap failure due to libstdc++ on x86_64-darwin11
  2011-11-08  8:06 [Bug libstdc++/51026] New: Bootstrap failure due to libstdc++ on x86_64-darwin11 fxcoudert at gcc dot gnu.org
@ 2011-11-08  8:11 ` fxcoudert at gcc dot gnu.org
  2011-11-08 10:11 ` [Bug libstdc++/51026] [4.7 Regression] " burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-08  8:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-08 08:06:07 UTC ---
Should have added: this is with trunk revision , and probably due to

2011-11-07  Andrew MacLeod  <amacleod@redhat.com>

        * include/bits/atomic_base.h (atomic_thread_fence): Revert.
        (atomic_signal_fence): Revert.

2011-11-07  Andrew MacLeod  <amacleod@redhat.com>

        * include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
        (atomic_signal_fence): Call builtin.
        (atomic_flag::test_and_set): Call __atomic_exchange when it is
lockfree,
        otherwise fall back to call __sync_lock_test_and_set.
        (atomic_flag::clear): Call __atomic_store when it is lockfree,
        otherwise fall back to call __sync_lock_release.


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

* [Bug libstdc++/51026] [4.7 Regression] Bootstrap failure due to libstdc++ on x86_64-darwin11
  2011-11-08  8:06 [Bug libstdc++/51026] New: Bootstrap failure due to libstdc++ on x86_64-darwin11 fxcoudert at gcc dot gnu.org
  2011-11-08  8:11 ` [Bug libstdc++/51026] " fxcoudert at gcc dot gnu.org
@ 2011-11-08 10:11 ` burnus at gcc dot gnu.org
  2011-11-08 13:42 ` amacleod at redhat dot com
  2011-11-09 10:11 ` fxcoudert at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-11-08 10:11 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0
            Summary|Bootstrap failure due to    |[4.7 Regression] Bootstrap
                   |libstdc++ on                |failure due to libstdc++ on
                   |x86_64-darwin11             |x86_64-darwin11


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

* [Bug libstdc++/51026] [4.7 Regression] Bootstrap failure due to libstdc++ on x86_64-darwin11
  2011-11-08  8:06 [Bug libstdc++/51026] New: Bootstrap failure due to libstdc++ on x86_64-darwin11 fxcoudert at gcc dot gnu.org
  2011-11-08  8:11 ` [Bug libstdc++/51026] " fxcoudert at gcc dot gnu.org
  2011-11-08 10:11 ` [Bug libstdc++/51026] [4.7 Regression] " burnus at gcc dot gnu.org
@ 2011-11-08 13:42 ` amacleod at redhat dot com
  2011-11-09 10:11 ` fxcoudert at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: amacleod at redhat dot com @ 2011-11-08 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Macleod <amacleod at redhat dot com> 2011-11-08 13:32:51 UTC ---
Its fixed by the revert in that changelog to atomic_base.h.  The problem is
there is a missing dependency in the makefiles, which is how it got through in
the first place.. and incremental bootstrap failed to show an issue.  

if you touch libstdc++-v3/src/*.cc  the build should succeed.  OR start a
scratch build with that source.


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

* [Bug libstdc++/51026] [4.7 Regression] Bootstrap failure due to libstdc++ on x86_64-darwin11
  2011-11-08  8:06 [Bug libstdc++/51026] New: Bootstrap failure due to libstdc++ on x86_64-darwin11 fxcoudert at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-11-08 13:42 ` amacleod at redhat dot com
@ 2011-11-09 10:11 ` fxcoudert at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-09 10:11 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-09 10:09:53 UTC ---
Appears to be fixed.


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

end of thread, other threads:[~2011-11-09 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08  8:06 [Bug libstdc++/51026] New: Bootstrap failure due to libstdc++ on x86_64-darwin11 fxcoudert at gcc dot gnu.org
2011-11-08  8:11 ` [Bug libstdc++/51026] " fxcoudert at gcc dot gnu.org
2011-11-08 10:11 ` [Bug libstdc++/51026] [4.7 Regression] " burnus at gcc dot gnu.org
2011-11-08 13:42 ` amacleod at redhat dot com
2011-11-09 10:11 ` fxcoudert 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).