* Re: cross-toolchain build script; problem with gas for sparc64
@ 2004-04-26 3:27 Ben Collins
2004-04-26 3:49 ` Dan Kegel
2004-04-26 5:12 ` Dan Kegel
0 siblings, 2 replies; 3+ messages in thread
From: Ben Collins @ 2004-04-26 3:27 UTC (permalink / raw)
To: sparclinux
On Sun, Apr 25, 2004 at 08:49:07PM -0700, Dan Kegel wrote:
> Hey folks,
> I spent some time trying to get crosstool (my gcc/glibc cross toolchain
> build script) to support the sparc64-linux target. It might be of
> interest for anyone who needs to build gcc and glibc but doesn't
> have the target handy (or who wants to do a clean build from fully
> pristine sources). Its home page is http://kegel.com/crosstool
>
> To build a gcc-3.4.0/glibc-2.3.2 toolchain targeting sparc64-linux
> with the current version of my script, you'd do
> wget http://kegel.com/crosstool/crosstool-0.28-rc7.tar.gz
> tar -xzvf crosstool-0.28-rc7.tar.gz
> cd crosstool-0.28-rc7
> sh demo-sparc64.sh
>
> Sadly, this fails at the moment with
> qp_qtoi.s:261: Error: Illegal operands: There are only 32 single
> precision f registers; [0-31]
> while building glibc.
> (See also http://sources.redhat.com/ml/binutils/2004-04/msg00686.html)
> Anyone seen that kind of error before? It's odd, since the assembler is
> being passed the -Av9a -64 options, which really ought to tell it
> there are 64 fp registers, I thought.
Well, I know for a fact that glibc-2.3.2 builds on sparc64-linux with
native toolchain, so it must be something in. It's using binutils
2.14.90.0.7.
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* cross-toolchain build script; problem with gas for sparc64
2004-04-26 3:27 cross-toolchain build script; problem with gas for sparc64 Ben Collins
@ 2004-04-26 3:49 ` Dan Kegel
2004-04-26 5:12 ` Dan Kegel
1 sibling, 0 replies; 3+ messages in thread
From: Dan Kegel @ 2004-04-26 3:49 UTC (permalink / raw)
To: sparclinux
Hey folks,
I spent some time trying to get crosstool (my gcc/glibc cross toolchain
build script) to support the sparc64-linux target. It might be of
interest for anyone who needs to build gcc and glibc but doesn't
have the target handy (or who wants to do a clean build from fully
pristine sources). Its home page is http://kegel.com/crosstool
To build a gcc-3.4.0/glibc-2.3.2 toolchain targeting sparc64-linux
with the current version of my script, you'd do
wget http://kegel.com/crosstool/crosstool-0.28-rc7.tar.gz
tar -xzvf crosstool-0.28-rc7.tar.gz
cd crosstool-0.28-rc7
sh demo-sparc64.sh
Sadly, this fails at the moment with
qp_qtoi.s:261: Error: Illegal operands: There are only 32 single precision f registers; [0-31]
while building glibc.
(See also http://sources.redhat.com/ml/binutils/2004-04/msg00686.html)
Anyone seen that kind of error before? It's odd, since the assembler is
being passed the -Av9a -64 options, which really ought to tell it
there are 64 fp registers, I thought.
Thanks,
Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross-toolchain build script; problem with gas for sparc64
2004-04-26 3:27 cross-toolchain build script; problem with gas for sparc64 Ben Collins
2004-04-26 3:49 ` Dan Kegel
@ 2004-04-26 5:12 ` Dan Kegel
1 sibling, 0 replies; 3+ messages in thread
From: Dan Kegel @ 2004-04-26 5:12 UTC (permalink / raw)
To: sparclinux
Ben Collins wrote:
>> wget http://kegel.com/crosstool/crosstool-0.28-rc7.tar.gz
>> tar -xzvf crosstool-0.28-rc7.tar.gz
>> cd crosstool-0.28-rc7
>> sh demo-sparc64.sh
>>
>>Sadly, this fails at the moment with
>> qp_qtoi.s:261: Error: Illegal operands: There are only 32 single
>> precision f registers; [0-31]
>>while building glibc.
>>(See also http://sources.redhat.com/ml/binutils/2004-04/msg00686.html)
>>Anyone seen that kind of error before? It's odd, since the assembler is
>>being passed the -Av9a -64 options, which really ought to tell it
>>there are 64 fp registers, I thought.
>
> Well, I know for a fact that glibc-2.3.2 builds on sparc64-linux with
> native toolchain, so it must be something in. It's using binutils
> 2.14.90.0.7.
I just tried 2.14.90.0.7, and the test case passes, so
I guess it's a regression in gas. I'll narrow it down
and post to binutils.
Thanks!
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-26 5:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-26 3:27 cross-toolchain build script; problem with gas for sparc64 Ben Collins
2004-04-26 3:49 ` Dan Kegel
2004-04-26 5:12 ` Dan Kegel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.