lkml.org 
[lkml]   [1998]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectlinux-2.1.103 crashes egcs-19980517 on i586
Date
From
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.042 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site