[MacPorts] #51980: perl5: build fails on Sierra (library not found for -lgcc_s.10.4)
MacPorts
noreply at macports.org
Mon Aug 22 23:21:44 PDT 2016
#51980: perl5: build fails on Sierra (library not found for -lgcc_s.10.4)
-------------------------------------------------+-------------------------
Reporter: cdhanks@… | Owner: mojca@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sierra
Port: perl5 perl5.16 perl5.18 perl5.20 |
perl5.22 |
-------------------------------------------------+-------------------------
Comment (by mojca@…):
I can try to attach the patch again. I'm not sure why the patch for 5.16
would have fallen out.
But in any case I have a problem with the patch and I don't quite
understand why.
{{{
Adding -mmacosx-version-min=10.7 to ccflags
Adding -mmacosx-version-min=10.7 to ldflags
NOT adding -mmacosx-version-min=10.7 to ccflags ( -fno-common
-DPERL_DARWIN -mmacosx-version-min=10.7)
NOT adding -mmacosx-version-min=10.7 to ldflags ( -mmacosx-version-
min=10.7)
...
ld -o libperl.dylib -mmacosx-version-min=10.7 -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64 -fstack-protector
-dynamiclib -compatibility_version 5.18.0 -current_version 5.18.4
-install_name /opt/local/lib/perl5/5.18/darwin-thread-multi-
2level/CORE/libperl.dylib op.o perl.o gv.o toke.o perly.o pad.o
regcomp.o dump.o util.o mg.o reentr.o mro.o keywords.o hv.o av.o run.o
pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o
utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o
mathoms.o locale.o pp_pack.o pp_sort.o DynaLoader.o -ldl -lm -lutil -lc
ld: unknown option: -mmacosx-version-min=10.7
make: *** [libperl.dylib] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/51980#comment:39>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list