[LLVMbugs] [Bug 19773] New: gcc 4.9.0 fails to compile libcxx

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 17 23:19:23 PDT 2014


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

            Bug ID: 19773
           Summary: gcc 4.9.0 fails to compile libcxx
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: oroppas at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

Following is the error message dumped by gcc-4.9.0:

[251/2216] Building CXX object
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o
FAILED: /usr/bin/c++   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dcxx_EXPORTS -march=native
-mtune=native  -pipe -fstack-protector --param=ssp-buffer-size=4  -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -std=c++11
-ffunction-sections -fdata-sections -nostdinc++ -Werror=return-type -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wno-long-long -Wno-error -pedantic  -O3
-DNDEBUG -fPIC -Iprojects/libcxx/lib
-I/home/ryuta/tools/llvm/src/llvm/projects/libcxx/lib -Iinclude
-I/home/ryuta/tools/llvm/src/llvm/include
-I/home/ryuta/tools/llvm/src/llvm/projects/libcxx/include    -fPIC -MMD -MT
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -MF
"projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o.d" -o
projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o -c
/home/ryuta/tools/llvm/src/llvm/projects/libcxx/src/locale.cpp
In file included from
/home/ryuta/tools/llvm/src/llvm/projects/libcxx/src/locale.cpp:18:0:
/home/ryuta/tools/llvm/src/llvm/projects/libcxx/include/string: In function
‘std::__1::string* std::__1::init_weeks()’:
/home/ryuta/tools/llvm/src/llvm/projects/libcxx/include/string:1895:1: error:
inlining failed in call to always_inline ‘std::__1::basic_string<_CharT,
_Traits, _Allocator>::basic_string() [with _CharT = char; _Traits =
std::__1::char_traits<char>; _Allocator = std::__1::allocator<char>]’: function
body not available
 basic_string<_CharT, _Traits, _Allocator>::basic_string()
 ^
/home/ryuta/tools/llvm/src/llvm/projects/libcxx/src/locale.cpp:4444:27: error:
called from here
     static string weeks[14];
                           ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140518/c9d9a6ed/attachment.html>


More information about the llvm-bugs mailing list