Re: Unidentified subject!
On Wed, Jan 09, 2002 at 01:50:24AM +0100, Christian Groessler wrote:
> Hi,
>
> On 01/06/2002 11:34:18 PM CET Richard Zidlicky wrote:
> >
> >you are kidding. Use the sources from linux-m68k-cvs.apia.dhs.org, make
>
> Trying to compile I get:
>
> make[1]: Entering directory `/local/m68k-linux-cvs/linux-2.4/arch/m68k/kernel'
> /opt/m68kcross/bin/m68k-unknown-linux-gcc -D__KERNEL__ -I/local/m68k-linux-cvs/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -fno-strength-reduce -ffixed-a2 -Wa,-m68040 -m68040 -c -o traps.o traps.c
> {standard input}: Assembler messages:
> {standard input}:932: Error: invalid instruction for this architecture; needs 68030 or 68040 or 68851 -- statement `ptestr (%a0)' ignored
can you post a few lines around the line 932 of the assembler input?
There must be a '.chip 68040' shortly before the 'ptestr'
get it with:
/opt/m68kcross/bin/m68k-unknown-linux-gcc -D__KERNEL__ -I/local/m68k-linux-cvs/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -fno-strength-reduce -ffixed-a2 -m68040 -S arch/m68k/kernel/traps.c
Either the asm instruction have been reordered by the compiler or your
binutils are very strangely configured. Which compiler?
> This is with a recent binutils cvs and with binutils-2.11.2.
> Appears to be a binutils bug...
> Which binutils should I use?
depends on compiler, this particular asm statement worked for ages so its
not symptom of old binutils.
Bye
Richard
Reply to: