public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [porting-dev] Compiling Error in PPC with gcc-3.2
       [not found] <20020806145545.GB25410@billgotchy.de>
@ 2002-08-06  8:13 ` Kevin B. Hendricks
  2002-08-06  8:47   ` Kevin B. Hendricks
  2002-08-06  9:10   ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin B. Hendricks @ 2002-08-06  8:13 UTC (permalink / raw)
  To: dev, Jan-Hendrik Palic; +Cc: gcc, Franz Sirl, Andreas Schwab

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/buil
>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/buil
>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/buil
>d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solenv/unxlngppc/inc
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solenv/inc
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/res -I/usr/include
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/debi
>an/local/stlport-home/stlport
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/debi
>an/local/stlport-home/include/stlport
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/debi
>an/local/stlport-home/include/stlport
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>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/build-
>tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx
> /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/build-
>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/build-
>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/build-
>tree/oo_1.0.1_src/tools/source/memmgr dmake:  Error code 1, while making
> 'build_all'
>
>
> Any hints
>
> 	Regards
> 		Jan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [porting-dev] Compiling Error in PPC with gcc-3.2
  2002-08-06  8:13 ` [porting-dev] Compiling Error in PPC with gcc-3.2 Kevin B. Hendricks
@ 2002-08-06  8:47   ` Kevin B. Hendricks
  2002-08-06  9:10   ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin B. Hendricks @ 2002-08-06  8:47 UTC (permalink / raw)
  To: dev, Jan-Hendrik Palic, gcc; +Cc: Franz Sirl, Andreas Schwab

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [porting-dev] Compiling Error in PPC with gcc-3.2
  2002-08-06  8:13 ` [porting-dev] Compiling Error in PPC with gcc-3.2 Kevin B. Hendricks
  2002-08-06  8:47   ` Kevin B. Hendricks
@ 2002-08-06  9:10   ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2002-08-06  9:10 UTC (permalink / raw)
  To: Kevin B. Hendricks; +Cc: dev, Jan-Hendrik Palic, gcc, Franz Sirl

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

"Kevin B. Hendricks" <kevin.hendricks@sympatico.ca> writes:

|> 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

I checked it in on 2002-07-16, so it's already in 3.1.1.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-06  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020806145545.GB25410@billgotchy.de>
2002-08-06  8:13 ` [porting-dev] Compiling Error in PPC with gcc-3.2 Kevin B. Hendricks
2002-08-06  8:47   ` Kevin B. Hendricks
2002-08-06  9:10   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).