[Bug 195994] New: Perl dynamic linking -R/usr/local/lib/perl5/5.18/mach/CORE, unknown option to clang
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 15 11:48:47 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195994
Bug ID: 195994
Summary: Perl dynamic linking
-R/usr/local/lib/perl5/5.18/mach/CORE, unknown option
to clang
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: vladimir.nikolic at amis.net
Hello,
perl (any version) default build, makes dynamic linking against
-R/usr/local/lib/perl5/5.18/mach/CORE:
# perl -V
...
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.18/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib
-fstack-protector'
...
Because of that, net-snmpd is built with:
# net-snmp-config --agent-libs
-L/usr/lib -lm -lkvm -ldevstat -lpkg -L/usr/local/lib -L/lib -L/usr/local/lib
-lnetsnmpmibs -lnetsnmpagent -lwrap -Wl,-R/usr/local/lib/perl5/5.18/mach/CORE
-lnetsnmp -lcrypto -lelf -lssp_nonshared
which causes cyrus-imapd build to fail with error:
cc: error: unknown argument: '-R/usr/local/lib/perl5/5.18/mach/CORE'
*** Error code 1
Stop.
make[3]: stopped in
/var/ports/usr/ports/mail/cyrus-imapd23/work/cyrus-imapd-2.3.18/master
*** Error code 1
Stop.
make[2]: stopped in
/var/ports/usr/ports/mail/cyrus-imapd23/work/cyrus-imapd-2.3.18
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/mail/cyrus-imapd23
*** Error code 1
Stop.
make: stopped in /usr/ports/mail/cyrus-imapd23
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list