Xiuzhi,
this is a bug in the qemu user mode application, which returns for
"readlink("/proc/self/exec", ...) a relative path, which it must be
absolut, I did workaround this by mounting my systems "/proc" into the
chroot env. and by disabling the above syscall mapping in syscall.c / if
(strncmp((const char *)p, "/proc/self/exe", 14) == 0) ....
I first thought that this was a libc issue, took me some days to
understand what went wrong ...
Regards
Kay
[email protected] wrote:
Hi all,
I am porting OOo3.0_m9 to ARM. I use scratchbox5.0,
gcc version is 4.2.1
An error occured in soltools/support:
Making: ../unxlngr.pro/obj/simstr.obj
g++ -Wreturn-type -fmessage-length=0 -c -march=armv5te -fno-omit-frame-pointer
-Os -fno-strict-aliasing -Wuninitialized -I.
-I../unxlngr.pro/inc/soltools_support -I../inc -I../inc/pch -I../inc
-I../unx/inc -I../unxlngr.pro/inc -I.
-I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/unxlngr.pro/inc/stl
-I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/unxlngr.pro/inc/external
-I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/unxlngr.pro/inc
-I/home/xiuzhiarm/ooo30/OOO300_m9/solenv/unxlngr/inc
-I/home/xiuzhiarm/ooo30/OOO300_m9/solenv/inc
-I/home/xiuzhiarm/ooo30/OOO300_m9/res
-I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/unxlngr.pro/inc/stl
-I/home/xiuzhiarm/ooo30/OOO300_m9/solenv/inc/Xp31 -INO_JAVA_HOME/include
-INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include
-I/usr/include
-I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/unxlngr.pro/inc/offuh -I. -I../res
-I. -pipe -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -DLINUX -DUNX -DVCL
-DGCC -DC300 -DARM -DCVER=C300 -DNP
TL -DGLIBC=2 -DARM32 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/include/c++/4.2.1
-DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DCUI -fno-exceptions -DEXCEPTIONS_OFF -o ../unxlngr.pro/obj/simstr.o
/home/xiuzhiarm/ooo30/OOO300_m9/soltools/support/simstr.cxx
if test -e ../unxlngr.pro/obj/simstr.o ; then touch
../unxlngr.pro/obj/simstr.obj ; fi
../unxlngr.pro/bin/makedepend @/var/tmp/mkzxMtg6 >
../unxlngr.pro/misc/o_simstr.dpcc
Inconsistency detected by ld.so: ../sysdeps/unix/sysv/linux/dl-origin.c: 48:
_dl_get_origin: Assertion `linkval[0] == '/'' failed!
dmake: Error code 127, while making '../unxlngr.pro/obj/simstr.obj'
dmake: '../unxlngr.pro/obj/simstr.obj' removed.
ERROR: Error 65280 occurred while making
/home/xiuzhiarm/ooo30/OOO300_m9/soltools/support
rmdir /tmp/19625
Who can help me? Thanks
Regards,
Xiuzhi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]