This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [porting-dev] Compiling Error in PPC with gcc-3.2
- From: "Kevin B. Hendricks" <kevin dot hendricks at sympatico dot ca>
- To: dev at porting dot openoffice dot org,Jan-Hendrik Palic <palic at billgotchy dot de>,gcc at gcc dot gnu dot org
- Cc: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>,Andreas Schwab <schwab at suse dot de>
- Date: Tue, 6 Aug 2002 11:43:19 -0400
- Subject: Re: [porting-dev] Compiling Error in PPC with gcc-3.2
- References: <20020806145545.GB25410@billgotchy.de> <200208061109.40951.kevin.hendricks@sympatico.ca>
Hi All,
Forget it. I looked again and it is the *reverse* of the earlier problem
we had. OOo orignally had the throw() on its set_new_handler but gcc
3.1.1-pre barfed at it. Andreas's patch really did fix that and it was
properly incorporated into gcc 3.2 (pre) based on the error message below.
Somehow the temporary workaround patch to remove the throw() from our tree
got into Jan's build (or our tree?). So this is completely an OOo
problem.
Sorry to bother you.
Kevin
The problem was that the OOo tree seems to
On August 6, 2002 11:09, Kevin B. Hendricks wrote:
> Hi Jan, Franz, and Andreas
>
> This should have been fixed in gcc 3.1.1 final and in 3.2. Perhaps this
> did not make it into 3.2 for some reason?
>
> Franz, Andreas: I thought Andreas's patch that added throw() to the
> set_new_handler was okayed for gcc 3.1.1 final and gcc 3.2? Is it going
> to be in gcc 3.2 final?
>
> http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00619.html
>
>
> Thanks,
>
> Kevin
>
> On August 6, 2002 10:55, Jan-Hendrik Palic wrote:
> > Hi ..
> > Hi Kevin :)
> >
> > I started to build build OpenOffice.org with gcc-3.2, since the
> > gcc-maintainers of Debian announced, that they are plan to switch to
> > gcc-3.2 as default compiler ....
> >
> > I got this ...
> >
> > g++-3.2 -fsigned-char -fmessage-length=0 -c -I. -I. -I../inc
> > -I../../inc -I../../unx/inc -I../../unxlngppc.pro/inc -I.
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc/stl
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc/external
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/solenv/unxlngppc/inc
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/solenv/inc
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/res -I/usr/include
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/de
> >bi an/local/stlport-home/stlport
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/de
> >bi an/local/stlport-home/include/stlport
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/de
> >bi an/local/stlport-home/include/stlport
> > -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/bu
> >il d-tree/oo_1.0.1_src/solenv/inc/Xp31 -I/usr/lib/j2se/1.3/include
> > -I/usr/lib/j2se/1.3/include/linux
> > -I/usr/lib/j2se/1.3/include/native_threads/include
> > -I/usr/X11R6/include -I/usr/lib/gcc-lib/powerpc-linux/3.2/include
> > -I/usr/include -I. -I../../res -I. -O2 -fno-schedule-insns
> > -fno-strict-aliasing
> > -fno-schedule-insns2 -fsigned-char -pipe -fno-for-scope -fpermissive
> > -fno-rtti -fexceptions -fno-enforce-eh-specs -fPIC -DLINUX -DUNX
> > -DVCL -DGCC -DC300 -DPOWERPC -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2
> > -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
> > -DSTLPORT_VERSION=400 -DPOWERPC -DPPC -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
> > -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE
> > -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641 -DMULTITHREAD -w -o
> > ../../unxlngppc.pro/obj/memmgr.o
> > /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
> >d- tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx
> > /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
> >d- tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx: In function `void
> > (* std::set_new_handler(void (*)()))()':
> > /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
> >d- tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx:126: declaration of
> > `void (* std::set_new_handler(void (*)()))()' throws different
> > exceptions /usr/include/c++/3.2/new:65: than previous declaration
> > `void (* std::set_new_handler(void (*)()) throw ())()'
> > dmake: Error code 1, while making
> > '../../unxlngppc.pro/obj/memmgr.obj' ---* TG_SLO.MK *---
> >
> > ERROR: Error 65280 occurred while making
> > /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
> >d- tree/oo_1.0.1_src/tools/source/memmgr dmake: Error code 1, while
> > making 'build_all'
> >
> >
> > Any hints
> >
> > Regards
> > Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@porting.openoffice.org
> For additional commands, e-mail: dev-help@porting.openoffice.org