Apache OpenOffice (AOO) Bugzilla – Issue 17241
compiling openoffice on Kernel 2.6 fails.
Last modified: 2003-12-25 05:10:27 UTC
On Gentoo Linux, compiling openoffice-1.1_rc1 generates the following error. This happens consistently. I do not feel that it is a disk space issue, since it occurs at the same part of the compile process, no matter how much free space is available. I'm using gcc-3.2.3, and blackdown-jdk-1.4.1, and glibc-2.3.2. This is the error: -=-=-=-=-=-=-=- ------------------------------ Making: ../../unxlngi4.pro/lib/mksvconf.lib echo unxlngi4.pro/obj/solar.o | xargs -n1 > ../../unxlngi4.pro/lib/mksvconf.lib ------------------------------ Making: ../../unxlngi4.pro/bin/mksvconf unx cat ../../unxlngi4.pro/misc/mksvconf.cmd gcc -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -Wl,-export-dynamic -Wl,--noinhibit-exec -L../../unxlngi4.pro/lib -L../lib -L/var/tmp/portage/openoffice-1.1_rc1/work/oo_1.1rc_src/solenv/unxlngi4/lib -L/var/tmp/portage/openoffice-1.1_rc1/work/oo_1.1rc_src/solver/645/unxlngi4.pro/lib -L/var/tmp/portage/openoffice-1.1_rc1/work/oo_1.1rc_src/solenv/unxlngi4/lib -L/opt/blackdown-jdk-1.4.1/lib -L/opt/blackdown-jdk-1.4.1/jre/lib/i386 -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/client -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads -L/usr/X11R6/lib -o ../../unxlngi4.pro/bin/mksvconf ../../unxlngi4.pro/obj/solar.o \ -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++ -rwxr-xr-x 1 root root 13254 Jul 21 19:36 ../../unxlngi4.pro/bin/mksvconf ------------- ../../unxlngi4.pro/bin/mksvconf ../../unxlngi4.pro/inc/svconf.h char = signed char short = signed short int = signed int long = signed long sizeof(char) = 1 sizeof(short) = 2 sizeof(int) = 4 sizeof(long) = 4 sizeof(float) = 4 sizeof(double) = 8 sizeof(void *) = 4 LITTLEENDIAN (Intel, VAX, PowerPC) Stack waechst nach unten STACKALIGNMENT : 1 can not read address (nil) Segmentation fault dmake: Error code 139, while making '../../unxlngi4.pro/inc/svconf.h' dmake: '../../unxlngi4.pro/inc/svconf.h' removed. ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1_rc1/work/oo_1.1rc_src/tools/source/solar !!! ERROR: app-office/openoffice-1.1_rc1 failed. !!! Function src_compile, Line 370, Exitcode 1 !!! Build failed! -=-=-=-=-=-=-=-=-
It seems a bug related to compiling with development series kernel (i.e 2.5.xx and 2.6.xxxxxx). See http://bugs.gentoo.org/show_bug.cgi?id=25052 I had the same problem with OOo version 1.0.3. Then I compiled with kernel version 2.4.xx, and I didn't have any issue. Anyway it should compile with not_too_far_away_stable_2.6_kernel_series so it IS a defect. Could you confirm you're using a development kernel?
I'm using development-sources-2.6.0-test2, which is the base 2.6.0-test2 kernel -- no additional patches.
isn't it an issue of the Linux Kernel
Re-openning so it is easier to find...
I have reported this on the kernel mailing list. for information refer to bug 210282 bugs.debian.org. Unresolved.
OK. But Debian bug seems to be 210284 (not 210282), and URL for Debian bugs is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210284 Also, for the record, the reference of the post on Linux Kernel Mailing List seems to be http://www.ussg.iu.edu/hypermail/linux/kernel/0309.2/index.html#0905 Thanks
Still an issue with test6 version of the kernel.
Created attachment 10490 [details] minimal program that displays fault.
Created attachment 10543 [details] Clean up of the solar.c code, including switching to FORK
NO complaints, committed to the 680 source tree.
verified.
closing.