Bug 256749 - ref machines do not have profiling libraries
Summary: ref machines do not have profiling libraries
Status: Open
Alias: None
Product: Services
Classification: Unclassified
Component: Core Infrastructure (show other bugs)
Version: unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: Cluster Admin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-21 15:13 UTC by Ed Maste
Modified: 2021-06-21 16:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2021-06-21 15:13:51 UTC
As part of the process of disabling profiling (PROFILE option) support by default I wanted to verify that it operates as I expect today, but the ref*.freebsd.org machines do not have the _p libraries installed:

ref13-amd64% cc -pg -O0 profil.c
/usr/local/bin/x86_64-unknown-freebsd13.0-ld: cannot find -lgcc_p
/usr/local/bin/x86_64-unknown-freebsd13.0-ld: cannot find -lgcc_eh_p
/usr/local/bin/x86_64-unknown-freebsd13.0-ld: cannot find -lc_p
/usr/local/bin/x86_64-unknown-freebsd13.0-ld: cannot find -lgcc_p
/usr/local/bin/x86_64-unknown-freebsd13.0-ld: cannot find -lgcc_eh_p
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 Philip Paeps freebsd_committer 2021-06-21 16:14:58 UTC
I don't think we build the _p libraries for cluster builds.  I'll take a look.
Comment 2 Philip Paeps freebsd_committer 2021-06-21 16:21:36 UTC
As I suspected ... we've had this for a while:

make-10.conf:WITHOUT_PROFILE=	yes
make-11.conf:WITHOUT_PROFILE=	yes
make-12.conf:WITHOUT_PROFILE=	yes
make-13.conf:WITHOUT_PROFILE=	yes
make-14.conf:WITHOUT_PROFILE=	yes

I can probably turn this on for the next cluster build.  The trade off is some additional build time and disk space.