NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/57321



The following reply was made to PR toolchain/57321; it has been noted by GNATS.

From: Jim Spath <jspath55%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/57321
Date: Mon, 3 Apr 2023 20:15:47 -0400

 In addition to the reported case, these c++ tests appear related since
 they fail with similar error messages.
 
     usr.bin/c++/t_call_once:call_once_pic_profile
     usr.bin/c++/t_call_once:call_once_profile
     usr.bin/c++/t_call_once2:call_once2_static
     usr.bin/c++/t_cxxruntime:cxxruntime_pic_profile
     usr.bin/c++/t_cxxruntime:cxxruntime_profile
     usr.bin/c++/t_hello:hello_pic_profile
     usr.bin/c++/t_hello:hello_profile
     usr.bin/c++/t_pthread_once:pthread_once_pic_profile
     usr.bin/c++/t_pthread_once:pthread_once_profile
     usr.bin/c++/t_static_destructor:static_destructor_pic_profile
     usr.bin/c++/t_static_destructor:static_destructor_profile
 
 The failures were on Pi02W.
 
 [...]
 tp-start: 1680567184.485467, ./usr.bin/c++/t_static_destructor, 1
 tc-start: 1680567184.485537, static_destructor_profile
 tc-so:Executing command [ c++ -static -pg -o hello test.cpp ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:
 tc-se:stderr:
 tc-se:ld: /tmp//cckFfFOi.o: in function `__gthread_trigger()':
 tc-se:test.cpp:(.text+0xc): undefined reference to `__gnu_mcount_nc'
 tc-se:ld: /tmp//cckFfFOi.o: in function `main':
 tc-se:test.cpp:(.text+0x40): undefined reference to `__gnu_mcount_nc'
 tc-se:ld: /tmp//cckFfFOi.o: in function
 `__static_initialization_and_destruction_0(int, int)':
 tc-se:test.cpp:(.text+0x80): undefined reference to `__gnu_mcount_nc'
 tc-se:ld: /tmp//cckFfFOi.o: in function `_GLOBAL__sub_I_main':
 tc-se:test.cpp:(.text+0xe8): undefined reference to `__gnu_mcount_nc'
 tc-se:ld: /tmp//cckFfFOi.o: in function `A::A(int)':
 tc-se:test.cpp:(.text._ZN1AC2Ei[_ZN1AC5Ei]+0x10): undefined reference
 to `__gnu_mcount_nc'
 tc-se:ld: /tmp//cckFfFOi.o:test.cpp:(.text._ZN1AD2Ev[_ZN1AD5Ev]+0x10):
 more undefined references to `__gnu_mcount_nc' follow
 tc-se:
 tc-end: 1680567188.824901, static_destructor_profile, failed,
 atf-check failed; see the output of the test for details
 tp-end: 1680567188.878218, ./usr.bin/c++/t_static_destructor
 info: time.end, Tue Apr 4 00:13:08 UTC 2023
 



Home | Main Index | Thread Index | Old Index