[Bug 192686] Segfaults using combinations of -pie -pthread -lm(|_p) when profiling

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 5 19:02:10 UTC 2021


--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
My attempts to build with -pie -fPIE -pg on -CURRENT fail to link with errors

ld: error: cannot preempt symbol: _DYNAMIC
>>> defined in 
>>> referenced by crt1_c.c:61 (/usr/home/emaste/src/freebsd-git/laptop/lib/csu/amd64/crt1_c.c:61)
>>>               /usr/lib/gcrt1.o:(_start)

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-threads mailing list