Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430984 - dev-lang/perl fails to build with -Wl,--gc-sections
Summary: dev-lang/perl fails to build with -Wl,--gc-sections
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-11 18:02 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2012-08-11 22:37 UTC (History)
0 users

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


Attachments
perl-5.16.1:20120811-165441.log (perl-5.16.1:20120811-165441.log,59.90 KB, text/plain)
2012-08-11 18:02 UTC, Arfrever Frehtes Taifersar Arahesis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2012-08-11 18:02:49 UTC
Created attachment 321036 [details]
perl-5.16.1:20120811-165441.log

LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.16.1/work/perl-5.16.1 x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--hash-style=gnu -Wl,--sort-common -o miniperl \
    perlmini.o opmini.o miniperlmain.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   -lnsl -ldl -lm -lcrypt -lutil -lc 
util.o: In function `Perl_find_script':
util.c:(.text+0x3580): undefined reference to `strlcpy'
sv.o: In function `Perl_more_bodies':
sv.c:(.text+0x4f6): undefined reference to `malloc_good_size'
sv.o: In function `Perl_sv_grow':
sv.c:(.text+0xb417): undefined reference to `malloc_size'
sv.o: In function `Perl_sv_usepvn_flags':
sv.c:(.text+0xc2c3): undefined reference to `malloc_size'
sv.c:(.text+0xc3a4): undefined reference to `malloc_size'
mg.o: In function `Perl_magic_set':
mg.c:(.text+0x40b3): undefined reference to `setproctitle'
mg.c:(.text+0x4ce5): undefined reference to `setrgid'
mg.c:(.text+0x4d05): undefined reference to `setruid'
av.o: In function `Perl_av_extend':
av.c:(.text+0x474): undefined reference to `malloc_size'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
 * ERROR: dev-lang/perl-5.16.1 failed (compile phase):
 *   emake failed
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-08-11 22:37:26 UTC
-Wl,--gc-sections is not something to play with.