[oe] libpcre not compiling

Aeschbacher, Fabrice Fabrice.Aeschbacher at siemens.com
Fri Jan 28 08:12:47 UTC 2011


perhaps another info: tried with another machine (=> powerpc cross-compiler), same problem here.

With kind regards,
fabrice Aeschbacher

> > > [using released version 2010.12]
> > >
> > > libpcre (7.6-r8) fails to compile :
> > >
> > > ...
> > > | /bin/sh ./arm-angstrom-linux-gnueabi-libtool --tag=CXX   
> > --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv5te 
> > -mtune=arm926ej-s -mthumb-interwork -mno-thumb  
> > -isystem/srv/oe-2010/build/at91sam9g20ek/sysroots/armv5te-angs
> > trom-linux-gnueabi/usr/include -O2 -fpermissive 
> > -fvisibility-inlines-hidden -fvisibility-inlines-hidden 
> > -version-info 0:0:0 -Wl,-O1 -Wl,--hash-style=gnu -o 
> > libpcrecpp.la -rpath /usr/lib pcrecpp.lo pcre_scanner.lo 
> > pcre_stringpiece.lo libpcre.la
> > > | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> > > | 
> > /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
> > /sed: can't read /usr/lib/libstdc++.la: No such file or directory
> > > | arm-angstrom-linux-gnueabi-libtool: link: 
> > `/usr/lib/libstdc++.la' is not a valid libtool archive
> > > | make[1]: *** [libpcrecpp.la] Error 1
> > > | make[1]: Leaving directory 
> > `/srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-
> > gnueabi/libpcre-7.6-r8/pcre-7.6'
> > > | make: *** [all] Error 2
> > > | FATAL: oe_runmake failed
> > > NOTE: package libpcre-7.6-r8: task do_compile: Failed
> > > ERROR: Function 'do_compile' failed (see 
> > /srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-g
> > nueabi/libpcre-7.6-r8/temp/log.do_compile.1723 for further 
> > information)
> > > ERROR: 
> > 
> '/srv/oe-2010/org.openembedded/recipes/libpcre/libpcre_7.6.bb' failed
> > >
> > >
> > > I would be thankful if someone could give me any hint how 
> > to solve this.
> > >
> > 
> > Does it fail same way on master ?
> 
> I did not try to compile everything on master yet
> 
> > if not try to figure out commit which fixed it git bisect 
> is your friend.
> 
> I diffed the files under recipes/libpcre/* : there is no 
> change in master compared to 2010.12  release.
> 
> > Otherwise we need to fix it if its happening on master too.
> 
> BTW: We need libpcre only because lighttpd depends on it.
> 
> Kind regards,
> Fabrice




More information about the Openembedded-devel mailing list