Hi, on my linux build hosts, the recent perl-5.20.0 failed to build linking libperl.so. With the attached patch the builds finish successfully. Though I am not sure if it fixes the true source of the problem, but right now I don't have the time to investigate further. Error message is always like this: ... rm -f libperl.so gcc -o libperl.so -pthread -L/opt/pkgsrc/gcc46/lib/gcc/i686-pc-linux-gnu/4.6.4 -L/opt/pkgsrc/gcc46/lib -L/opt/pkgsrc/gcc46/lib/gcc/i686-pc-linux-gnu/4.6.4/ -L/usr/lib -L/usr/local/lib -fstack-protector 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 caretx.o DynaLoader.o -lm -lcrypt -ldl -lnsl -lpthread -lrt /usr/lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status *** Error code 1 This gcc invocation succeeds with an additional "-shared" flag, which the patch supplies. Regards Matthias
Attachment:
patch-hints_linux.sh
Description: Bourne shell script