From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 19:25:53 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 A634337B401 for ; Fri, 25 Apr 2003 19:25:53 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7DA343F93 for ; Fri, 25 Apr 2003 19:25:52 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h3Q2Pqwk022872; Fri, 25 Apr 2003 19:25:52 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h3Q2PqVE043066; Fri, 25 Apr 2003 19:25:52 -0700 (PDT) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h3Q2Pq83043065; Fri, 25 Apr 2003 19:25:52 -0700 (PDT) Date: Fri, 25 Apr 2003 19:25:51 -0700 From: Marcel Moolenaar To: Nate Lawson Message-ID: <20030426022551.GB29244@athlon.pn.xcllnt.net> References: <20030426014211.GA20277@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i 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:25:54 -0000 On Fri, Apr 25, 2003 at 07:09:38PM -0700, Nate Lawson wrote: > > 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. Yeah, I ifdef'd them out after noticing they weren't used at all. I now got a link failure: linking kernel.debug evevent.o: In function `AcpiEvInitialize': ACPI_ADR_SPACE_SETUP/../../../contrib/dev/acpica/evevent.c:168: undefined reference to `AcpiEvGpeInitialize' *** Error code 1 I'll keep you posted... > 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: You probably should be using a cross-compiler for cross-builds :-) > > 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. The acpi module does not build on ia64 at all. ACPI is non-optional on ia64, so there's no need for a module. It may not be a bad idea to make the module buildable for testing purposes, but it will not be useful beyond mere building. The best way to cross-build is by starting a cross-world, which you then abort after the headers are installed in the object tree. This should leave a usable set of cross-tools you can use for buildkernel. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net