Opened 5 years ago
Last modified 5 years ago
#13154 new Bugs
Error compiling pthread/thread.o on Oracle Linux with Oracle compiler and stdlib=sun-stlport
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.63.0 | Severity: | Problem |
Keywords: | oracle stlport | Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.
Patch: