This is a gcc 8.0+ warning which needed to be silenced on for the riscv build. amd64-xtoolchain-gcc still uses gcc 6.4.0 and does not understand this flag.
Details
Details
- Reviewers
imp lwhsu asomers - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) - Commits
- rGbe3bbda216c5: Don't add -Wno-class-memaccess with older gcc.
rS350827: Don't add -Wno-class-memaccess with older gcc.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This is breaking the xtoolchain CI jobs https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/10997/
tests/sys/fs/fusefs/Makefile | ||
---|---|---|
71 ↗ | (On Diff #60604) | Lose the extra indirection. It's not needed and bogus. |
Comment Actions
I added that flag to make the riscv build happy. Have you tested your change through a riscv buildworld?
Comment Actions
I completely misunderstood what was going on. The in .. excludes gcc 4.2.1 and this is a gcc 8.0+ warning. The incorrect copy and paste meant it worked by accident for 6.4. I'm testing a new version now...