On Thu, Dec 21 2017, Jeremie Courreges-Anglas <[email protected]> wrote:
> On Fri, Dec 15 2017, Landry Breuil <[email protected]> wrote:
>> On Thu, Dec 14, 2017 at 10:58:11PM +0100, Rafael Sadowski wrote:
>>> Hi All!
>>>
>>> After a long time and many setbacks I'm happy to send this mail. Please find
>>> attached a diff as tarball to update boost to the latest stable version
>>> 1.65.1.
>>>
>>> Notable port changes.
>>>
>>> - Of course bump all shared libs from 6.0 to 7.0.
>>> - COMPILER= base-clang ports-gcc (Replace ONLY_FOR_ARCHS)
>>
>>
>> Fwiw i fully support this moving on, eventual fallout can be dealt later
>> in-tree. But how much was it built-tested on a ports-gcc arch, at least
>> macppc|sparc64 ? :)
>
> Using Rafael's second tarball, it builds and packages fine on sparc64,
> games/bastet builds and runs (using ports-gcc or ports-clang, btw).
> The machine I'm doing tests on doesn't have much resources so don't
> expect more results.
net/powerdns also seems to build fine on sparc64.
> For $reasons I have not tried building the updated boost on arm yet,
> tarball currently unpacking...
Fails to build on arm. I don't understand why sparc64 is fine but arm
isn't, both use ports-gcc. The symbols could be found in libunwind, or
we could disable the backtrace functionality.
--8<--
===> Building for boost-1.65.1
cd /usr/obj/pobj/boost-1.65.1/boost_1_65_1 && chmod -R a+x ./ && /bin/sh
./bootstrap.sh --with-bjam=/usr/obj/pobj/boost-1.65.1/boost_1_65_1/bjam
--with-toolset=gcc --with-python-root=/usr/local --without-icu
--without-libraries=context,coroutine,fiber
--with-python=/usr/local/bin/python2.7 --with-python-version=2.7 && ./b2
-sICONV_PATH=/usr/local -sBZIP2_INCLUDE=/usr/local/include
-sBZIP2_LIBPATH=/usr/local/lib -q -j1 --layout=tagged pch=off cflags='-O2
-pipe -pthread' cxxflags='-O2 -pipe -pthread' variant=release
link=static,shared threading=single,multi python=2.7 && /bin/sh
./bootstrap.sh --with-bjam=/usr/obj/pobj/boost-1.65.1/boost_1_65_1/bjam
--with-toolset=gcc --with-python-root=/usr/local --without-icu
--without-libraries=context,coroutine,fiber
--with-python=/usr/local/bin/python3.6 --with-python-version=3.6 && ./b2
-sICONV_PATH=/usr/local -sBZIP2_INCLUDE=/usr/local/include
-sBZIP2_LIBPATH=/usr/local/lib -q -j1 --layout=tagged pch=off cflags='-O2
-pipe -pthread' cxxflags='-O2 -pipe -pthread' variant=release
link=static,shared threading=single,multi python=3.6
Unicode/ICU support for Boost.Regex?... disabled.
Backing up existing Boost.Build configuration in project-config.jam.3
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html
- Boost.Build documentation:
http://www.boost.org/build/doc/html/index.html
Performing configuration checks
- 32-bit : yes (cached)
- arm : yes (cached)
Building the Boost C++ Libraries.
- symlinks supported : yes (cached)
- has_icu builds : no (cached)
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
- zlib : yes (cached)
- bzip2 : yes (cached)
- lzma : no (cached)
warning: Skipping Boost.Locale library with threading=single.
- native-atomic-int32-supported : yes (cached)
- native-syslog-supported : yes (cached)
- pthread-supports-robust-mutexes : no (cached)
- compiler-supports-visibility : yes (cached)
- gcc visibility : yes (cached)
- long double support : yes (cached)
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
- libbacktrace builds : no (cached)
- addr2line builds : yes (cached)
- WinDbg builds : no (cached)
- WinDbgCached builds : no (cached)
warning: Skipping Boost.Thread library with threading=single.
- lockfree boost::atomic_flag : yes (cached)
warning: Skipping Boost.Wave library with threading=single.
- zlib : yes (cached)
- bzip2 : yes (cached)
- lzma : no (cached)
- iconv (libc) : no (cached)
- iconv (separate) : yes (cached)
- icu : no (cached)
- icu (lib64) : no (cached)
- zlib : yes (cached)
- bzip2 : yes (cached)
- lzma : no (cached)
- zlib : yes (cached)
- bzip2 : yes (cached)
- lzma : no (cached)
Component configuration:
- atomic : building
- chrono : building
- container : building
- context : not building
- coroutine : not building
- date_time : building
- exception : building
- fiber : not building
- filesystem : building
- graph : building
- graph_parallel : building
- iostreams : building
- locale : building
- log : building
- math : building
- metaparse : building
- mpi : building
- program_options : building
- python : building
- random : building
- regex : building
- serialization : building
- signals : building
- stacktrace : building
- system : building
- test : building
- thread : building
- timer : building
- type_erasure : building
- wave : building
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...found 16593 targets...
...updating 1434 targets...
gcc.compile.c++
bin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off/addr2line.o
g++ -finline-functions -Wno-inline -Wall -pedantic -O2 -pipe -pthread -O2 -pipe
-pthread -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I. -c -o
bin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off/addr2line.o
libs/stacktrace/build/../src/addr2line.cpp
In file included from ./boost/stacktrace/safe_dump_to.hpp:213,
from ./boost/stacktrace/frame.hpp:20,
from ./boost/stacktrace/detail/frame_unwind.ipp:15,
from libs/stacktrace/build/../src/addr2line.cpp:15:
./boost/stacktrace/detail/collect_unwind.ipp: In static member function 'static
size_t boost::stacktrace::detail::this_thread_frames::collect(const void**,
size_t, size_t)':
./boost/stacktrace/detail/collect_unwind.ipp:59: error: '::_Unwind_Backtrace'
has not been declared
echo "g++" -finline-functions -Wno-inline -Wall -pedantic -O2 -pipe
-pthread -O2 -pipe -pthread -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off/addr2line.o"
"libs/stacktrace/build/../src/addr2line.cpp"
"g++" -finline-functions -Wno-inline -Wall -pedantic -O2 -pipe -pthread
-O2 -pipe -pthread -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off/addr2line.o"
"libs/stacktrace/build/../src/addr2line.cpp"
...failed gcc.compile.c++
bin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off/addr2line.o...
...skipped
<pbin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off>libboost_stacktrace_addr2line.a
for lack of
<pbin.v2/libs/stacktrace/build/gcc-4.2.1/release/link-static/pch-off>addr2line.o...
...failed updating 1 target...
...skipped 1 target...
*** Error 1 in . (Makefile:144 'do-build')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2738
'/usr/obj/pobj/boost-1.65.1/.build_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1938
'/usr/ports/packages/arm/all/boost-1.65.1.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2440
'_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'package')
*** Error 1 in /usr/ports/devel/boost
(/usr/ports/infrastructure/mk/bsd.port.mk:3421 'repackage')
-->8--
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE