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: 2016-02-13 23:19:43
#9766: boost >= 1.54 failes to compile with gcc-4.8.2 and LTO enabled
-------------------------------+---------------------
Reporter: steffen@⦠| Owner: andysem
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: log
Version: Boost 1.54.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+---------------------
Comment (by steve@â¦):
This isn't a GCC bug. Use of -march is expected to produce code suitable
for *only* the target CPU architecture. Usage of -march or other -m flags
to enable features from within build-systems is incorrect usage of the
compiler. The build-system should detect which features are available on
the configured compiler, not the other way around. Generic code should be
generated with with a specific minimum requirement in mind, but should
always be limited to whatever the build toolchain is constrained by.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9766#comment:17> 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:19 UTC