NetBSD-Bugs archive

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

re: bin/56031: binary compiled with -pg (profiling) segfaults if linked against shared library



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

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: re: bin/56031: binary compiled with -pg (profiling) segfaults if linked against shared library
Date: Wed, 03 Mar 2021 21:13:40 +1100

 this is a GCC specs issue.  profiling needs static, and it
 is not getting static due to missing spec.
 
 you should be able to work around this with explicit -static,
 but you can't use -pg and shlibs.  this is not supported.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index