On Thu, Jan 22, 2026 at 02:21:09PM +0000, Klemens Nanni wrote:
> 19.01.2026 18:07, visa@openbsd.org пишет:
> > bulk build on octeon.ports.openbsd.org
> > started on Wed Jan 7 16:47:18 UTC 2026
> > finished at Tue Jan 13 07:12:20 UTC 2026
> > lasted 06D14h25m
> > done with kern.version=OpenBSD 7.8-current (GENERIC.MP) #120: Mon Dec 29 00:57:14 MST 2025
> >
> > built packages:8646
> > Jan 7:1442
> > Jan 8:1815
> > Jan 9:2029
> > Jan 10:605
> > Jan 11:355
> > Jan 12:398
> > Jan 13:2001
> >
> >
> > build failures: 81
>
> > http://build-failures.rhaalovely.net/mips64/2026-01-07/devel/boost.log
> The very first clang++ invocation fails:
>
> | > clang++ -x c++ -std=c++11 -pthread -Wno-deprecated-declarations -DNDEBUG bindjam.cpp [...] -o b2
> | [...]
> | bindjam.cpp:(.text+0x600): relocation truncated to fit: R_MIPS_CALL16 against `b2::value* b2::jam::to_jam<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)'
> | bindjam.cpp:(.text+0x61c): additional relocation overflows omitted from the output
> | clang++: error: linker command failed with exit code 1 (use -v to see invocation)
>
> I switched to ports-gcc, now it's been building for hours.
>
> Assuming it packages: Feedback? OK?
boost publically exposes C++ libs with ABI details encoded. That
doesn't work very well when mixing compilers. I suspect that passing
-mlong-calls to the b2 compilation (do-configure) should be enough,
but I'm not sure how to do that.
--
jca
No comments:
Post a Comment