The patch applied successfully, but I'm still getting a failure on perl-native-5.10.1-r10.  I noticed your patch mentions 'lib64'.  Is this a 64-bit only patch, or will it work on 32-bit systems?  My system is Ubuntu 11.04 32-bit.  I'm about to head out for an appointment, but I'll write back later if I find anything else.

Error as follows:

| gcc -L~/overo-oe/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,~/overo-oe/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,~/overo-oe/tmp/sysroots/i686-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+0x488): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x4fe): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x17ff): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x183e): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x1eef): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x1f5f): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3816): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6a44): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6ab4): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x2383): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x62a5): undefined reference to `pthread_getspecific'
| reentr.o: In function `Perl_reentrant_retry':
| reentr.c:(.text+0x3a2): undefined reference to `pthread_getspecific'
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb7bd): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x12f0f): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x12fdf): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x130ef): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x131df): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x1350f): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x2e55): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x3a27): undefined reference to `floor'
| pp.c:(.text+0x3a4e): undefined reference to `floor'
| pp.c:(.text+0x3d58): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x8814): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x89a3): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x8ebc): undefined reference to `ceil'
| pp.c:(.text+0x8ee4): undefined reference to `floor'
| pp.o:(.rodata+0x164): undefined reference to `cos'
| pp.o:(.rodata+0x168): undefined reference to `sin'
| pp.o:(.rodata+0x16c): undefined reference to `sin'
| pp.o:(.rodata+0x170): undefined reference to `exp'
| pp.o:(.rodata+0x174): undefined reference to `log'
| pp.o:(.rodata+0x178): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x7ca): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x85f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4a5b): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4e89): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x54af): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x54df): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x66de): undefined reference to `floor'
| pp_pack.c:(.text+0x66fd): undefined reference to `floor'
| pp_pack.c:(.text+0x6722): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeedf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x44d): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x485): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x49e): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x659): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of ~/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb do_compile failed
ERROR: Task 2418 (~/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with 256
ERROR: '~/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed
ERROR: '~/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed



On Tue, May 24, 2011 at 11:58 AM, Scott Ellis <scott@jumpnowtek.com> wrote:
This has been working for me.

The patch

https://gist.github.com/925006


To apply

~/overo-oe/org.openembedded.dev$ git apply --verbose 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch


Substitute the name you gave the patch when downloading.

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users