Bug 222924

Summary: vfork.S doesn't compile with -g --coverage
Product: Base System Reporter: Enji Cooper <ngie>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Enji Cooper freebsd_committer freebsd_triage 2017-10-11 05:15:07 UTC
Spotted when running make tinderbox on universe12a.freebsd.org:

===> lib/libc (obj,all,install)
/scratch/tmp/ngie/obj/arm64.aarch64/scratch/tmp/ngie/svn/tmp/usr/bin/ld: error: /scratch/tmp/ngie/svn/lib/libc/aarch64/sys/vfork.S:37: relocation R_AARCH64_CONDBR19 out of range
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- libc.so.7.full ---
*** [libc.so.7.full] Error code 1

make[6]: stopped in /scratch/tmp/ngie/svn/lib/libc
1 error

make[6]: stopped in /scratch/tmp/ngie/svn/lib/libc
Comment 1 Ed Maste freebsd_committer freebsd_triage 2017-10-11 13:43:57 UTC
This might need the same treatment as in r316624, r320136, but the general solution is waiting in a number of upstream LLD patches mentioned in https://wiki.freebsd.org/LLD (range extension thunks)