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)
Mon, Oct 13, 5:14 PM
Unknown Object (File)
Thu, Oct 9, 8:29 PM
Unknown Object (File)
Thu, Oct 2, 10:47 AM
Unknown Object (File)
Thu, Oct 2, 10:29 AM
Unknown Object (File)
Thu, Oct 2, 9:11 AM
Unknown Object (File)
Thu, Oct 2, 2:08 AM
Unknown Object (File)
Thu, Oct 2, 2:07 AM
Unknown Object (File)
Wed, Oct 1, 10:23 PM
Subscribers
None

Details

Summary

riscv-gcc 6.1 does not support that option

Diff Detail

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

Event Timeline

br added a reviewer: lwhsu.
sys/conf/kern.opts.mk
78 โ†—(On Diff #27313)

Does this work?

BROKEN_OPTIONS forces WITH_* options to off

sys/conf/kern.opts.mk
78 โ†—(On Diff #27313)

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.