https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249121
Bug ID: 249121
Summary: program compiled with -pg produces ld-elf abort
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: gnu
Assignee: [email protected]
Reporter: [email protected]
Attempting to profile my code with gprof.
Currently compiling with clang with arguments;
-Weverything
-Werror
-Wpedantic
-O2
-g
-pg
Without -pg program runs perfectly fine. With -pg lib-elf haults with message
ld-elf.so.1: /lib/libc.so.7: Undefined symbol "__progname".
On FreeBSD-12.1-p8 I received a different error of unsupported relocation type
37 in non-plt relocations with the same compile options on the same executable.
I have attached the executable compiled with pg and no pg.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"