This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/13393] New: Fix for bug 7926 causes broken header install on x86_64


This problem is present in the libstdc++ that is bundled with both gcc 3.3.1 and
3.3.2.  I haven't checked CVS.  gcc 3.2.3, at least, doesn't have this problem,
because it was introduced as a fix for bug 7926, which seems to have only been
fixed in the 3.3 tree.

I'm building a cross compiler for x86_64 on an x86 box.  The build insists on
picking up libstdc++-v3/config/cpu/i486/atomicity.h, which the cross version of
binutils I'm using (2.14.90.0.5, dated around August this year) chokes on.

The resulting breakage is easy to miss, since atomicity.h is not used during the
build of libstdc++, and is rarely used by C++ programs in general.  I found the
bug while running the Perennial C++ test suite, which had multiple compile
failures due to the assembler choking on the syntax in that include file.

My local fix was basically to revert the fix for bug 7926.

-- 
           Summary: Fix for bug 7926 causes broken header install on x86_64
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bos at serpentine dot com
                CC: bkoz at redhat dot com,gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: x86_64-*-*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]