From owner-freebsd-stable@FreeBSD.ORG Sun May 8 14:42:11 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CD6716A4E3 for ; Sun, 8 May 2005 14:42:11 +0000 (GMT) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18D9F43D70 for ; Sun, 8 May 2005 14:42:10 +0000 (GMT) (envelope-from lioux@FreeBSD.org) Received: from 201.24.15.75 (unknown [201.24.15.75]) by vette.gigo.com (Postfix) with ESMTP id CD29C5783 for ; Sun, 8 May 2005 07:42:09 -0700 (PDT) Received: (qmail 71820 invoked by uid 1001); 8 May 2005 14:41:44 -0000 Message-ID: <20050508144144.71743.qmail@exxodus.fedaykin.here> Date: Sun, 8 May 2005 11:41:22 -0300 From: Mario Sergio Fujikawa Ferreira To: freebsd-stable@FreeBSD.org References: <20050508143234.GA9159@exxodus.fedaykin.here> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20050508143234.GA9159@exxodus.fedaykin.here> User-Agent: Mutt/1.5.9i Subject: Re: make buildkernel subdirs do not respect COPTFLAGS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 14:42:11 -0000 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-comm= on -r -d -o acpi.kld dsfield.o dsinit.o dsmethod.o dsmthdat.o dsobject.o ds= opcode.o dsutils.o dswexec.o dswload.o dswscope.o dswstate.o evevent.o evgp= e.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 ex= misc.o exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o exoparg6.o expr= ep.o exregion.o exresnte.o exresolv.o exresop.o exstore.o exstoren.o exstor= ob.o exsystem.o exutils.o hwacpi.o hwgpe.o hwregs.o hwsleep.o hwtimer.o nsa= ccess.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 psa= rgs.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 rs= misc.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 utde= lete.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 a= cpi_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 OsdHardw= are.o OsdInterrupt.o OsdMemory.o OsdSchedule.o OsdStream.o OsdSynch.o OsdTa= ble.o OsdEnvironment.o acpi_machdep.o acpi_wakeup.o madt.o I use a protection define "LDFLAGS_LD_INSTEAD_OF_CC=3Dyes" 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 a= cpi.kld dsfield.o dsinit.o dsmethod.o dsmthdat.o dsobject.o dsopcode.o dsut= ils.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 ex= config.o exconvrt.o excreate.o exdump.o exfield.o exfldio.o exmisc.o exmute= x.o exnames.o exoparg1.o exoparg2.o exoparg3.o exoparg6.o exprep.o exregion= =2Eo exresnte.o exresolv.o exresop.o exstore.o exstoren.o exstorob.o exsyst= em.o exutils.o hwacpi.o hwgpe.o hwregs.o hwsleep.o hwtimer.o nsaccess.o nsa= lloc.o nsdump.o nseval.o nsinit.o nsload.o nsnames.o nsobject.o nsparse.o n= ssearch.o nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o psargs.o psopc= ode.o psparse.o psscope.o pstree.o psutils.o pswalk.o psxface.o rsaddr.o rs= calc.o rscreate.o rsdump.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o rsut= ils.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 utev= al.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 acp= i_cpu.o acpi_ec.o acpi_lid.o acpi_throttle.o OsdDebug.o OsdHardware.o OsdIn= terrupt.o OsdMemory.o OsdSchedule.o OsdStream.o OsdSynch.o OsdTable.o OsdEn= vironment.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 --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature