Skip to content

Conversation

@fosslinux
Copy link
Owner

As a part of linting each distfile used in live-bootstrap using problematic-source, I of course came across some (many?) things in GCC. Also updated GCC where relevant.

Summary:

  • every GCC version had a number of unused generated files in the tree
    • I want to document these anyway, but the question is, should we remove them anyway? There are a lot of them. Is the clutter to the scripts worth it?
    • it does avoid an xz-style attack

No huge misses were found, but there were a lot of small generated files found here and there.
The only problematic one was decDPD.h, which is actually used and had no information about how it was made. After a bit of searching, I found the original generating script in an obsolete language OORexx, and ported it to C.

@fosslinux fosslinux force-pushed the gcc-fixes branch 2 times, most recently from 63bca64 to 4c761fc Compare February 4, 2025 23:48
@fosslinux fosslinux force-pushed the gcc-fixes branch 2 times, most recently from 17f3919 to 23ace62 Compare February 5, 2025 11:07
@fosslinux fosslinux merged commit dfb3ae0 into master Feb 7, 2025
6 checks passed
@fosslinux fosslinux deleted the gcc-fixes branch February 7, 2025 05:48
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.

4 participants