DragonFly bugs List (threaded) for 2007-05
DragonFly BSD
DragonFly bugs List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: acpi module failing to load in 1.9.0 preview #4?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 May 2007 10:24:15 -0700 (PDT)

: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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]