[yocto] external-sourcery-toolchain: do_compile failed for sqlite3-3.7.13

Elvis Dowson elvis.dowson at gmail.com
Fri Aug 10 11:09:37 PDT 2012


Hi,
      I get a build failure for sqlite3-3.7.13 with external-sourcery-toolchain mentor-2012.03-71-powerpc-mentor-linux-gnu.bin:


ERROR: Function failed: do_compile (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/sqlite3-3.7.13-r0/temp/log.do_compile.48315 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/sqlite3-3.7.13-r0/temp/log.do_compile.48315
Log data follows:
| DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6
| ./powerpc-poky-linux-libtool --tag=CC   --mode=compile powerpc-mentor-linux-gnu-gcc  -m32  -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.13\" -DPACKAGE_STRING=\"sqlite\ 3.7.13\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.13\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I.    -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types -c -o sqlite3.lo sqlite3.c
| powerpc-mentor-linux-gnu-gcc  -m32  -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.13\" -DPACKAGE_STRING=\"sqlite\ 3.7.13\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.13\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I.    -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types -c shell.c
| powerpc-poky-linux-libtool: compile:  powerpc-mentor-linux-gnu-gcc -m32 -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.13\" "-DPACKAGE_STRING=\"sqlite 3.7.13\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.13\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I. -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
| powerpc-poky-linux-libtool: compile:  powerpc-mentor-linux-gnu-gcc -m32 -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.13\" "-DPACKAGE_STRING=\"sqlite 3.7.13\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.13\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I. -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types -c sqlite3.c -o sqlite3.o >/dev/null 2>&1
| ./powerpc-poky-linux-libtool --tag=CC   --mode=link powerpc-mentor-linux-gnu-gcc  -m32  -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types -no-undefined -version-info 8:6:8 -Wl,-O1 -Wl,--hash-style=gnu -o libsqlite3.la -rpath /usr/lib sqlite3.lo  -ldl -lpthread
| powerpc-poky-linux-libtool: link: powerpc-mentor-linux-gnu-gcc  -m32  -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -shared  -fPIC -DPIC  .libs/sqlite3.o   -ldl -lpthread  -m32 -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -O2 -Wl,-O1 -Wl,--hash-style=gnu   -Wl,-soname -Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6
| powerpc-poky-linux-libtool: link: (cd ".libs" && rm -f "libsqlite3.so.0" && ln -s "libsqlite3.so.0.8.6" "libsqlite3.so.0")
| powerpc-poky-linux-libtool: link: (cd ".libs" && rm -f "libsqlite3.so" && ln -s "libsqlite3.so.0.8.6" "libsqlite3.so")
| powerpc-poky-linux-libtool: link: powerpc-mentor-linux-gnu-ar cru .libs/libsqlite3.a  sqlite3.o
| powerpc-poky-linux-libtool: link: powerpc-mentor-linux-gnu-ranlib .libs/libsqlite3.a
| powerpc-poky-linux-libtool: link: ( cd ".libs" && rm -f "libsqlite3.la" && ln -s "../libsqlite3.la" "libsqlite3.la" )
| ./powerpc-poky-linux-libtool --tag=CC   --mode=link powerpc-mentor-linux-gnu-gcc  -m32  -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -o sqlite3 shell.o ./libsqlite3.la -lreadline -lcurses  -ldl -lpthread
| powerpc-poky-linux-libtool: link: powerpc-mentor-linux-gnu-gcc -m32 -msoft-float -mcpu=440 -msoft-float --sysroot=/tool/yocto/poky/build/tmp/sysroots/virtex5 -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -o .libs/sqlite3 shell.o  ./.libs/libsqlite3.so -lreadline -lcurses -ldl -lpthread
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qtod'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qneg'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qge'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qlt'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_itoq'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qtoi'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qgt'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_dtoq'
| collect2: ld returned 1 exit status
| make: *** [sqlite3] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/sqlite3-3.7.13-r0/temp/log.do_compile.48315 for further information)
NOTE: package sqlite3-3.7.13-r0: task do_compile: Failed


Elvis Dowson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120810/e3bfb6d8/attachment.html>


More information about the yocto mailing list