I still have this problem in 2.6.5
> From: Stefan Wanner <[email protected]>
> Date: 3. April 2004 10:53:11 GMT+02:00
> To: [email protected], [email protected]
> 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
>
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.
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.
>