Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286840 - dev-lang/perl-5.10.1 patch 0005 hardcodes GNU linker specifics
Summary: dev-lang/perl-5.10.1 patch 0005 hardcodes GNU linker specifics
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.10.1
  Show dependency tree
 
Reported: 2009-09-28 19:46 UTC by Fabian Groffen
Modified: 2009-09-29 06:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
perl-5.10.1-prefix-soname.patch (perl-5.10.1-prefix-soname.patch,1.57 KB, patch)
2009-09-28 19:46 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2009-09-28 19:46:06 UTC
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -o libperl.5.10.1.dylib -dynamiclib -compatibility_version 5.10.0 -current_version 5.10.1                       -install_name /Library/Gentoo/usr/lib/perl5/5.10.1/powerpc-darwi/CORE/libperl.5.10.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 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 xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o   DynaLoader.o -ldl -lm -lc  -Wl,-soname -Wl,libperl.so.`echo libperl.5.10.1.dylib | cut -d. -f3,4`
ld: unknown option: -soname

as you can see, the perl buildsystem already has something in place to set the soname (install_name on Darwin), hence consider the attached patch which is more portable and doesn't break builds on various Prefix arches
Comment 1 Fabian Groffen gentoo-dev 2009-09-28 19:46:48 UTC
Created attachment 205531 [details, diff]
perl-5.10.1-prefix-soname.patch
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-09-28 20:29:55 UTC
patch added to -7.
Thanks