acpi module failing to load in 1.9.0 preview #4?

Matthew Dillon dillon at
Mon May 28 10:25:36 PDT 2007

:r_esp is defined static in sys/platform/pc32/acpica5/acpi_wakeup.c.  
:Removing the static...
:..made the problem go away.  But since this variable has always been 
:static, since v1.1 of this file, that doesn't feel right.
:I did, by accident, build the kernel as well as the world with GCC v4.1, 
:so maybe that's the problem.
:Apologies if this is user error, and I have a workaround with the 
:removed static for now.
:David Murray

    hmm.  Try making it static again, but remove the '= 0' assignment
    (make it the same as the other r_xxx declarations).

    The problem is probably due to an incompatibility between gcc-4.x's
    object file format and the kernel loader.

					Matthew Dillon 
					<dillon at>

More information about the Bugs mailing list