Page MenuHomeFreeBSD

Turn off -Werror for gcc 4.2.1
ClosedPublic

Authored by imp on Aug 23 2019, 3:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 11:36 PM
Unknown Object (File)
Sun, Nov 2, 1:33 AM
Unknown Object (File)
Sun, Oct 26, 8:39 AM
Unknown Object (File)
Sun, Oct 19, 3:42 AM
Unknown Object (File)
Oct 15 2025, 7:37 AM
Unknown Object (File)
Oct 14 2025, 2:21 AM
Unknown Object (File)
Oct 13 2025, 5:29 PM
Unknown Object (File)
Oct 11 2025, 6:41 AM
Subscribers

Details

Summary

As part of marching gcc 4.2.1 out of the tree, turn off -Werror on gcc 4.2.1
compiles by default. It generates too many false positives and breaks CI
for no benefit.

Discussed on: arch@

this was spurred on by the stupid const cast away DECONST patches.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26032
Build 24577: arc lint + arc unit

Event Timeline

imp edited the summary of this revision. (Show Details)
sys/conf/kern.pre.mk
96

here and below need to kill trailing ).

sys/conf/kern.pre.mk
97

convention says there should be a tab here (and below) will do (from allanjude)

Passes MALTA kernel build.
Passes MALTA64 kernel build.
Passes powerpc GENERIC build.

add Turn off -Werror for gcc 4.2.1 for userland

This revision is now accepted and ready to land.Aug 23 2019, 3:51 PM
This revision was automatically updated to reflect the committed changes.