Apache OpenOffice (AOO) Bugzilla – Issue 12437
Collection of issues to get gcc 2.95 to compile on OOO_STABLE_1
Last modified: 2003-06-18 13:15:11 UTC
This is a collection of issues to get the OOO_STABLE_1 branch tag to compile under gcc 2.95. Please add any issues that are applicable.
First issue is that bootstrap includes gcc 3 libraries without guard conditions. Here is a patch, still to be proven under gcc 3 though. Note that the LINUX test should probably be COM=GCC, I know IRIX needs a patch here as well. Index: static.mk =================================================================== RCS file: /cvs/util/tools/bootstrp/static.mk,v retrieving revision 1.14.6.1 diff -u -b -B -p -r1.14.6.1 static.mk --- static.mk 17 Dec 2002 15:10:48 -0000 1.14.6.1 +++ static.mk 18 Mar 2003 10:54:42 -0000 @@ -155,7 +155,10 @@ STATIC_LIBS+=$(DYNAMIC) STATIC_LIBS += -lnsl -lsocket -lposix4 -lc .ENDIF .IF "$(OS)"=="LINUX" -STATIC_LIBS += -lsupc++ -lX11 -lXext +.IF "$(CVER)"=="C300" +STATIC_LIBS += -lsupc++ +.ENDIF +STATIC_LIBS += -lX11 -lXext .ENDIF # -----------------------------------------------------------
Hmmm, we dont have any IRIX patches for this file. There is nothing explicitiy linking against libsupc++ (for IRIX), so we should be ok (and this module seems to be compiling fine). Also, we dont have any gcc specific patches for OOO_STABLE_1 at this time.
Target this one for beta2.
Added gcc 2.95 bug
retargeting
OOO_STABLE_1 appears to compile with 2.95. May raise issue for 644 branches later.
Verified.
Closing issue.