Page MenuHomeFreeBSD

Disable fformat-extensions on RISC-V
ClosedPublic

Authored by br on Apr 10 2017, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 7:09 PM
Unknown Object (File)
Thu, Jun 4, 6:17 PM
Unknown Object (File)
Thu, Jun 4, 2:07 PM
Unknown Object (File)
Thu, Jun 4, 9:37 AM
Unknown Object (File)
Thu, Jun 4, 12:01 AM
Unknown Object (File)
Mon, Jun 1, 5:42 PM
Unknown Object (File)
Mon, Jun 1, 4:42 PM
Unknown Object (File)
May 6 2026, 7:15 PM
Subscribers
None

Details

Summary

riscv-gcc 6.1 does not support that option

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br added a reviewer: lwhsu.
sys/conf/kern.opts.mk
78

Does this work?

BROKEN_OPTIONS forces WITH_* options to off

sys/conf/kern.opts.mk
78

Yes it works. I also surprised.

Oh I think this is actually affecting the MK_FORMAT_EXTENSIONS in sys/conf/kern.opts.mk and sys/conf/kern.mk, not the FORMAT_EXTENSIONS in bsd.sys.mk. Other kernel-related BROKEN_OPTIONS are defined in sys/conf/kern.opts.mk so BROKEN_OPTIONS+=FORMAT_EXTENSIONS should be there too?

This revision was automatically updated to reflect the committed changes.