NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/56961: compiling profiled userland code (-static -pg) does not work evbarm
>Number: 56961
>Category: toolchain
>Synopsis: compiling profiled userland code (-static -pg) does not work evbarm
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 09 09:25:00 +0000 2022
>Originator: Martin Husemann
>Release: NetBSD 9.99.99
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 9.99.99 NetBSD 9.99.99 (UNPLUGED) #449: Tue Aug 9 09:35:45 CEST 2022 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earmv5
Machine: evbarm
>Description:
Here is output from the t_hello test that tries to exercise -static -pg
compilation:
tc-start: 1660036664.722507, hello_profile
tc-so:Executing command [ cc -static -o hello -pg test.c ]
tc-se:Fail: incorrect exit status: 1, expected: 0
tc-se:stdout:
tc-se:
tc-se:stderr:
tc-se:ld: /tmp//ccHqUrbD.o: in function `main':
tc-se:test.c:(.text+0xc): undefined reference to `__gnu_mcount_nc'
tc-se:ld: /usr/lib/libc_p.a(initfini.po): in function `_dlauxinfo':
tc-se:initfini.c:(.text+0x4): undefined reference to `__gnu_mcount_nc'
tc-se:ld: /usr/lib/libc_p.a(initfini.po): in function `_libc_init':
tc-se:initfini.c:(.text.startup+0x8): undefined reference to `__gnu_mcount_nc'
tc-se:ld: /usr/lib/libc_p.a(tls.po): in function `_rtld_tls_allocate':
tc-se:tls.c:(.text+0xc): undefined reference to `__gnu_mcount_nc'
tc-se:ld: /usr/lib/libc_p.a(tls.po): in function `_rtld_tls_free':
tc-se:tls.c:(.text+0xd0): undefined reference to `__gnu_mcount_nc'
tc-se:ld: /usr/lib/libc_p.a(tls.po):tls.c:(.text+0x104): more undefined references to `__gnu_mcount_nc' follow
tc-se:
tc-end: 1660036667.364088, hello_profile, failed, atf-check failed; see the output of the test for details
tp-end: 1660036667.367092, t_hello
>How-To-Repeat:
cd /usr/tests/usr.bin/cc && atf-run t_hello
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index