[SERVER-23200] Where did --enable-new-dtags come from in the ppc64le build Created: 17/Mar/16  Updated: 19/Jul/16  Resolved: 12/Jul/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Question Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 12 (04/01/16), Platforms 17 (07/15/16)
Participants:

 Description   

See https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_enterprise_rhel71_ppc64le_compile_28399f947dda32a33509ddaebc650b0aa95fa0dd_16_03_16_19_55_22/0?type=T#L1392

Where did --enable-new-dtags come from? Or the rpath /usr/lib64/perl5 thing come from?

They aren't anywhere in our SConscript, or the evergreen.yml file, yet they appear on the build line.



 Comments   
Comment by Githook User [ 12/Jul/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23200 Don't let snmp config spam the LINKFLAGS
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/8ff963da697eb378c4f4190afd647800c73567b1

Comment by Jonathan Reams [ 17/Mar/16 ]

This behavior is certainly unexpected, but seems to be the normal way to link against net-snmp on this version/distro of Linux.

Comment by Jonathan Reams [ 17/Mar/16 ]

These actually come from the enterprise module linking against netsnmp. We call net-snmp-config --agent-libs to get the flags to link against net-snmp, and on rhel71 ppc64le, that adds

-Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -lwrap -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -lnetsnmp -lssl -lssl -lcrypto -lm

to our link line.

Generated at Thu Feb 08 04:02:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.