Re: Unidentified subject!
On 01/09/2002 07:51:36 PM CET Richard Zidlicky wrote:
>
>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?
Here:
.L1239:
#APP
.chip 68040
pflush (%a0)
.chip 68k
#NO_APP
clr.l %d1
jbra .L1196
.align 2
.L1193:
#APP
ptestr (%a0)
#NO_APP
jbra .L1194
.align 2
There is the .chip 68k currently in effect.
>Either the asm instruction have been reordered by the compiler or your
>binutils are very strangely configured. Which compiler?
[ia64:~]$ /opt/m68kcross/bin/m68k-unknown-linux-gcc -v
Reading specs from /opt/m68kcross/lib/gcc-lib/m68k-unknown-linux/3.0.2/specs
Configured with: ../gcc-3.0.2/configure --prefix=/opt/m68kcross --target=m68k-unknown-linux --disable-shared --disable-debug --enable-version-specific-runtime-libs --enable-languages=c,c++
Thread model: single
gcc version 3.0.2
regards,
chris
Reply to: