Issue 17420 - building sparc linux with debian gcc-3.3.1 on 11rc3
Summary: building sparc linux with debian gcc-3.3.1 on 11rc3
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sparcmoz
QA Contact: issues@porting
URL:
Keywords:
Depends on: 13400 15502 15629 15854 16582 17301 17437 17700 17788 17790 18088
Blocks: 18628
  Show dependency tree
 
Reported: 2003-07-25 21:50 UTC by sparcmoz
Modified: 2003-12-31 10:06 UTC (History)
1 user (show)

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


Attachments
build guide for sparc linux (7.25 KB, patch)
2003-07-26 04:28 UTC, sparcmoz
no flags Details | Diff
cvs diff -u from gcc 3.3 build and runs OK (7.29 KB, text/plain)
2003-08-02 03:59 UTC, sparcmoz
no flags Details
cvs diff -u 8 august 2003 gcc3.3 (9.65 KB, text/plain)
2003-08-08 11:51 UTC, sparcmoz
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2003-07-25 21:50:36 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.
Comment 1 sparcmoz 2003-07-25 22:32:54 UTC
(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
Comment 2 sparcmoz 2003-07-25 22:41:19 UTC
(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
Comment 3 sparcmoz 2003-07-25 23:05:37 UTC
(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
Comment 4 sparcmoz 2003-07-25 23:33:24 UTC
(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
Comment 5 sparcmoz 2003-07-26 03:03:40 UTC
(7) vcl
(8) toolkit
Comment 6 sparcmoz 2003-07-26 04:28:36 UTC
Created attachment 8032 [details]
build guide for sparc linux
Comment 7 sparcmoz 2003-07-26 07:25:52 UTC
(9) uui
(10) framework
Comment 8 sparcmoz 2003-07-26 09:01:38 UTC
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
Comment 9 sparcmoz 2003-07-26 09:14:49 UTC
more gcc-3.3.1 failed for same reasons, built with gcc-3.2.3 for now
(11) uui
(12) so3
Comment 10 sparcmoz 2003-07-26 09:59:09 UTC
(13) goodies
Comment 11 sparcmoz 2003-07-26 12:12:12 UTC
/usr/include/sched.h needs fixing for goodies see #17437
Comment 12 sparcmoz 2003-07-26 12:19:21 UTC
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
Comment 13 sparcmoz 2003-07-26 12:54:37 UTC
(14) basic
(15) automation
Comment 14 sparcmoz 2003-07-26 13:04:06 UTC
(16) setup2
Comment 15 sparcmoz 2003-07-26 22:41:44 UTC
(17) sfx2
Comment 16 sparcmoz 2003-07-27 03:40:47 UTC
It appears the patches from 13400 are now in the cvs source so trying
again with gcc3.3.1
Comment 17 sparcmoz 2003-07-31 08:11:14 UTC
got gcc-3.3 latest cvs from gnu and ooo is building OK, still going
and past (17) above with no stops.
Comment 18 sparcmoz 2003-08-01 10:54:12 UTC
configure should report if X11/Xaw not found
Comment 19 sparcmoz 2003-08-02 03:59:14 UTC
Created attachment 8217 [details]
cvs diff -u  from  gcc 3.3 build and runs OK
Comment 20 sparcmoz 2003-08-02 06:09:36 UTC
also need apply the boost patch at 15502 - done by hand after building
boost, then deliver again
Comment 21 sparcmoz 2003-08-04 08:15:16 UTC
builds OK
Comment 22 sparcmoz 2003-08-08 11:51:47 UTC
Created attachment 8334 [details]
cvs diff -u 8 august 2003 gcc3.3
Comment 23 sparcmoz 2003-08-08 11:52:52 UTC
boost patch, some new NOOPTFILES for sc with gcc-3.3
Comment 24 sparcmoz 2003-12-31 10:06:25 UTC
sparc linux builds OK - closed