Issue 7584 - Gcc 2.95 patches for OO643C
Summary: Gcc 2.95 patches for OO643C
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@tools
URL:
Keywords: merge_pending
Depends on: 5753 7421 7647 8203 10163
Blocks:
  Show dependency tree
 
Reported: 2002-09-08 13:49 UTC by foskey
Modified: 2003-03-16 20:12 UTC (History)
2 users (show)

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


Attachments
patches to make autodoc compile for 2.95 (19.13 KB, patch)
2002-09-17 12:34 UTC, foskey
no flags Details | Diff
eliminate an empty template for 2.95 only (864 bytes, patch)
2002-09-17 12:59 UTC, foskey
no flags Details | Diff
patch for svtools/source/edit (1.70 KB, patch)
2002-10-11 03:49 UTC, foskey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description foskey 2002-09-08 13:49:26 UTC
There are a number of issues with teh gcc 2.95 compile.  This issue documents
these problems.

This patch relies on issue 7494 be applied.
Comment 1 foskey 2002-09-10 14:13:40 UTC
autodoc refuses to build under 2.95.  Here is a list of patches that
are a start but do not solve the issue:

http://www.openoffice.org/servlets/ReadMsg?msgId=393014&listName=dev
Comment 2 foskey 2002-09-11 14:03:26 UTC
Interim fix: 
Once you have built stlport change:

solver/643/unxlngi3.pro/inc/stl/stl/_ios_base.h
solver/643/unxlngi3.pro/inc/stl/stl/_ios.h

changed #include <utility> to #include <stl/utility> and the compile
worked.

Leave as exercise to work out a correct patch to stlport.
Comment 3 foskey 2002-09-17 12:34:59 UTC
Created attachment 2878 [details]
patches to make autodoc compile for 2.95
Comment 4 foskey 2002-09-17 12:59:36 UTC
Created attachment 2879 [details]
eliminate an empty template for 2.95 only
Comment 5 stx123 2002-09-26 12:03:11 UTC
Nikolai, would you like to join Armin in the review? Thanks, Stefan
Comment 6 foskey 2002-10-11 03:49:37 UTC
Created attachment 3125 [details]
patch for svtools/source/edit
Comment 7 foskey 2002-12-03 12:37:12 UTC
Back to making 2.95 compile...

Index: treesegment.hxx
===================================================================
RCS file: /cvs/oo/util/configmgr/source/inc/treesegment.hxx,v
retrieving revision 1.2
diff -u -b -B -r1.2 treesegment.hxx
--- treesegment.hxx	2002/03/28 08:50:15	1.2
+++ treesegment.hxx	2002/12/03 12:32:46
@@ -71,6 +71,8 @@
 #define INCLUDED_MEMORY
 #endif // INCLUDED_MEMORY
 
+#include <valuenode.hxx>
+
 //
-----------------------------------------------------------------------------
 namespace rtl { class OUString; }
 //
-----------------------------------------------------------------------------
Comment 8 foskey 2002-12-03 12:52:47 UTC
Index: gcc2_linux_intel.hxx
===================================================================
RCS file:
/cvs/oo/udk/bridges/source/cpp_uno/gcc2_linux_intel/gcc2_linux_intel.hxx,v
retrieving revision 1.1.1.1
diff -u -b -B -r1.1.1.1 gcc2_linux_intel.hxx
--- gcc2_linux_intel.hxx	2000/09/18 15:28:48	1.1.1.1
+++ gcc2_linux_intel.hxx	2002/12/03 12:48:35
@@ -134,8 +134,8 @@
 	void *original_value;
 };
 
-extern "C" {
 	void __cp_push_exception( void*, void*, void(*)(void*, int) );
+extern "C" {
 	void __throw();
 }
 
Comment 9 Unknown 2002-12-03 15:59:59 UTC
I committed the patch for treesegment.hxx on OO643C, but wonder 
about the one for gcc2_linux_intel.hxx. There is only one revision 
of this file in cvs which has it as you suggest to patch it. 

btw: did anybody successfully compile 'stoc' with gcc 2.95.3? 
I stumble over attached error message. 

armin


Making: ../../unxlngi3.pro/lib/libsec.so
/opt/gcc2-95-3/bin/gcc -c -fPIC -o
../../unxlngi3.pro/slo/sec_version.o -DUNX  -I../../unxlngi3.pro/inc
/home/buildso/OO643C/02/solenv/src/version.c
/opt/gcc2-95-3/bin/gcc -shared -Wl,--version-script
../../unxlngi3.pro/misc/sec_sec.map -L../../unxlngi3.pro/lib -L../lib
-L/home/buildso/OO643C/02/solenv/unxlngi3/lib
-L/home/buildso/OO643C/02/solver/643/unxlngi3.pro/lib
-L/home/buildso/OO643C/02/solenv/unxlngi3/lib -L/opt/j2sdk1.4.1_01/lib
-L/opt/j2sdk1.4.1_01/jre/lib/i386
-L/opt/j2sdk1.4.1_01/jre/lib/i386/client
-L/opt/j2sdk1.4.1_01/jre/lib/i386/native_threads -L/usr/X11R6/lib
../../unxlngi3.pro/slo/sec_version.o
../../unxlngi3.pro/slo/sec_description.o -o
../../unxlngi3.pro/lib/libsec.so ../../unxlngi3.pro/slo/permissions.o
../../unxlngi3.pro/slo/access_controller.o
../../unxlngi3.pro/slo/file_policy.o -lcppuhelper3GCC -lsalhelper3GCC
-lcppu -lsal -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc
rm -f ../../unxlngi3.pro/lib/check_libsec.so
mv ../../unxlngi3.pro/lib/libsec.so ../../unxlngi3.pro/lib/check_libsec.so
/home/buildso/OO643C/02/solenv/bin/checkdll.sh
-L../../unxlngi3.pro/lib -L../lib
-L/home/buildso/OO643C/02/solenv/unxlngi3/lib
-L/home/buildso/OO643C/02/solver/643/unxlngi3.pro/lib
-L/home/buildso/OO643C/02/solenv/unxlngi3/lib -L/opt/j2sdk1.4.1_01/lib
-L/opt/j2sdk1.4.1_01/jre/lib/i386
-L/opt/j2sdk1.4.1_01/jre/lib/i386/client
-L/opt/j2sdk1.4.1_01/jre/lib/i386/native_threads -L/usr/X11R6/lib
../../unxlngi3.pro/lib/check_libsec.so
Checking DLL ../../unxlngi3.pro/lib/check_libsec.so ...: ERROR:
../../unxlngi3.pro/lib/check_libsec.so: undefined symbol:
__Q24cppu13AccessControlRCQ53com3sun4star3unot9Reference1ZQ53com3sun4star3uno17XComponentContext
dmake:  Error code 1, while making '../../unxlngi3.pro/lib/libsec.so'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/home/buildso/OO643C/02/stoc/source/security
Comment 10 Unknown 2002-12-04 10:58:09 UTC
checked in the autodoc patches (2878) on OO643C
Comment 11 foskey 2002-12-13 12:10:14 UTC
The stoc error is cause by cppuhelper using broken gcc 2 map files. 
This has been disabled in OO643C and it works although there are other
may be other non-fatal errors through the compile about this.

The outstanding issue is one of the Java client in setup2.  regcomp is
giving a signal 11, not debugged yet.
Comment 12 foskey 2003-01-02 11:11:07 UTC
All source gcc 2.95 compile related issues have been resolved for OO643C.
Comment 13 michael.bemmer 2003-03-16 20:09:08 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.
Comment 14 michael.bemmer 2003-03-16 20:12:58 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.