perl-native build failures on Ubuntu 11.04 in a Linux Container
Hi,
does anyone else see build errors with perl-native? The linker line looks innocent but libc and pthread symbols can not be resolved...
Log data follows:
| + cd /home/ich/build/mips/tmp/work/x86_64-linux/perl-native-5.10.1-r10/perl-5.10.1
| + do_compile | + base_do_compile | + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']' | + oe_runmake | + oenote make -e MAKEFLAGS= | + echo NOTE: 'make -e MAKEFLAGS=' | NOTE: make -e MAKEFLAGS= | + make -e MAKEFLAGS= | gcc -L/home/ich/build/mips/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath-link,/home/ich/build/mips/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/ich/build/mips/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
| 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 \
| miniperlmain.o opmini.o perlmini.o | util.o: In function `Perl_safesysmalloc': | util.c:(.text+0x4d8): undefined reference to `pthread_getspecific' | util.o: In function `Perl_safesysrealloc':
Hi,
Quoted 3 lines · Holger Freyther
does anyone else see build errors with perl-native? The linker line looks innocent but libc and pthread symbols can not be resolved...
I think this is the problem reported (with a patch & comments) in this thread : http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032371.html
Eric