On Fri, Feb 05, 2010 at 11:02:07AM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> This one fails to build for armv7a with some weird libtool problem

Does that error look like:

/bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CC   --mode=link 
arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb 
 
-isystem/home/projects/OE/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/include
 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall 
-fno-strict-aliasing -fvisibility=hidden  
-L/home/projects/OE/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/lib 
-Wl,-rpath-link,/home/projects/OE/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/lib
 -Wl,-O1 -Wl,--hash-style=gnu -o gradient-test gradient-test.o gtk-utils.o 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0   -L.. ../pixman/libpixman-1.la
arm-oe-linux-gnueabi-libtool: link: cannot find the library 
`/home/projects/OE/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/lib/libpixman-1.la'
 or unhandled argument 
`/home/projects/OE/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/lib/libpixman-1.la'
make[2]: Leaving directory 
`/home/projects/OE/tmpdir-dev-shr/work/armv4t-oe-linux-gnueabi/pixman-0.17.4-r1/pixman-0.17.4/test'

If yes than it's because
-lpangocairo-1.0 -lcairo from GTK_LIBS have 
/home/projects/OE/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/lib/libpixman-1.la
 
in their own .la files and this way it creates circular dependency, which fails 
when armv4t-oe-linux-gnueabi/usr/lib/libpixman-1.la
is removed during upgrade.

Removing those 2 libs from GTK_LIBS works as well as removing libpixman-1.la 
reference from their staged .la files.

Please advise how to fix it properly.

BTW: this is not new issue with 0.17.4, I had that before (and tried to resolve 
it with latest cleanup of old libpixman-native recipes)

Regards,

-- 
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa                         

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to