<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - gcc 4.9.0 fails to compile libcxx"
   href="http://llvm.org/bugs/show_bug.cgi?id=19773">19773</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>gcc 4.9.0 fails to compile libcxx
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>oroppas@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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];
                           ^</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>