public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [3.3 branch] Ada bootstrap failure on powerpc-linux
@ 2002-12-29  9:18 Matthias Klose
  2002-12-29 11:39 ` David Edelsohn
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klose @ 2002-12-29  9:18 UTC (permalink / raw)
  To: gcc, debian-gcc

../../gnatlink -v gnatpsta -o ../../gnatpsta --GCC="../../xgcc -B../../ -I../rts -I. -I/build/buildd/gcc-snapshot-20021228/src/gcc/ada"\
                      ../targtyps.o deftarg.o ../../prefix.o ../../version.o ../rts/libgnat.a  ../../../libiberty/libiberty.a  

GNATLINK 3.3 20021228 (prerelease) Copyright 1996-2002 Free Software Foundation, Inc.
xgcc -c -gnatA -gnatWb -gnatiw -B../../ -I../rts -I. -I/build/buildd/gcc-snapshot-20021228/src/gcc/ada -gnatws b~gnatpsta.adb
../../xgcc b~gnatpsta.o ../targtyps.o deftarg.o ../../prefix.o ../../version.o ../rts/ada.o ../rts/gnat.o ../rts/g-hesora.o ../rts/g-htable.o ../rts/interfac.o ../rts/system.o ../rts/s-parame.o ../rts/i-cstrea.o ../rts/s-powtab.o ../rts/s-exctab.o ../rts/a-ioexce.o ../rts/s-assert.o ../rts/s-except.o ../rts/s-stoele.o ../rts/s-mastop.o ../rts/s-imgint.o ../rts/a-tags.o ../rts/a-stream.o ../rts/s-soflin.o ../rts/s-stache.o ../rts/s-secsta.o ../rts/s-finroo.o ../rts/s-memory.o ../rts/s-stalib.o ../rts/s-strops.o ../rts/s-sopco3.o ../rts/s-sopco4.o ../rts/s-sopco5.o ../rts/s-traceb.o ../rts/a-except.o ../rts/s-unstyp.o ../rts/s-fatllf.o ../rts/s-imgllu.o ../rts/s-imguns.o ../rts/s-imgrea.o ../rts/s-stratt.o ../rts/s-finimp.o ../rts/a-finali.o ../rts/a-filico.o ../rts/s-ficobl.o ../rts/s-fileio.o ../rts/a-textio.o ./ttypef.o ./types.o ./get_targ.o ./ttypes.o ./gnatpsta.o -o ../../gnatpsta ../rts/libgnat.a ../../../libiberty/libiberty.a -L./ -L../rts/ -L/build/buildd/gcc-snapshot-20021228/src/gcc/ada/ -L/usr/lib/gcc-snapshot/lib/gcc-lib/powerpc-linux/3.3/adalib/ ../rts/libgnat.a -B../../ -I../rts -I. -I/build/buildd/gcc-snapshot-20021228/src/gcc/ada
../targtyps.o(.text+0x6a): In function `get_target_long_double_size':
: undefined reference to `rs6000_long_double_type_size'
../targtyps.o(.text+0x6e): In function `get_target_long_double_size':
: undefined reference to `rs6000_long_double_type_size'
collect2: ld returned 1 exit status
gnatlink: cannot call ../../xgcc
make[4]: *** [../../gnatpsta] Error 4
make[4]: Leaving directory `/build/buildd/gcc-snapshot-20021228/build/gcc/ada/tools'
make[3]: *** [gnattools2] Error 2
make[3]: Leaving directory `/build/buildd/gcc-snapshot-20021228/build/gcc/ada'
make[2]: *** [gnattools] Error 2
make[2]: Leaving directory `/build/buildd/gcc-snapshot-20021228/build/gcc'

not more information, the autobuilders remove the build directories
after a build ...

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

* Re: [3.3 branch] Ada bootstrap failure on powerpc-linux
  2002-12-29  9:18 [3.3 branch] Ada bootstrap failure on powerpc-linux Matthias Klose
@ 2002-12-29 11:39 ` David Edelsohn
  2002-12-29 13:19   ` Matthias Klose
  0 siblings, 1 reply; 5+ messages in thread
From: David Edelsohn @ 2002-12-29 11:39 UTC (permalink / raw)
  To: Matthias Klose; +Cc: gcc, debian-gcc

>>>>> Matthias Klose writes:

Matthias> ../targtyps.o(.text+0x6a): In function `get_target_long_double_size':
Matthias> : undefined reference to `rs6000_long_double_type_size'
Matthias> ../targtyps.o(.text+0x6e): In function `get_target_long_double_size':
Matthias> : undefined reference to `rs6000_long_double_type_size'

	This has been discussed on the GCC mailinglist before.  Because
Gnat cannot link with the GCC infrastructure defining this variable to
provide variable size, it needs to assume 64-bit long double for now.

David

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

* Re: [3.3 branch] Ada bootstrap failure on powerpc-linux
  2002-12-29 11:39 ` David Edelsohn
@ 2002-12-29 13:19   ` Matthias Klose
  2002-12-29 14:24     ` Matthias Klose
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klose @ 2002-12-29 13:19 UTC (permalink / raw)
  To: David Edelsohn; +Cc: gcc, debian-gcc

David Edelsohn writes:
> >>>>> Matthias Klose writes:
> 
> Matthias> ../targtyps.o(.text+0x6a): In function `get_target_long_double_size':
> Matthias> : undefined reference to `rs6000_long_double_type_size'
> Matthias> ../targtyps.o(.text+0x6e): In function `get_target_long_double_size':
> Matthias> : undefined reference to `rs6000_long_double_type_size'
> 
> 	This has been discussed on the GCC mailinglist before.  Because
> Gnat cannot link with the GCC infrastructure defining this variable to
> provide variable size, it needs to assume 64-bit long double for now.

I found

	http://gcc.gnu.org/ml/gcc/2002-03/msg00809.html

but this was before branching for 3.1/3.2.

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

* Re: [3.3 branch] Ada bootstrap failure on powerpc-linux
  2002-12-29 13:19   ` Matthias Klose
@ 2002-12-29 14:24     ` Matthias Klose
  2002-12-29 18:09       ` David Edelsohn
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klose @ 2002-12-29 14:24 UTC (permalink / raw)
  To: David Edelsohn, gcc, debian-gcc

Matthias Klose writes:
> David Edelsohn writes:
> > >>>>> Matthias Klose writes:
> > 
> > Matthias> ../targtyps.o(.text+0x6a): In function `get_target_long_double_size':
> > Matthias> : undefined reference to `rs6000_long_double_type_size'
> > Matthias> ../targtyps.o(.text+0x6e): In function `get_target_long_double_size':
> > Matthias> : undefined reference to `rs6000_long_double_type_size'
> > 
> > 	This has been discussed on the GCC mailinglist before.  Because
> > Gnat cannot link with the GCC infrastructure defining this variable to
> > provide variable size, it needs to assume 64-bit long double for now.
> 
> I found
> 
> 	http://gcc.gnu.org/ml/gcc/2002-03/msg00809.html
> 
> but this was before branching for 3.1/3.2.

ok, found. should this be applied to the 3.3 branch again?


2002-04-02  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.


--- src/gcc/config/rs6000/rs6000.h~	2002-12-10 23:42:32.000000000 +0100
+++ src/gcc/config/rs6000/rs6000.h	2002-12-29 20:58:22.000000000 +0100
@@ -611,6 +611,9 @@
 #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64
 #endif
 
+/* Work around rs6000_long_double_type_size dependency in ada/targtyps.c.  */
+#define WIDEST_HARDWARE_FP_SIZE 64
+
 /* Width in bits of a pointer.
    See also the macro `Pmode' defined below.  */
 #define POINTER_SIZE (TARGET_32BIT ? 32 : 64)

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

* Re: [3.3 branch] Ada bootstrap failure on powerpc-linux
  2002-12-29 14:24     ` Matthias Klose
@ 2002-12-29 18:09       ` David Edelsohn
  0 siblings, 0 replies; 5+ messages in thread
From: David Edelsohn @ 2002-12-29 18:09 UTC (permalink / raw)
  To: Matthias Klose; +Cc: gcc, debian-gcc, Geoff Keating

>>>>> Matthias Klose writes:

Matthias> ok, found. should this be applied to the 3.3 branch again?

Matthias> 2002-04-02  David Edelsohn  <edelsohn@gnu.org>

Matthias> * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.

	Maybe.  Or maybe it should be defined identically to
LIBGCC2_LONG_DOUBLE_TYPE_SIZE so if it ever is compiled with
long-double-128 it gets the appropriate target size.  I see that sol2.h
defines it, but the discussion for PowerPC was inconclusive. 

David

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

end of thread, other threads:[~2002-12-29 21:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-29  9:18 [3.3 branch] Ada bootstrap failure on powerpc-linux Matthias Klose
2002-12-29 11:39 ` David Edelsohn
2002-12-29 13:19   ` Matthias Klose
2002-12-29 14:24     ` Matthias Klose
2002-12-29 18:09       ` David Edelsohn

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