HomeFreeBSD

Address objtool check failures in lua module

Description

Address objtool check failures in lua module

The use of void attribute((noreturn)) in kernel builds
was causing lots of warnings if CONFIG_STACK_VALIDATION
is active. For now we just remove this attribute to achieve
clean builds for the Lua module. There was no significant
increase in the time to run the full channel_program ZTS tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Don Brady <don.brady@delphix.com>
Closes #7173

Details

Provenance
Don Brady <dev.fs.zfs@gmail.com>Authored on Feb 15 2018, 5:53 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 15 2018, 5:53 PM
Parents
rGec7c1b914c09: Clarify zinject(8) explanation of -e
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG62d5c5531334: Address objtool check failures in lua module (authored by Don Brady <dev.fs.zfs@gmail.com>).Feb 15 2018, 5:53 PM