From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 19:09:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03FB037B401 for ; Fri, 25 Apr 2003 19:09:37 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 7AD3043F75 for ; Fri, 25 Apr 2003 19:09:36 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 66241 invoked by uid 1000); 26 Apr 2003 02:09:38 -0000 Date: Fri, 25 Apr 2003 19:09:38 -0700 (PDT) From: Nate Lawson To: Marcel Moolenaar In-Reply-To: <20030426014211.GA20277@athlon.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi-jp@jp.freebsd.org cc: current@freebsd.org Subject: Re: New ACPI diffs ready for testing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 02:09:37 -0000 On Fri, 25 Apr 2003, Marcel Moolenaar wrote: > On Fri, Apr 25, 2003 at 01:35:24AM -0700, Nate Lawson wrote: > > > > * ia64 testing > > The following warnings are fatal on ia64: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../../.. > -I../../../dev -I../../../contrib/dev/acpica > -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h > -fno-common -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 > -mno-sdata -ffreestanding -Werror ../../../dev/acpica/Osd/OsdSynch.c > cc1: warnings being treated as errors > ../../../dev/acpica/Osd/OsdSynch.c:344: warning: no previous prototype for `AcpiOsCreateLock' > ../../../dev/acpica/Osd/OsdSynch.c:360: warning: no previous prototype for `AcpiOsDeleteLock' > ../../../dev/acpica/Osd/OsdSynch.c:375: warning: no previous prototype for `AcpiOsAcquireLock' > ../../../dev/acpica/Osd/OsdSynch.c:385: warning: no previous prototype for `AcpiOsReleaseLock' > *** Error code 1 > > I'll kludge around this for now, but it's probably a good idea to > get rid of them in the final version... Impedance mismatch. Some support functions are required for 0228 and some more for 0328. I accidentally let a couple from 0328 slip into the 0228 diff (where they go unused and unprototyped by the acpica code). I'll regen the 0228 diff in place without them. BTW, I had tried to cross-compile the acpi module and ran into a problem in that -mconstant-gp did not work for the i386 compiler. Also, there is no rule to build acpi_wakecode.S on ia64 apparently: > make MACHINE_ARCH=ia64 Warning: Object directory not changed from original /usr/src/sys/modules/acpi @ -> /usr/src/sys machine -> /usr/src/sys/ia64/include touch opt_acpi.h touch opt_bus.h echo -n > opt_ddb.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pcib_if.m -h awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h make: don't know how to make acpi_wakecode.S. Stop If you can help fix cross-compilation, I would appreciate it. -Nate