Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9766: boost >= 1.54 failes to compile with gcc-4.8.2 and LTO enabled
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-25 12:29:25
#9766: boost >= 1.54 failes to compile with gcc-4.8.2 and LTO enabled
-------------------------------+---------------------
Reporter: steffen@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Comment (by steffen@â¦):
I tried to compile it under OpenSUSE 13.1 (gcc 4.8.1) on another system
(also Core i7 Sandy Bridge) and it failed there with the same error.
Then I tried to compile it on my older computer under Ubuntu 14.04 (AMd
Athlon X2 4600), and it failed with an internal compiler error, I guess
due to the lack of AVX support in that old CPU:
{{{
libs/log/src/dump_avx2.cpp: In function
â_ZN5boost3log11v2_mt_posix3aux20dump_data_wchar_avx2EPKvmRSt13basic_ostreamIwSt11char_traitsIwEE.part.4â:
libs/log/src/dump_avx2.cpp:260:6: warning: AVX vector return without AVX
enabled changes the ABI [-Wpsabi]
void dump_data_wchar_avx2(const void* data, std::size_t size,
std::basic_ostream< wchar_t >& strm)
^
libs/log/src/dump_avx2.cpp:260:6: internal compiler error: in
convert_move, at expr.c:316
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
}}}
Did you use my user-config.jam? Then bjam should have called g++ with
"-flto=5" option. You can see the compiler options in the output lines of
bjam. I'll file a bug report for this to GCC and give you the id.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9766#comment:8> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC