[Bug 4505] New: gtk+-2.12.11-r3 fails to link
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Mon Aug 18 19:57:38 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=4505
Summary: gtk+-2.12.11-r3 fails to link
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2008.x
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: lrg at kernel.org
Subject says it all.
Fresh x11-image build from clean directory and todays (18/08) OE pull.
I'm suspicious that this is an Ubuntu (Hardy Heron) only issue as gtk builds
fine on my older Fedora system.
| make[4]: Entering directory
`/home/lrg/source/oe/angstrom-2008/work/armv6-angstrom-linux-gnueabi/gtk+-2.12.11-r3/gtk+-2.12.11/gdk-pixbuf'
| /bin/bash ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=link
arm-angstrom-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mfpu=vfp
-mfloat-abi=softfp
-isystem/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -Os -Wall
-version-info 1200:11:1200 -export-symbols-regex "^[^_].*"
-L/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib
-Wl,-rpath-link,/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -o libgdk_pixbuf-2.0.la -rpath /usr/lib gdk-pixbuf.lo
gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo
gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-simple-anim.lo
gdk-pixbuf-scaled-anim.lo gdk-pixbuf-util.lo gdk-pixdata.lo
gdk-pixbuf-enum-types.lo pixops/libpixops.la -lgmodule-2.0 -ldl -lgobject-2.0
-lglib-2.0 -lm
| arm-angstrom-linux-gnueabi-libtool: link: rm -fr .libs/libgdk_pixbuf-2.0.exp
.libs/libgdk_pixbuf-2.0.ver
| arm-angstrom-linux-gnueabi-libtool: link:
/home/lrg/source/oe/angstrom-2008/cross/bin/arm-angstrom-linux-gnueabi-nm -B
.libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o
.libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o
.libs/gdk-pixbuf-simple-anim.o .libs/gdk-pixbuf-scaled-anim.o
.libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o
pixops/.libs/libpixops.a | sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/
/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp
| arm-angstrom-linux-gnueabi-libtool: link: /bin/grep -E -e "^[^_].*"
".libs/libgdk_pixbuf-2.0.exp" > ".libs/libgdk_pixbuf-2.0.expT"
| arm-angstrom-linux-gnueabi-libtool: link: mv -f
".libs/libgdk_pixbuf-2.0.expT" ".libs/libgdk_pixbuf-2.0.exp"
| arm-angstrom-linux-gnueabi-libtool: link: echo "{ global:" >
.libs/libgdk_pixbuf-2.0.ver
| arm-angstrom-linux-gnueabi-libtool: link: cat .libs/libgdk_pixbuf-2.0.exp |
sed -e "s/\(.*\)/;/" >> .libs/libgdk_pixbuf-2.0.ver
| arm-angstrom-linux-gnueabi-libtool: link: echo "local: *; };" >>
.libs/libgdk_pixbuf-2.0.ver
| arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-gcc
-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -shared
.libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o
.libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o
.libs/gdk-pixbuf-simple-anim.o .libs/gdk-pixbuf-scaled-anim.o
.libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o
-Wl,--whole-archive pixops/.libs/libpixops.a -Wl,--no-whole-archive -Wl,-rpath
-Wl,/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib
-L/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib/.libs
-L/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib
/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib/libgmodule-2.0.so
-ldl
/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib/libgobject-2.0.so
/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib/libglib-2.0.so
-lm -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp
-Wl,-rpath-link
-Wl,/home/lrg/source/oe/angstrom-2008/staging/arm-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,-soname -Wl,libgdk_pixbuf-2.0.so.0 -Wl,-version-script
-Wl,.libs/libgdk_pixbuf-2.0.ver -o .libs/libgdk_pixbuf-2.0.so.0.1200.11
|
/home/lrg/source/oe/angstrom-2008/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/bin/ld:.libs/libgdk_pixbuf-2.0.ver:2:
ignoring invalid character `\001' in script
|
/home/lrg/source/oe/angstrom-2008/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/bin/ld:.libs/libgdk_pixbuf-2.0.ver:2:
syntax error in VERSION script
| collect2: ld returned 1 exit status
| make[4]: *** [libgdk_pixbuf-2.0.la] Error 1
| make[4]: Leaving directory
`/home/lrg/source/oe/angstrom-2008/work/armv6-angstrom-linux-gnueabi/gtk+-2.12.11-r3/gtk+-2.12.11/gdk-pixbuf'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/home/lrg/source/oe/angstrom-2008/work/armv6-angstrom-linux-gnueabi/gtk+-2.12.11-r3/gtk+-2.12.11/gdk-pixbuf'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
`/home/lrg/source/oe/angstrom-2008/work/armv6-angstrom-linux-gnueabi/gtk+-2.12.11-r3/gtk+-2.12.11/gdk-pixbuf'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/lrg/source/oe/angstrom-2008/work/armv6-angstrom-linux-gnueabi/gtk+-2.12.11-r3/gtk+-2.12.11'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/lrg/source/oe/angstrom-2008/work/armv6-angstrom-linux-gnueabi/gtk+-2.12.11-r3/temp/log.do_compile.4696
NOTE: package gtk+-2.12.11-r3: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gtk+-2.12.11: failed
ERROR: Build of
/home/lrg/source/oe/org.openembedded.dev/packages/gtk+/gtk+_2.12.11.bb
do_compile failed
ERROR: Task 1859
(/home/lrg/source/oe/org.openembedded.dev/packages/gtk+/gtk+_2.12.11.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 994 tasks of which 994 didn't need to be rerun
and 1 failed.
ERROR: '/home/lrg/source/oe/org.openembedded.dev/packages/gtk+/gtk+_2.12.11.bb'
failed
NOTE: build 200808182033: completed
Interestingly this stage from above looks broken (It's used to generate the
version file):-
/arm-angstrom-linux-gnueabi-nm -B .libs/gdk-pixbuf.o
.libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o .libs/gdk-pixbuf-io.o
.libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o
.libs/gdk-pixbuf-simple-anim.o .libs/gdk-pixbuf-scaled-anim.o
.libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o
pixops/.libs/libpixops.a | sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/
/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp
The resulting .exp file contains :-
hexdump .libs/libgdk_pixbuf-2.0.exp
0000000 0a02
0000002
So it looks like a problem with either sed, sort, uniq or whatever generates
the sed arguments (some binary arguments above ??). The nm output is sane
whilst the sed output is newlines and spaces only.
lrg at odin:~$ sed --version
GNU sed version 4.1.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
lrg at odin:~$ uniq --version
uniq (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Richard Stallman and David MacKenzie.
lrg at odin:~$ sort --version
sort (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list