Issue 12437

Summary: Collection of issues to get gcc 2.95 to compile on OOO_STABLE_1
Product: Build Tools Reporter: foskey
Component: codeAssignee: Unknown <non-migrated>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 644   
Target Milestone: OOo 1.1 RC   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description foskey 2003-03-18 10:54:01 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.
Comment 1 foskey 2003-03-18 10:57:20 UTC
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
  
 # -----------------------------------------------------------
Comment 2 nickb 2003-03-19 22:42:39 UTC
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.
Comment 3 michael.bemmer 2003-03-25 08:09:32 UTC
Target this one for beta2.
Comment 4 nickb 2003-04-04 08:38:31 UTC
Added gcc 2.95 bug
Comment 5 Martin Hollmichel 2003-04-29 14:27:49 UTC
retargeting
Comment 6 foskey 2003-05-04 15:02:11 UTC
OOO_STABLE_1 appears to compile with 2.95.  May raise issue for 644
branches later.
Comment 7 foskey 2003-06-18 13:13:03 UTC
Verified.
Comment 8 foskey 2003-06-18 13:15:11 UTC
Closing issue.