[oe] [PATCH v3] cpan_build.bbclass; added cc and ld flags to the perl Build.PL invocation

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Dec 29 18:42:33 UTC 2010


2010/12/29 Roman I Khimov <roman at khimov.ru>:
> В сообщении от Среда 29 декабря 2010 10:41:00 автор Roman I Khimov написал:
>> I've built libdatetime-perl for qemuarm/angstrom-2010.x yesterday with no
>> problems. Rebuilding perl, perl-native and libdatetime-perl now with fresh
>> pull from oe.dev and building with sheevaplug/minimal combination in
>>  parallel. But it might be that clean build results would be different for
>> sheevaplug/minimal.
>
> Both built just fine, commit 45316c97133b75f6b9ceec9667749648c2046d4d,
> configurations mentioned above.
>

Tested with todays git head, still no success:
I did a fresh build:
bitbake -cclean perl perl-native libdatetime-perl
libdatetime-perl-native; bitbake libdatetime-perl

I now get:

| arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mthumb -Ic -I/usr/lib/perl/5.10/CORE
-DXS_VERSION="0.61" -DVERSION="0.61" -fPIC -c
-isystem/home/frans/oe/tmp_minimal/sysroots/armv5te-oe-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1
-DDEBIAN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -O2 -o lib/DateTime.o lib/DateTime.c
| lib/DateTime.xs:7:20: fatal error: EXTERN.h: No such file or directory


I do have EXTERN.h:
sysroots/i686-linux/usr/lib/perl/5.10.1/CORE/EXTERN.h
sysroots/armv5te-oe-linux-gnueabi/usr/lib/perl/5.10.1/CORE/EXTERN.h

What I find worrying (and probably wrong) is:
-I/usr/lib/perl/5.10/CORE
I don't expect host dirs in and arm gcc command.

Also note that the host path says perl/5.10 whereas my files live in perl/5.10.1

Roman, can you compare this with your compile log (or can you pastebin
it or provide a link to tinderbox)?

Thanks, Frans




More information about the Openembedded-devel mailing list