Apache OpenOffice (AOO) Bugzilla – Issue 7584
Gcc 2.95 patches for OO643C
Last modified: 2003-03-16 20:12:58 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.
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
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.
Created attachment 2878 [details] patches to make autodoc compile for 2.95
Created attachment 2879 [details] eliminate an empty template for 2.95 only
Nikolai, would you like to join Armin in the review? Thanks, Stefan
Created attachment 3125 [details] patch for svtools/source/edit
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; } // -----------------------------------------------------------------------------
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(); }
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
checked in the autodoc patches (2878) on OO643C
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.
All source gcc 2.95 compile related issues have been resolved for OO643C.
As discussed with Armin, he thought these bug were closed, he sees all of them as verified.