[yocto] Boost build failure for x32 target in thud
mabnhdev at gmail.com
Wed May 1 03:44:00 PDT 2019
I'm trying to upgrade my project from sumo to thud.
I'm targeting an x86_64 machine with the x32 ABI.
Boost do_compile() fails with several instances like the following.
fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
| compilation terminated.
| ...failed updating 6 targets...
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
ERROR: Task (/home/mabnhdev/boost-issue-x32-repro/meta/recipes-support/boost/boost_1.68.0.bb:do_compile)
failed with exit code '1'
The failure can be reproduced by trying to build boost for an
'intel-corei7-64' machine with 'x86-64-x32' default tuning.
The attached simple bash script will reproduce the problem.
I'd appreciate some guidance towards fixing this issue.
More information about the yocto