All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] RFC: package/boost: build failure
@ 2022-11-07  6:38 Andreas Ziegler
  2022-11-07  8:24 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Ziegler @ 2022-11-07  6:38 UTC (permalink / raw)
  To: buildroot

Dear all,

package/boost currently fails to build for certain architectures (64bit 
w/ 128bit integer processing), resulting in the following build failure 
[1]:

/home/autobuild/autobuild/instance-4/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/include/boost/intrusive/hashtable.hpp: 
In static member function 'static std::size_t 
boost::intrusive::prime_list_holder<Dummy>::position(std::size_t, 
std::size_t)':
/home/autobuild/autobuild/instance-4/output-1/host/mips64-buildroot-linux-gnu/sysroot/usr/include/boost/intrusive/hashtable.hpp:222:69: 
error: 'sizes' was not declared in this scope; did you mean 'size'?
   222 |          return fastmod_u32(hash, inv_sizes32[size_index], 
uint32_t(sizes[size_index]));
       |                                                                  
    ^~~~~
       |                                                                  
    size

The development branch of boost/intrusive contains a fix for this 
failure which, unfortunately, is rather longish [2]. Easy extraction of 
the relevant part of the patch is not possible, due to massive changes 
to the whole code.

I can think of three options to deal with this issue:

   (1) Use the commit [2] as is, even if it changes more than the failing 
code
   (2) Create a custom diff for prime_list_holder::position()
   (3) Live with the failure until boost 1.81 is released

Incidence rate of (3) is low; numbers (1) and (2) both deviate from the 
Buildroot preferred approach, so my question would be: how to proceed 
here?

Kind regards,
Andreas

[1] 
http://autobuild.buildroot.net/results/6cb/6cbc0672f3c5046405793d8cdc8f961d2ffb1d3e
[2] 
https://github.com/boostorg/intrusive/commit/825aedad557b7e3bb27614335b6ced16887103de
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-07  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07  6:38 [Buildroot] RFC: package/boost: build failure Andreas Ziegler
2022-11-07  8:24 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.