Re: building OOo30_m9 error on scratchbox

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: building OOo30_m9 error on scratchbox

Kay Ramme - Sun Germany - Hamburg

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 ...



[hidden email] 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: ../
> g++ -Wreturn-type -fmessage-length=0 -c -march=armv5te -fno-omit-frame-pointer -Os -fno-strict-aliasing -Wuninitialized   -I.  -I../ -I../inc -I../inc/pch -I../inc -I../unx/inc -I../ -I. -I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/ -I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/ -I/home/xiuzhiarm/ooo30/OOO300_m9/solver/300/ -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/ -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/ -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 ../ /home/xiuzhiarm/ooo30/OOO300_m9/soltools/support/simstr.cxx

> if test -e ../ ; then touch ../ ; fi
> ../ @/var/tmp/mkzxMtg6 > ../
> Inconsistency detected by ../sysdeps/unix/sysv/linux/dl-origin.c: 48: _dl_get_origin: Assertion `linkval[0] == '/'' failed!
> dmake:  Error code 127, while making '../'
> dmake:  '../' 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: [hidden email]
For additional commands, e-mail: [hidden email]