Bug 222924 - vfork.S doesn't compile with -g --coverage
Summary: vfork.S doesn't compile with -g --coverage
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-arm mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 05:15 UTC by Enji Cooper
Modified: 2017-10-11 13:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 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 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)