Skip to content

32bit fixes 20260423#83

Open
Cyanoxygen wants to merge 9 commits intomasterfrom
32bit-fixes-20260423
Open

32bit fixes 20260423#83
Cyanoxygen wants to merge 9 commits intomasterfrom
32bit-fixes-20260423

Conversation

@Cyanoxygen
Copy link
Copy Markdown
Member

@Cyanoxygen Cyanoxygen commented Apr 23, 2026

  • Add AB_FLAGS_ATOMIC switch to add -latomic to CFLAGS, CXXFLAGS and LDFLAGS.
  • Prepend CPPFLAGS to CFLAGS and CXXFLAGS for CMake as it does not process ENV{CPPFLAGS}.
  • Add AB_FLAGS_Y2038 switch to add -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 to CPPFLAGS.

@Cyanoxygen Cyanoxygen force-pushed the 32bit-fixes-20260423 branch from a8781c5 to c9bfc9d Compare April 23, 2026 07:09
@Cyanoxygen
Copy link
Copy Markdown
Member Author

image

Tested good on i486.

image

No regression found on amd64.

@Cyanoxygen Cyanoxygen force-pushed the 32bit-fixes-20260423 branch from c9bfc9d to 186b566 Compare April 23, 2026 07:33
@Cyanoxygen Cyanoxygen force-pushed the 32bit-fixes-20260423 branch from 186b566 to a862668 Compare April 23, 2026 07:39
@Cyanoxygen
Copy link
Copy Markdown
Member Author

Cyanoxygen commented Apr 23, 2026

image

CMake (cppdap) requires -latomic. This is when AB_FLAGS_ATOMIC__I486=1.

@Cyanoxygen
Copy link
Copy Markdown
Member Author

Hold please - current solution does not allow AB_FLAG_Y2038 overrides in the defines files. Some packages may have their own file64 and time64 handling, and should have the transparent LFS support disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants