[oe] qt4e-demo-image

Jan Paesmans jan.paesmans at gmail.com
Tue Mar 22 20:47:58 UTC 2011


Hello,

When building qt4-embedded for the qt4e-demo-image, the build fails with
the following error:

|
/home/janp/src/openembedded/build/tmp/sysroots/x86_64-linux/usr/armv5te/lib/gcc/arm-oe-linux-uclibceabi/4.5.3/../../../../arm-oe-linux-uclibceabi/bin/ld:
/home/janp/src/openembedded/build/tmp/sysroots/armv5te-oe-linux-uclibceabi/usr/lib/uclibc_nonshared.a(atexit.os)(.text+0x12):
unresolvable R_ARM_THM_CALL relocation against symbol `__cxa_atexit'
|
/home/janp/src/openembedded/build/tmp/sysroots/x86_64-linux/usr/armv5te/lib/gcc/arm-oe-linux-uclibceabi/4.5.3/../../../../arm-oe-linux-uclibceabi/bin/ld:
final link failed: Nonrepresentable section on output
| collect2: ld returned 1 exit status
| make[1]: *** [../../lib/libQtGuiE.so.4.7.2] Error 1
| make[1]: Leaving directory
`/home/janp/src/openembedded/build/tmp/work/armv5te-oe-linux-uclibceabi/qt4-embedded-4.7.2-r27.0/qt-everywhere-opensource-src-4.7.2/src/gui'
| make: *** [sub-gui-make_default-ordered] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package qt4-embedded-4.7.2-r27.0: task do_compile: Failed

I tried adding something like QT_CONFIG_FLAGS_append_libc-uclibc = "
--disable-pie". Something similar is done for samba. However the
configure of qt doesn't recognize this option and I didn't find anything
similar in 'configure --help'.

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "master"
METADATA_REVISION = "5b3df8c"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-uclibceabi"
MACHINE           = "ronetix-pm9263"
DISTRO            = "minimal-uclibc"
DISTRO_VERSION    = "dev-snapshot-20110322"
TARGET_FPU        = "soft"

Regards,

Jan




More information about the Openembedded-devel mailing list