This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/2788: can't compile linux-2.4.2 on alpha ev5
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/2788: can't compile linux-2.4.2 on alpha ev5
- From: martin at bruli dot net
- Date: Wed, 9 May 2001 12:12:49 +0200
- Cc: martin at bruli dot net
- Reply-To: martin at bruli dot net
>Number: 2788
>Category: c
>Synopsis: Can't compile linux-2.4.2 kernel on alpha ev5
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Wed May 09 03:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: martin brulisauer
>Release: 3.0 20010312 (prerelease)
>Organization:
systime
>Environment:
System: Linux alder 2.2.16 #14 Fri May 4 12:42:19 CEST 2001 alpha EV5
Architecture: alpha ev5
host: alphaev5-unknown-linux-gnu
build: alphaev5-unknown-linux-gnu
target: alphaev5-unknown-linux-gnu
configured with: ./configure --prefix=/usr --host=alphaev5-unknown-linux --enable-shared
>Description:
GCC generates illegal assembler code on alpha ev5
when compiling the linux 2.4.2 kernel.
GCC version 2.95.3 20010315 (release)
GNU assembler version 2.10.91 (alphaev5-bruli-linux-gnu)
using BFD version 2.10.1.0.7
GNU ld version 2.10.91 (with BFD 2.10.1.0.7)
>How-To-Repeat:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.2/include -Wall -Wstrict-prototypes -O2 -f
omit-frame-pointer -fno-strict-aliasing -mcpu=ev5 -pipe -mno-fp-regs -ffixed-8 -
Wa,-mev5,-m21164 -c -o core_cia.o core_cia.c
{standard input}: Assembler messages:
{standard input}:2812: Error: macro requires $at register while noat in effect
{standard input}:2826: Error: macro requires $at register while noat in effect
{standard input}:2840: Error: macro requires $at register while noat in effect
{standard input}:2854: Error: macro requires $at register while noat in effect
{standard input}:3023: Error: macro requires $at register while noat in effect
{standard input}:3034: Error: macro requires $at register while noat in effect
{standard input}:3066: Error: macro requires $at register while noat in effect
{standard input}:3076: Error: macro requires $at register while noat in effect
make[1]: *** [core_cia.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.2/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2
>Fix:
Use GCC 3.0 (prerelease)
>Release-Note:
>Audit-Trail:
>Unformatted: