* RE: gcc bug on alpha
@ 1999-03-19 8:45 Hyung Min SEO
1999-03-21 6:15 ` Richard Henderson
0 siblings, 1 reply; 6+ messages in thread
From: Hyung Min SEO @ 1999-03-19 8:45 UTC (permalink / raw)
To: axp-list
Thanks to Rechard Henderson and Tom Holroyd.
>
> On Fri, Mar 19, 1999 at 03:33:26PM +0900, Hyung Min SEO wrote:
> > I've got the mail at 10 March 1999 "subject : gcc on alpha".
> > The issue was the error message "Error: macro requires $at register whil
> > noat in effect".
>
> The bug is in your binutils.
>
> > ... on Redhat 4.2 ...
>
> Which you cannot upgrade without upgrading your distribution,
You means the bug of assembler can not upgrade without upgrading the Redhat
4.2 ?
But I must compile the kernel on Redhat 4.2.
> or being tricky. The effort for the later is not worth it.
>
> I'm rather surprised the variable $(old_gas) in arch/alpha/Makefile
> isn't `y', which should prevent those instructions from being used.
>
Please give me some detail information.
Thank you
Regards.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: gcc bug on alpha
@ 1999-03-19 10:20 Hyung Min SEO
0 siblings, 0 replies; 6+ messages in thread
From: Hyung Min SEO @ 1999-03-19 10:20 UTC (permalink / raw)
To: axp-list
> Why use the subject line "gcc bug on alpha"? This is not a gcc bug.
>
> Th problem seems to be that when you compile the kernel, there are
> some asm() statements which put instructions from the BWX extension in
> the ASM output, but then your 'as' doesn't know that your chip has
> BWX so it's trying to expand tham as macros for earlier chips.
>
> I gather you have a 21264 chip but your old 'as' doesn't know about it.
> You can presumably just tell it that you have a 21164a instead, by
> compiling with "-Wa,-m21164a". Try that.
I tried that but I got the same error.
>
> Bye,
> Rob.
>
> PS: If you want, I can send you 'binutils-2.8.1.0.1-1.alpha.rpm' for RH4
> which will upgrade your 'as' to something slightly less old than
2.7.0.2.
>
Thank you. Please send me the file.
Can I use it except gcc upgrade?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gcc bug on alpha
@ 1999-03-19 8:44 Robert Harley
0 siblings, 0 replies; 6+ messages in thread
From: Robert Harley @ 1999-03-19 8:44 UTC (permalink / raw)
To: axp-list
Why use the subject line "gcc bug on alpha"? This is not a gcc bug.
Th problem seems to be that when you compile the kernel, there are
some asm() statements which put instructions from the BWX extension in
the ASM output, but then your 'as' doesn't know that your chip has
BWX so it's trying to expand tham as macros for earlier chips.
I gather you have a 21264 chip but your old 'as' doesn't know about it.
You can presumably just tell it that you have a 21164a instead, by
compiling with "-Wa,-m21164a". Try that.
Bye,
Rob.
PS: If you want, I can send you 'binutils-2.8.1.0.1-1.alpha.rpm' for RH4
which will upgrade your 'as' to something slightly less old than 2.7.0.2.
^ permalink raw reply [flat|nested] 6+ messages in thread* gcc bug on alpha
@ 1999-03-19 6:33 Hyung Min SEO
1999-03-19 7:20 ` Richard Henderson
0 siblings, 1 reply; 6+ messages in thread
From: Hyung Min SEO @ 1999-03-19 6:33 UTC (permalink / raw)
To: hjstein, axp-list
Hi all
I've got the mail at 10 March 1999 "subject : gcc on alpha".
The issue was the error message "Error: macro requires $at register whil
noat in effect".
I got the same message while compile the kernel 2.2.1 on Redhat 4.2 ( gcc 2.
7.2.1-2 ).
I was upgrade the gcc with http://www.alphalinux.org/docs/alpha-notes/alpha-
patches-n-bugfixes.html.
But I got the same error.
The error message's source is ldbu, ldwu, stb, stw instruction of
"linux/include/asm-alpha/compiler.h" file.
I'd like to compile the kernel 2.2.x on RedHat 4.2 without upgrading the
gcc and RedHat to higher version because the libc version conflict.
Does anybody help me?
Regards.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gcc bug on alpha
1999-03-19 6:33 Hyung Min SEO
@ 1999-03-19 7:20 ` Richard Henderson
0 siblings, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1999-03-19 7:20 UTC (permalink / raw)
To: axp-list, hjstein
On Fri, Mar 19, 1999 at 03:33:26PM +0900, Hyung Min SEO wrote:
> I've got the mail at 10 March 1999 "subject : gcc on alpha".
> The issue was the error message "Error: macro requires $at register whil
> noat in effect".
The bug is in your binutils.
> ... on Redhat 4.2 ...
Which you cannot upgrade without upgrading your distribution,
or being tricky. The effort for the later is not worth it.
I'm rather surprised the variable $(old_gas) in arch/alpha/Makefile
isn't `y', which should prevent those instructions from being used.
r~
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-03-21 6:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-19 8:45 gcc bug on alpha Hyung Min SEO
1999-03-21 6:15 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1999-03-19 10:20 Hyung Min SEO
1999-03-19 8:44 Robert Harley
1999-03-19 6:33 Hyung Min SEO
1999-03-19 7:20 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox