Skip to contentSkip to conversation

"no such 386 instruction" with gcc 2.95.2

DISCUSSION David L. Nicol 5 participants 5 messages Jan 25, 2001 – Jan 28, 2001

lore
Share & tools
lore
#0 lore raw

I think I must need to upgrade my assembler, but:
2.4.0/Documentation/Changes does not list an assembler version.

make[2]: Entering directory `/mnt/sdb2/src/linux-2.4.0/drivers/md' gcc -D__KERNEL__ -I/mnt/sdb2/src/linux-2.4.0/include -Wall -Wstrict-proto types -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-sta ck-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /mnt/sdb2/src/l
inux-2.4.0/include/linux/modversions.h -DEXPORT_SYMTAB -c xor.c
{standard input}: Assembler messages:
{standard input}:996: Error: no such 386 instruction: movups' {standard input}:997: Error: no such 386 instruction: movups' {standard input}:998: Error: no such 386 instruction: movups' {standard input}:999: Error: no such 386 instruction: movups' {standard input}:1001: Error: no such 386 instruction: prefetcht0' {standard input}:1002: Error: no such 386 instruction: prefetcht0' {standard input}:1005: Error: no such 386 instruction: `movaps' {sta...
...

Signature · 7 lines
                      David Nicol 816.235.1187 [email protected]
                            Five seconds of light is a lot of data.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 3 lines · David L. Nicol

I think I must need to upgrade my assembler, but:
2.4.0/Documentation/Changes does not list an assembler version.

The gas assembler is part of binutils.

--

Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to David L. Nicol

Hi!

Quoted 6 lines

I think I must need to upgrade my assembler, but:
2.4.0/Documentation/Changes does not list an assembler version.

Quoted 15 lines

make[2]: Entering directory `/mnt/sdb2/src/linux-2.4.0/drivers/md' gcc -D__KERNEL__ -I/mnt/sdb2/src/linux-2.4.0/include -Wall -Wstrict-proto types -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-sta ck-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /mnt/sdb2/src/l
inux-2.4.0/include/linux/modversions.h -DEXPORT_SYMTAB -c xor.c
{standard input}: Assembler messages:
{standard input}:996: Error: no such 386 instruction: movups' {standard input}:997: Error: no such 386 instruction: movups' {standard input}:998: Error: no such 386 instruction: movups' {standard input}:999: Error: no such 386 instruction: movups' {standard input}:1001: Error: no such 386 instruction: prefetcht0' {standard input}:1002: Error: no such 386 instruction: prefetcht0' {standard input}:1005: Error: no such 386 instruction: `movaps' {sta...
...

Hmm, perhaps I understand: xor wants to have best routines for all possible CPUs, so it has instructions beyond 386....
Pavel

Signature · 6 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to David L. Nicol

Hi!

I have a similar problem when compiling recent 2.4.0-ac or 2.4.1-pre kernels:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -c -o i387.o i387.c
{standard input}: Assembler messages:
{standard input}:30: Error: no such 386 instruction: ldmxcsr' {standard input}:52: Error: no such 386 instruction: fxsave' {standard input}:87: Error: no such 386 instruction: fxsave' {standard input}:115: Error: no such 386 instruction: fxrstor' make[1]: *** [i387.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.0-ac11/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

I'm using binutils 2.10.1 and egcs 1.1.2.

What could be the problem?

Thanks in advance,
Jakob

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to David L. Nicol
Quoted 2 lines
Quoted 2 lines

I think I must need to upgrade my assembler, but:
2.4.0/Documentation/Changes does not list an assembler version.

It does, the "binutils" package contain the assembler and linker, et.al. of that kind utilities. The errors quoted below are definitely due to "too old" assembler.

Quoted 4 lines
Quoted 4 lines

{standard input}: Assembler messages:
{standard input}:996: Error: no such 386 instruction: movups' {standard input}:1001: Error: no such 386 instruction: prefetcht0' {standard input}:1005: Error: no such 386 instruction: `movaps'

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/