linux-2.1.103 crashes egcs-19980517 on i586

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Thu, 21 May 1998 15:06:32 -0400


This compiler (and egcs-19980508 at least) crash on
linux/arch/i386/kernel/bios32.c:check_pcibios. A presumably safe workaround
follows (adding __volatile__ just disallows moving the asm() around, and as
it stands, there shouldn't be any place to move it too ;-)

Will resume the build now.

--- linux/arch/i386/kernel/bios32.c.dist Thu May 21 11:27:05 1998
+++ linux/arch/i386/kernel/bios32.c Thu May 21 15:00:52 1998
@@ -543,7 +543,7 @@
pci_indirect.address = pcibios_entry + PAGE_OFFSET;

save_flags(flags); cli();
- __asm__("lcall (%%edi)\n\t"
+ __asm__ __volatile__("lcall (%%edi)\n\t"
"jc 1f\n\t"
"xor %%ah, %%ah\n"
"1:"

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu