===> vinum ld -Bshareable -d -warn-common -o vinum.ko.debug vinum.kld /usr/libexec/elf/ld: vinum.kld: @gprel relocation against dynamic symbol total_malloced /usr/libexec/elf/ld: vinum.kld: @gprel relocation against dynamic symbol highwater /usr/libexec/elf/ld: vinum.kld: @gprel relocation against dynamic symbol total_malloced /usr/libexec/elf/ld: vinum.kld: @gprel relocation against dynamic symbol total_malloced /usr/libexec/elf/ld: vinum.kld: @gprel relocation against dynamic symbol highwater *** Error code 1 Current work-around: removed from build
Responsible Changed From-To: freebsd-bugs->freebsd-ia64 Oops. Forgot to assign it to ia64 Same applies to bktr.
State Changed From-To: open->closed The problem with the @gprel relocation was related to the fact that we compiled with short data and without -fpic. As a result, the compiler assumed it could create @gprel relocations to access data objects placed in the short data (.sdata or .sbss) sections. The fix is to disable short data for kernel builds (including modules).