View Single Post
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#5
So...
Back to ARMEL target

Using a test program, the ARM on the n800 is set to little-endian for the release 4.2007.38-2 and probably will stick to it like most arm architectures.

./configure fails to auto-detection anything, also the endianness. This seems like a critical problem.
Code:
./configure --little-endian
[...]
Code:
 Reading /home/lke/src/qt-x11-opensource-src-4.3.1/demos/qtdemo/qtdemo.pro
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
qemu: uncaught target signal 6 (Aborted) - exiting
  356 projects found.

Creating makefiles. Please wait...
  for /home/lke/src/qt-x11-opensource-src-4.3.1/src/corelib/corelib.pro
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
qemu: uncaught target signal 6 (Aborted) - exiting
  for /home/lke/src/qt-x11-opensource-src-4.3.1/src/script/script.pro
[...]
Code:
  for /home/lke/src/qt-x11-opensource-src-4.3.1/tools/linguist/linguist/linguist.pro
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
qemu: uncaught target signal 6 (Aborted) - exiting
  for /home/lke/src/qt-x11-opensource-src-4.3.1/tools/assistant/assistant.pro
  for /home/lke/src/qt-x11-opensource-src-4.3.1/tools/assistant/translations/translations.pro
Project ERROR: This is a dummy profile to be used for translations ONLY.

        NOTICE: Qt will not be built with XShape support.

        As a result, drag-and-drop in the Qt Designer will NOT
        work. We recommend that you enable XShape support by passing
        the -xshape switch to ./configure.

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/Trolltech/Qt-4.3.1

To reconfigure, run 'make confclean' and 'configure'.

[sbox-SDK_ARMEL: ~/src/qt-x11-opensource-src-4.3.1] > make 
make: *** No rule to make target `FORCE', needed by `sub-moc-make_default-ordered'.  Stop.
Code:
strace -s 1024 -f -F -v -o ~/src/strace.log home/lke/src/qt-x11-opensource-src-4.3.1/bin/qmake -Wall -nocache spec /home/lke/src/qt-x11-opensource-src-4.3.1/mkspecs/linux-g++ ONFIG+= 'LIBS*=' 'INCLUDEPATH*=' 'QMAKE_CXXFLAGS*=' home/lke/src/qt-x11-opensource-src-4.3.1/config.tests/unix/floatmath/floatmath.pro -o /home/lke/src/qt-x11-opensource-src-4.3.1/config.tests/unix/floatmath/Makefile
PHP Code:
22904 lstat64("/home/lke/src/qt-x11-opensource-src-4.3.1/mkspecs/features", {st_dev=makedev(32), st_ino=455297st_mode=S_IFDIR|0755st_nlink=5st_uid=1000st_gid=1000st_blksize=4096st_blocks=8st_size=4096st_atime=2007/11/14-16:09:33st_mtime=2007/11/14-01:42:54st_ctime=2007/11/14-01:42:54}) = 0
22904 open
("/home/lke/src/qt-x11-opensource-src-4.3.1/mkspecs/features"O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
22904 fstat64
(6, {st_dev=makedev(32), st_ino=455297st_mode=S_IFDIR|0755st_nlink=5st_uid=1000st_gid=1000st_blksize=4096st_blocks=8st_size=4096st_atime=2007/11/14-16:09:33st_mtime=2007/11/14-01:42:54st_ctime=2007/11/14-01:42:54}) = 0
22904 fcntl64
(6F_SETFDFD_CLOEXEC)   = 0
22904 statfs64
("/home/lke/src/qt-x11-opensource-src-4.3.1/mkspecs/features"84, {f_type="EXT2_SUPER_MAGIC"f_bsize=4096f_blocks=1393484f_bfree=458871f_bavail=402243f_files=708224f_ffree=625504f_fsid={1220338559, -1291029597}, f_namelen=255f_frsize=4096}) = 0
22904 mmap2
(NULL1074257920PROT_READ|PROT_WRITEMAP_PRIVATE|MAP_ANONYMOUS, -10) = -1 ENOMEM (Cannot allocate memory)
22904 mmap2(0x3360001074319360PROT_READ|PROT_WRITEMAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS00) = -1 ENOMEM (Cannot allocate memory)
22904 --- SIGSEGV (Segmentation fault) @ (0) ---
22904 --- SIGSEGV (Segmentation fault) @ (0) ---
22903 <... waitpid resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0) = 22904
22903 
--- SIGCHLD (Child exited) @ (0) ---
22903 sigreturn()                       = ? (mask now [RTMIN])
22903 gettimeofday({1195052973986321}, NULL) = 0
22903 getpid
()                          = 22903
22903 write
(3"[2007-11-14 15:09:33 22903] signal: \"Segmentation fault\"  time: 0.455577\n"73) = 73
22903 munmap
(0x400010004096)          = 0
22903 exit_group
(126)                   = ?

Now I'll go back to compile stuffs for humans , like .. not qt 4.3
Have fun

edit:
laziness

Last edited by free; 2007-11-14 at 15:10.