Subject: [Boost-bugs] [Boost C++ Libraries] #13154: Error compiling pthread/thread.o on Oracle Linux with Oracle compiler and stdlib=sun-stlport
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-09 12:40:34
#13154: Error compiling pthread/thread.o on Oracle Linux with Oracle compiler and
stdlib=sun-stlport
-------------------------------+---------------------------
Reporter: maxim.kartashev@⦠| Owner: Vladimir Prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
Version: Boost 1.63.0 | Severity: Problem
Keywords: oracle stlport |
-------------------------------+---------------------------
On Oracle Linux 7.3 with stdlib=sun-stlport:
sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-
stlport/threadin
g-multi/pthread/thread.o
"/usr/include/linux/sysinfo.h", line 21: Error: An array cannot have zero
size unless you use the option -features=zla.
1 Error(s) detected.
The compiler refuses to accept zero length array in -compat=5 mode
(required for stdlib=sun-stlport and =apache). A special option needs to
be added to the command line: -features=zla
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13154> 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-08-09 12:44:41 UTC