Repository navigation
Conversation
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
d4d0f72 to
950ac84
Compare
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Claude Code review (CERIT, model
|
Found by the platform probe (#46): - Apple clang rejects -ffat-lto-objects, so no release build worked on macOS. The flag is now added only where the compiler accepts it. - f128 without GCC's libquadmath (clang, arm64 macOS) failed on a bare 'quadmath.h not found'; it now stops with a message naming the leaf type and how to build another. (The GMP include-order fix that was part of this commit landed on devel separately as 3755811.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
Apple clang accepts the flag alone and rejects it only alongside -flto, so the check passed there and the build still failed (seen in #46). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
-lquadmath was added to every link whenever the default LEAF_FLOAT_TYPE is f128, GMP builds included. macOS has no libquadmath, so buddy_gmp failed to link there (seen in #46). GMP links now use CLIBS_GMP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
950ac84 to
bc090c2
Compare
…ailures under clang On top of the portability fixes (#47): macOS builds with the default flags again, and f128 is listed as an expected failure where there is no libquadmath. Ubuntu 20.04 is dropped: its GCC 9 cannot compile MoToBuddy, so 22.04 is the oldest supported release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM
Targets
devel(rebased on 28 Oct).These build failures were found by the platform probe in draft #46. Each one breaks a configuration that
tests.yml(GCC 13 on Ubuntu 24.04) can't see.1. GMP leaf type on GCC 14+ and clang: now on
develThis PR originally added
<stdio.h>before every<gmp.h>.develhas since fixed the same failure in the two headers that need it (3755811), so that part was dropped from this PR in the rebase.2. No release build on macOS
Apple clang rejects
-ffat-lto-objects, which every release build passed, so nothing built on a Mac withoutLTO=0.The Makefile now adds the flag only where the compiler accepts it, checked once per
makerun. The check passes-fltotoo, because Apple clang accepts-ffat-lto-objectson its own and rejects it only together with-flto. GCC and clang 18 still get the flag.3. f128 without libquadmath
Under clang (Linux or macOS), and on arm64 macOS in general, building f128 failed on a bare
'quadmath.h' file not found. It now stops with:f128 stays the default leaf type, so nothing changes where it builds today.
4. GMP builds linked libquadmath
-lquadmathwas added to every link whenever the default leaf type is f128, GMP builds included. macOS has no libquadmath, sobuddy_gmpfailed to link there.The GMP links now use
CLIBS_GMP, which leaves libquadmath out. Verified locally: the GMP binary no longer depends on libquadmath, andtest_unit_leaf_gmppasses.Result
In #46, every leaf type now builds and passes on all of the following, except f128 under clang, which stops with the error above:
Not included
bddcalcexample. This is fixed upstream in VeriFIT/MoToBuddy@acc4c26, and MEDUSA picks it up with the pin bump in build: bump MoToBuddy to acc4c26 (no flex/bison needed) #50.caselabels. That's still the case atacc4c26, so GCC 11 (Ubuntu 22.04) remains the minimum.Both belong upstream in MoToBuddy or in the README. Ubuntu 20.04 is dropped from #46.
#46 is stacked on this branch, so its matrix checks these fixes across the platforms.
🤖 Generated with Claude Code
https://claude.ai/code/session_012q87VyzNBV8gtH2ntMeKoM