Apache OpenOffice (AOO) Bugzilla – Issue 17420
building sparc linux with debian gcc-3.3.1 on 11rc3
Last modified: 2003-12-31 10:06:25 UTC
My diary for building with gcc-3.3.1 debian sparc linux this relates to issue #13400. There are known problems and hopefully a revised debian gcc-3.3.1 is to become available soon. using 11rc3 jim@sun:~$ uname -a Linux sun 2.4.18 #1 SMP Mon Jan 27 14:07:39 EST 2003 sparc64 GNU/Linux (1) /usr/local/oo_src/comphelper/source/misc/accessiblewrapper.cxx:413: error: cannot call member function `const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& comphelper::OProxyAggregation::getORB()' without object dmake: Error code 1, while making '../../unxlngs.pro/slo/accessiblewrapper.obj' ---* TG_SLO.MK *--- build debug=true but this did not help. Workaround is to build this module with gcc3.2.3. (2) configure rejects gcc-3.2.3 so i configure with gcc-3.3.1 then make a copy the EnvSet.sh replacing 3.3.1 with 3.2.3 three places. just source the other env when required.
(3) /usr/local/oo_src/tools/source/fsys/dirent.cxx:371: error: cannot call member function `ULONG Container::Count() const' without object same problem so built tools with gcc-3.2.3 for now
(4) /usr/local/oo_src/rsc/source/tools/rscdef.cxx:828: error: cannot call member function `ULONG Container::Count() const' without object built module rsc with gcc-3.2.3 for now
(5)In file included from /usr/local/oo_src/sot/source/base/factory.cxx:68: ../../inc/object.hxx: In copy constructor `SotObjectMemberList::SotObjectMemberList(const SotObjectMemberList&)': ../../inc/object.hxx:502: error: cannot call member function `ULONG Container::Count() const' without object built with gcc-3.2.3
(6) In file included from ../inc/srciter.hxx:64, from /usr/local/oo_src/transex3/source/localize.cxx:62: /usr/local/oo_src/solver/645/unxlngs.pro/inc/bootstrp/prj.hxx: In member function `void PrjList::ClearAndDelete()': /usr/local/oo_src/solver/645/unxlngs.pro/inc/bootstrp/prj.hxx:219: error: cannot call member function `ULONG Container::Count() const' without object built module transex3 with gcc-3.2.3
(7) vcl (8) toolkit
Created attachment 8032 [details] build guide for sparc linux
(9) uui (10) framework
These are the issues that i need help to get confirmed and committed. #15502 - boost patch needs work - how to patch to a patch? This is a workaround, until fixed in oo2 #14848 #15629 - dont include sigcontext - needs to be confirmed #15854 - compiler turn off optimisation #16582 - bridges cpp_uno patch ready needs be committed #17301 - in solver/inc/unxlngs.mk - CFLAGSNOOPT=-fno-strict-aliasing #14728 build mozilla 1.0 from source and put files into moz/zipped I do not know just which files are needed I have successfully built with debian/unstable as follows: jim@sun:~$ ld --version GNU ld version 2.14.90.0.4 20030523 Debian GNU/Linux jim@sun:~$ gcc-3.2 --version gcc-3.2 (GCC) 3.2.3 (Debian) jim@sun:~$ uname -a Linux sun 2.4.18 #1 SMP Mon Jan 27 14:07:39 EST 2003 sparc64 GNU/Linux Now trying with gcc-3.3.1 as 3.2.3 is no longer allowed by config_office/configure. To build with 3.2.3 just configure with 3.3.1 then edit LinuxSparcEnv.Set.sh to replace 3.2.3 in three places and source LinuxSparcEnv.Set.sh. 14728
more gcc-3.3.1 failed for same reasons, built with gcc-3.2.3 for now (11) uui (12) so3
(13) goodies
/usr/include/sched.h needs fixing for goodies see #17437
also for goodies debian sparc linux binutils bug 202924 to workaround i put a link in /usr/lib libbfd-2.14.90.0.1.so -> libbfd-2.14.90.0.5.so
(14) basic (15) automation
(16) setup2
(17) sfx2
It appears the patches from 13400 are now in the cvs source so trying again with gcc3.3.1
got gcc-3.3 latest cvs from gnu and ooo is building OK, still going and past (17) above with no stops.
configure should report if X11/Xaw not found
Created attachment 8217 [details] cvs diff -u from gcc 3.3 build and runs OK
also need apply the boost patch at 15502 - done by hand after building boost, then deliver again
builds OK
Created attachment 8334 [details] cvs diff -u 8 august 2003 gcc3.3
boost patch, some new NOOPTFILES for sc with gcc-3.3
sparc linux builds OK - closed