linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.5-rc3: Parse error in traps.c on Alpha
@ 2004-04-06 20:16 Stefan Wanner
  2004-04-06 22:29 ` Ivan Kokshaysky
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Wanner @ 2004-04-06 20:16 UTC (permalink / raw)
  To: linux-kernel

I still have this problem in 2.6.5

> From: Stefan Wanner <stefan.wanner@postmail.ch>
> Date: 3. April 2004 10:53:11 GMT+02:00
> To: linux-alpha@vger.kernel.org, rth@kanga.twiddle.home
> Subject: 2.6.5-rc3: traps.c does not compile anymore
>
> Hello
>
> Upgrading from 2.6.4 to 2.6.5-rc3, arch/alpha/kernel/traps.c does not 
> compile anymore. What's wrong?
>
> alpha:~/src/linux-2.6.5-rc3# make
> make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
>   CHK     include/asm-alpha/asm_offsets.h
>   CHK     include/linux/compile.h
>   CC      arch/alpha/kernel/traps.o
> arch/alpha/kernel/traps.c: In function `opDEC_check':
> arch/alpha/kernel/traps.c:55: parse error before `['
> make[1]: *** [arch/alpha/kernel/traps.o] Error 1
> make: *** [arch/alpha/kernel] Error 2
> alpha:~/src/linux-2.6.5-rc3#
>
>
>
> Regards
> Stefan
>
>
>
> alpha:~# gcc -v
> Reading specs from /usr/lib/gcc-lib/alpha-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
> alpha:~# ld -v
> GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.5-rc3: Parse error in traps.c on Alpha
  2004-04-06 20:16 2.6.5-rc3: Parse error in traps.c on Alpha Stefan Wanner
@ 2004-04-06 22:29 ` Ivan Kokshaysky
  2004-04-07 18:02   ` Stefan Wanner
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Kokshaysky @ 2004-04-06 22:29 UTC (permalink / raw)
  To: Stefan Wanner; +Cc: Richard Henderson, linux-kernel

On Tue, Apr 06, 2004 at 10:16:05PM +0200, Stefan Wanner wrote:
> I still have this problem in 2.6.5
...
> > arch/alpha/kernel/traps.c: In function `opDEC_check':
> > arch/alpha/kernel/traps.c:55: parse error before `['
...
> > gcc version 2.95.4 20011002 (Debian prerelease)

This can be compiled only with gcc version >= 3.1.

Richard, should we explicitly state the minimal gcc
version requirement for 2.6 on Alpha somewhere,
or just change the opDEC inline asm to use older syntax?
To me, both ways look acceptable.

Ivan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.5-rc3: Parse error in traps.c on Alpha
  2004-04-06 22:29 ` Ivan Kokshaysky
@ 2004-04-07 18:02   ` Stefan Wanner
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Wanner @ 2004-04-07 18:02 UTC (permalink / raw)
  To: Ivan Kokshaysky; +Cc: linux-kernel

Thank you. I just upgraded to version 3.3.3 from the unstable tree... 
and it works!

Now, there is only one warning left. When a module is compiled I get 
something like this (for all modules!):

CC [M]  arch/alpha/kernel/srm_env.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for 
.got

Any idea about that?

Stefan.


On 07.04.2004, at 00:29, Ivan Kokshaysky wrote:

> On Tue, Apr 06, 2004 at 10:16:05PM +0200, Stefan Wanner wrote:
>> I still have this problem in 2.6.5
> ...
>>> arch/alpha/kernel/traps.c: In function `opDEC_check':
>>> arch/alpha/kernel/traps.c:55: parse error before `['
> ...
>>> gcc version 2.95.4 20011002 (Debian prerelease)
>
> This can be compiled only with gcc version >= 3.1.
>
> Richard, should we explicitly state the minimal gcc
> version requirement for 2.6 on Alpha somewhere,
> or just change the opDEC inline asm to use older syntax?
> To me, both ways look acceptable.
>
> Ivan.
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-07 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06 20:16 2.6.5-rc3: Parse error in traps.c on Alpha Stefan Wanner
2004-04-06 22:29 ` Ivan Kokshaysky
2004-04-07 18:02   ` Stefan Wanner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).