]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
fix: toolchain build reproducibility — header ordering, libcody, specs, GNU-stack
authorTulio A M Mendes <[email protected]>
Fri, 3 Apr 2026 15:11:39 +0000 (12:11 -0300)
committerTulio A M Mendes <[email protected]>
Fri, 3 Apr 2026 15:11:39 +0000 (12:11 -0300)
commitac54401cc5abd8e50a738626c653c834c4eb7ffa
treefc34f42414f95f40a99bb7fb7893903954dacc54
parentf9c323c8ea045d46efb003331901f4ad16937ea1
fix: toolchain build reproducibility — header ordering, libcody, specs, GNU-stack

- Move AdrOS sysroot headers installation to AFTER Newlib install so
  Newlib's make install doesn't overwrite our custom sys/dirent.h
  (fixes DIR unknown type error on first build)
- Move Newlib header patching (sys/stat.h, sys/signal.h, sys/wait.h,
  glob.h) to after Newlib install (fixes sed on non-existent files)
- Keep libcody in GCC host_libs — required by cc1plus (C++ frontend)
- Add all-libcody to step 4 make targets
- Move specs file creation to after step 4 (GCC full install overwrites it)
- Add .note.GNU-stack to crti-adros.S (fixes executable stack warning)
- Fix *.h glob in libgloss/adros cp (no .h files exist)
- Add toolchain/build/ and toolchain/logs/ to .gitignore
- Update README.md: clarify patches/ are reference diffs, add native-toolchain.patch
.gitignore
toolchain/README.md
toolchain/build.sh