From owner-freebsd-current@FreeBSD.ORG Tue Jul 19 11:23:09 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 A344D16A41C for ; Tue, 19 Jul 2005 11:23:09 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E67A43D46 for ; Tue, 19 Jul 2005 11:23:08 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j6JBN6dG090665; Tue, 19 Jul 2005 14:23:06 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 26225-06; Tue, 19 Jul 2005 14:23:05 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j6JBN5UZ090658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jul 2005 14:23:05 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j6JBMwCb018536; Tue, 19 Jul 2005 14:22:58 +0300 (EEST) (envelope-from ru) Date: Tue, 19 Jul 2005 14:22:58 +0300 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20050719112258.GF17751@ip.net.ua> References: <17725.1121505394@phk.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8JPrznbw0YAQ/KXy" Content-Disposition: inline In-Reply-To: <17725.1121505394@phk.freebsd.dk> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: current@FreeBSD.org Subject: Re: modules/acpi/acpi fails in make universe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 19 Jul 2005 11:23:09 -0000 --8JPrznbw0YAQ/KXy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 16, 2005 at 11:16:34AM +0200, Poul-Henning Kamp wrote: >=20 > When building i386/LINT in "make universe", the acpi/acpi module > fails to build: >=20 > =3D=3D=3D> acpi/acpi (depend) > Warning: Object directory not changed from original /usr/obj/bang/src0/sr= c/sys/L > INT > cc -O2 -fno-strict-aliasing -pipe -I. -I@ -c /bang/src0/src/sys/i386/ac= pica/ac > pi_wakecode.S > /bang/src0/src/sys/i386/acpica/acpi_wakecode.S:35:19: assym.s: No such fi= le or d > irectory > /bang/src0/src/sys/i386/acpica/acpi_wakecode.S: Assembler messages: > /bang/src0/src/sys/i386/acpica/acpi_wakecode.S:103: Error: suffix or oper= ands in > valid for `ljmp' > *** Error code 1 > 1 error > *** Error code 2 > @ -> /bang/src0/src/sys >=20 >=20 > Ad far as I can tell, this bit of sys/modules/acpi/acpi/Makefile > is the offending stuff, but I can't tell what's wrong: >=20 > acpi_wakecode.h: acpi_wakecode.S assym.s > ${MAKE} -f ${.CURDIR}/../../../${MACHINE_ARCH}/acpica/Makefile \ > MAKESRCPATH=3D${.CURDIR}/../../../${MACHINE_ARCH}/acpica >=20 Can you reproduce this just building a LINT kernel? I cannot, and I fail to see how this could be a problem. The failed "cc" command is run from ${.CURDIR}/../../../${MACHINE_ARCH}/acpica/Makefile and it only runs after assym.s was created. But I have found a problem building assym.s manually which needs fixed kmod.mk: %%% Index: kmod.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/conf/kmod.mk,v retrieving revision 1.192 diff -u -r1.192 kmod.mk --- kmod.mk 22 Apr 2005 17:39:58 -0000 1.192 +++ kmod.mk 19 Jul 2005 10:55:55 -0000 @@ -408,7 +408,10 @@ assym.s: @/kern/genassym.sh .endif sh @/kern/genassym.sh genassym.o > ${.TARGET} -genassym.o: @/${MACHINE_ARCH}/${MACHINE_ARCH}/genassym.c @ machine +.if exists(@) +genassym.o: @/${MACHINE_ARCH}/${MACHINE_ARCH}/genassym.c +.endif +genassym.o: @ machine ${SRCS:Mopt_*.h} ${CC} -c ${CFLAGS:N-fno-common} \ @/${MACHINE_ARCH}/${MACHINE_ARCH}/genassym.c .endif %%% If you can reproduce the breakage, please put the complete combined stdout+stderr output from a failed i386 LINT build available somewhere for download. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --8JPrznbw0YAQ/KXy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC3OKSqRfpzJluFF4RAhZpAKCa+bjys3xo1EHxzG9WEvVsANxIaQCfZwQQ wunM4hy6OqEL+imNTH4HXts= =SJr9 -----END PGP SIGNATURE----- --8JPrznbw0YAQ/KXy--