[LLVMbugs] [Bug 12947] New: Revision 155603 breaks Firefox build with libcxx

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 25 05:36:58 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12947

             Bug #: 12947
           Summary: Revision 155603 breaks Firefox build with libcxx
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: markus at trippelsdorf.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Revision 155603 breaks Firefox build with libcxx:
...
In file included from
/var/tmp/mozilla-central/xpcom/base/nsCycleCollector.cpp:95:
In file included from
/var/tmp/mozilla-central/ipc/chromium/src/base/process_util.h:24:
In file included from ../../dist/stl_wrappers/map:49:
In file included from ../../dist/system_wrappers/map:2:
In file included from /usr/include/c++/v1/map:371:
In file included from /usr/include/c++/v1/__tree:15:
In file included from ../../dist/stl_wrappers/iterator:49:
In file included from ../../dist/system_wrappers/iterator:2:
/usr/include/c++/v1/iterator:1231:8: error: visibility does not match previous
declaration
inline _LIBCPP_INLINE_VISIBILITY
       ^
/usr/include/c++/v1/__config:129:51: note: expanded from macro
'_LIBCPP_INLINE_VISIBILITY'
#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"),
__always_inline__))
                                                  ^
../../dist/system_wrappers/iterator:1:13: note: previous attribute is here
#pragma GCC visibility push(default)
            ^
...

Maybe "#pragma GCC visibility" should be stronger than
"__attribute__((__visibility__))"?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list