| Summary: | boost fails to compile for x86-64-x32 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | mabnhdev | ||||||
| Component: | bsps-meta-intel | Assignee: | akuster <akuster808> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | akuster808, akuster, mabnhdev, randy.macleod | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.7.4 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | other | ||||||||
| Whiteboard: | BACKPORT | ||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
Created attachment 4583 [details]
Bash script to repro the issue
I've attached a simple bash script that will reproduce this issue.
If I hack around the missing bits/long-double-64.h issue, I hit another issue.
|
| In file included from ./boost/random/detail/integer_log2.hpp:19,
| from ./boost/random/detail/large_arithmetic.hpp:19,
| from ./boost/random/detail/const_mod.hpp:23,
| from ./boost/random/detail/seed_impl.hpp:26,
| from ./boost/random/linear_feedback_shift.hpp:27,
| from ./boost/random/taus88.hpp:18,
| from libs/log/src/core.cpp:30:
| ./boost/pending/integer_log2.hpp:7:59: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead.
| BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
| ^
It would be good to add more tests on the autobuilder. The issue is the same in Zeus. To repro in Zeus, just modify the Repro script I supplied. sed -i 's/warrior/zeus/' <script> Looks like we dropped the patch to fix compiler flags when doing an upgrade. Patch sent to list. This was merged in zeus and master. Armin, can you please merge this in warrior as well? Backport needed to warrior too. (In reply to comment #5) > Looks like we dropped the patch to fix compiler flags when doing an upgrade. > Patch sent to list. is there a reference to the patch? (In reply to comment #8) > (In reply to comment #5) > > Looks like we dropped the patch to fix compiler flags when doing an upgrade. > > Patch sent to list. > > is there a reference to the patch? https://git.openembedded.org/openembedded-core/commit/meta/recipes-support/boost?h=zeus&id=ebbfe23acfbc820ad7b71c95539b5af97a8be49d requires fix to align with version in warrior. This is new work. closing |
Created attachment 4582 [details] Full log of boost do_compile. On Warrior MACHINE = "intel-corei7-64" DEFAULTTUNE = "x86-64-x32" The boost recipe fails to compile. The following is the typical error. | /home/mabnhdev/boost-x32-issue/boost-x32-issue-repro-work/build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory | #include <bits/long-double-64.h> | ^~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. I've enclosed the full log.