Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in as from Dec2002gccUpdater.pkg



The as error is right here, the problem is gcc is producing wrong asm, I will look into it.

Thanks,
Andrew Pinski



On Sunday, Jun 29, 2003, at 12:32 US/Eastern, Martin Costabel wrote:

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
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Bug in as from Dec2002gccUpdater.pkg (From: Martin Costabel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.