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
F163222435: D21378.id61165.diff
Tue, Jul 21, 5:00 AM
F163137691: D21378.id.diff
Mon, Jul 20, 10:38 AM
F163128079: D21378.id61162.diff
Mon, Jul 20, 8:12 AM
Unknown Object (File)
Sun, Jul 19, 10:13 PM
Unknown Object (File)
Sat, Jul 18, 3:22 PM
Unknown Object (File)
Sat, Jul 11, 8:08 PM
Unknown Object (File)
Tue, Jun 23, 11:00 PM
Unknown Object (File)
Jun 21 2026, 4:03 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp edited the summary of this revision. (Show Details)
sys/conf/kern.pre.mk
96 ↗(On Diff #61162)

here and below need to kill trailing ).

sys/conf/kern.pre.mk
97 ↗(On Diff #61162)

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.