Issue 17241 - compiling openoffice on Kernel 2.6 fails.
Summary: compiling openoffice on Kernel 2.6 fails.
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: foskey
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 14:10 UTC by Unknown
Modified: 2003-12-25 05:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
minimal program that displays fault. (2.39 KB, text/plain)
2003-10-20 14:11 UTC, foskey
no flags Details
Clean up of the solar.c code, including switching to FORK (4.32 KB, patch)
2003-10-22 14:12 UTC, foskey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-07-22 14:10:41 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! 
 
-=-=-=-=-=-=-=-=-
Comment 1 Unknown 2003-08-04 12:55:21 UTC
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?
Comment 2 Unknown 2003-08-04 13:06:41 UTC
I'm using development-sources-2.6.0-test2, which is the base 2.6.0-test2 kernel -- 
no additional patches.
Comment 3 Martin Hollmichel 2003-09-22 14:47:58 UTC
isn't it an issue of the Linux Kernel
Comment 4 foskey 2003-09-23 13:18:02 UTC
Re-openning so it is easier to find...
Comment 5 foskey 2003-09-23 13:19:44 UTC
I have reported this on the kernel mailing list.  for information
refer to bug 210282 bugs.debian.org.

Unresolved.
Comment 6 Unknown 2003-09-23 13:43:57 UTC
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
Comment 7 foskey 2003-10-19 13:48:36 UTC
Still an issue with test6 version of the kernel.
Comment 8 foskey 2003-10-20 14:11:37 UTC
Created attachment 10490 [details]
minimal program that displays fault.
Comment 9 foskey 2003-10-22 14:12:21 UTC
Created attachment 10543 [details]
Clean up of the solar.c code, including switching to FORK
Comment 10 foskey 2003-10-28 10:12:46 UTC
NO complaints, committed to the 680 source tree.
Comment 11 foskey 2003-12-20 13:46:03 UTC
verified.
Comment 12 foskey 2003-12-25 05:10:27 UTC
closing.