Ben Collins wrote:
> On Fri, Dec 17, 1999 at 11:01:11PM +0100, Eric Delaunay wrote:
> >
> > Hello,
> >
> > I'm trying to rebuild my sparc-utils package. However it fails miserably
> > in
> > compiling tilo due to a bug in as :((
> >
> > make -C tilo-0.2/src
> > make[1]: Entering directory `/home/tmp/TT/sparc-utils-1.3/tilo-0.2/src'
> > gcc -O2 -E -o crt0.s crt0.S
> > *Initialization*:1: warning: `__SIZE_TYPE__' redefined
> > *Initialization*:1: warning: `__PTRDIFF_TYPE__' redefined
> > as -Av9 -o crt0.o crt0.s
> > crt0.S: Assembler messages:
> > crt0.S:90: Error: relocation overflow
> > make[1]: *** [crt0.o] Error 1
> > make[1]: Leaving directory `/home/tmp/TT/sparc-utils-1.3/tilo-0.2/src'
> > make: *** [build-stamp] Error 2
> >
> > Line 90 from crt0.S is:
> > sethi 0x40, %l1
> >
> > Note that this code is compiled well using slink binutils (2.9.1.0.19a-4).
> >
> > I tried binutils 2.9.5.0.19-1 and the latest 2.9.5.0.22-1 to no avail :(
>
> Well one thing I notice is that you have a mis-matched cpp and gcc (the
> redefined warnings give that away). However, I tried with current ones and
> it is still broken. Where is the
Oh yes, I forgot to upgrade cpp as well. Fixed now.
> I can't find the place where the original tilo was download from to see if
> there is a newer version, nor do I know what srpm it is in on redhat's
> site.
I got it from redhat 6.0 I guess. Did a quick look and saw it is now available
from inside the rawhide source tree
(ftp://sunsite.ms.mff.cuni.cz/OS/Linux/Distributions/Redhat-rawhide/sparc/misc/src/trees/tilo-0.2).
In effect the problem is now fixed in this release.
The line was changed from
sethi STACK_BASE, %l1
to
sethi %hi(STACK_BASE), %l1
which is more correct.
Sorry for the false alarm.
> Also, could you possibly check on the sparc32-1.1 package in redhat's
> distribution. It might be worth including (I'm going to start using it on
> the buildd).
No problem. It will be available in my next upload of sparc-utils (before
christmas I hope).
Regards.
--
Eric Delaunay | "La guerre justifie l'existence des militaires.
[EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)