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, Mar 30, 10:48 AM
Unknown Object (File)
Sun, Mar 29, 8:06 AM
Unknown Object (File)
Sat, Mar 28, 6:04 AM
Unknown Object (File)
Fri, Mar 27, 7:32 PM
Unknown Object (File)
Wed, Mar 25, 4:41 PM
Unknown Object (File)
Thu, Mar 19, 6:53 AM
Unknown Object (File)
Tue, Mar 17, 11:42 PM
Unknown Object (File)
Tue, Mar 17, 11:42 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.