The gcc-3.3 woes are already starting. People who installed the new Dec2002gccUpdater.pkg cannot compile the atlas package any more. The problem was reported to the beginners list today, and I tracked it down to the new as. I sent the following message to the darwin-development list to see what Apple has to say about it.


-------- Original Message -------- Subject: Bug in as from Dec2002gccUpdater.pkg Date: Sun, 29 Jun 2003 18:32:15 +0200 From: Martin Costabel <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]

The Dec2002gccUpdater.pkg installs a new /usr/libexec/gcc/darwin/ppc/as
which is used even if one leaves the compiler at gcc-3.1.

This as crashes when compiling the following little fortran program from
the atlas lapack library. The version of g77 doesn't matter here, the
generated *.s file is the same  for g77 from gcc-3.1 and from gcc-3.3.

SUBROUTINE XERBLA( SRNAME, INFO )

      CHARACTER*6        SRNAME
      INTEGER            INFO

WRITE( *, FMT = 9999 )SRNAME, INFO

STOP

 9999 FORMAT( ' ** On entry to ', A6, ' parameter number ', I2, ' had ',
     $      'an illegal value' )

END

The result is the following:

costabel% g77 -c xerbla.f -save-temps
xerbla.s:50:section difference relocatable subtraction expression, "LC1"
minus "L1$pb" using a symbol at the end of section will not produce an
assembly time constant
xerbla.s:50:use a symbol with a constant value created with an
assignment instead of the expression, L_const_sym = LC1 - L1$pb
xerbla.s:49:section difference relocatable subtraction expression, "LC1"
minus "L1$pb" using a symbol at the end of section will not produce an
assembly time constant
xerbla.s:49:use a symbol with a constant value created with an
assignment instead of the expression, L_const_sym = LC1 - L1$pb

The lines in question are

    49          addis r3,r31,ha16(LC1-L1$pb)
    50          la r3,lo16(LC1-L1$pb)(r3)

With the original as from the Dec2002 dev tools, this problem does not
appear.

Help is needed, because this bug prevents people that have the
Updater.pkg installed from compiling atlas (and probably other software
as well).

--
Martin




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to