HomeFreeBSD

Put in a workaround for bug 196407 (arm modules cause crashes & panics).

Description

Put in a workaround for bug 196407 (arm modules cause crashes & panics).

When we started compiling the kernel with -march=armv7 the compiler
started emitting new types of relocation info which are incompatible with
the shared-lib file format used by .ko modules. This workaround prevents
the compiler from emitting the instruction sequences that require the
new relocs. This amounts to using an undocumented internal compiler
flag, so this is just a temporary workaround while we look for a good fix.

PR: 196407

Details

Provenance
ianAuthored on
Parents
rS276524: libelf: Return an error instead of asserting on an invalid ar file
Branches
Unknown
Tags
Unknown

Event Timeline