Hi,

        Just a followup, the modules are also not respecting the
command line defines. This is what I've got which is totally wrong
since -Wl statements are meant for gcc not ld.

ld  -Wl,-z,combreloc -Wl,--sort-common -Wl,--enable-new-dtags -d -warn-common 
-r -d -o acpi.kld dsfield.o dsinit.o dsmethod.o dsmthdat.o dsobject.o 
dsopcode.o dsutils.o dswexec.o dswload.o dswscope.o dswstate.o evevent.o 
evgpe.o evgpeblk.o evmisc.o evregion.o evrgnini.o evsci.o evxface.o evxfevnt.o 
evxfregn.o exconfig.o exconvrt.o excreate.o exdump.o exfield.o exfldio.o 
exmisc.o exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o exoparg6.o 
exprep.o exregion.o exresnte.o exresolv.o exresop.o exstore.o exstoren.o 
exstorob.o exsystem.o exutils.o hwacpi.o hwgpe.o hwregs.o hwsleep.o hwtimer.o 
nsaccess.o nsalloc.o nsdump.o nseval.o nsinit.o nsload.o nsnames.o nsobject.o 
nsparse.o nssearch.o nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o 
psargs.o psopcode.o psparse.o psscope.o pstree.o psutils.o pswalk.o psxface.o 
rsaddr.o rscalc.o rscreate.o rsdump.o rsio.o rsirq.o rslist.o rsmemory.o 
rsmisc.o rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o tbinstal.o tbrsdt.o 
tbutils.o tbxface.o tbxfroot.o utalloc.o utclib.o utcopy.o utdebug.o utdelete.o 
uteval.o utglobal.o utinit.o utmath.o utmisc.o utobject.o utxface.o acpi.o 
acpi_button.o acpi_isab.o acpi_package.o acpi_pci.o acpi_pcib.o 
acpi_pcib_acpi.o acpi_pcib_pci.o acpi_powerres.o acpi_quirk.o acpi_resource.o 
acpi_timer.o acpi_pci_link.o acpi_thermal.o acpi_acad.o acpi_battery.o 
acpi_cmbat.o acpi_cpu.o acpi_ec.o acpi_lid.o acpi_throttle.o OsdDebug.o 
OsdHardware.o OsdInterrupt.o OsdMemory.o OsdSchedule.o OsdStream.o OsdSynch.o 
OsdTable.o OsdEnvironment.o acpi_machdep.o acpi_wakeup.o madt.o

        I use a protection define "LDFLAGS_LD_INSTEAD_OF_CC=yes" that TAKES 
care of that.
It is set in the buildkernel statement. That line should have read

ld -z combreloc --sort-common --enable-new-dtags -d -warn-common -r -d -o 
acpi.kld dsfield.o dsinit.o dsmethod.o dsmthdat.o dsobject.o dsopcode.o 
dsutils.o dswexec.o dswload.o dswscope.o dswstate.o evevent.o evgpe.o 
evgpeblk.o evmisc.o evregion.o evrgnini.o evsci.o evxface.o evxfevnt.o 
evxfregn.o exconfig.o exconvrt.o excreate.o exdump.o exfield.o exfldio.o 
exmisc.o exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o exoparg6.o 
exprep.o exregion.o exresnte.o exresolv.o exresop.o exstore.o exstoren.o 
exstorob.o exsystem.o exutils.o hwacpi.o hwgpe.o hwregs.o hwsleep.o hwtimer.o 
nsaccess.o nsalloc.o nsdump.o nseval.o nsinit.o nsload.o nsnames.o nsobject.o 
nsparse.o nssearch.o nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o 
psargs.o psopcode.o psparse.o psscope.o pstree.o psutils.o pswalk.o psxface.o 
rsaddr.o rscalc.o rscreate.o rsdump.o rsio.o rsirq.o rslist.o rsmemory.o 
rsmisc.o rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o tbinstal.o tbrsdt.o 
tbutils.o tbxface.o tbxfroot.o utalloc.o utclib.o utcopy.o utdebug.o utdelete.o 
uteval.o utglobal.o utinit.o utmath.o utmisc.o utobject.o utxface.o acpi.o 
acpi_button.o acpi_isab.o acpi_package.o acpi_pci.o acpi_pcib.o 
acpi_pcib_acpi.o acpi_pcib_pci.o acpi_powerres.o acpi_quirk.o acpi_resource.o 
acpi_timer.o acpi_pci_link.o acpi_thermal.o acpi_acad.o acpi_battery.o 
acpi_cmbat.o acpi_cpu.o acpi_ec.o acpi_lid.o acpi_throttle.o OsdDebug.o 
OsdHardware.o OsdInterrupt.o OsdMemory.o OsdSchedule.o OsdStream.o OsdSynch.o 
OsdTable.o OsdEnvironment.o acpi_machdep.o acpi_wakeup.o madt.o

        So, this is yet another thing to consider.

ps: Plz, CC: me in your responses since I am no longer subscribed
to this mailing list

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to