From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 22 10:21:30 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F57D106566B for ; Thu, 22 Apr 2010 10:21:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id EF7B28FC1D for ; Thu, 22 Apr 2010 10:21:29 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o3MALOWJ007188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Apr 2010 13:21:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o3MALOrK051674; Thu, 22 Apr 2010 13:21:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o3MALOsG051673; Thu, 22 Apr 2010 13:21:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 22 Apr 2010 13:21:24 +0300 From: Kostik Belousov To: "Julian H. Stacey" Message-ID: <20100422102124.GP2422@deviant.kiev.zoral.com.ua> References: <201004211858.o3LIvx5h058066@fire.js.berklix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8SdtHY/0P4yzaavF" Content-Disposition: inline In-Reply-To: <201004211858.o3LIvx5h058066@fire.js.berklix.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: hackers@freebsd.org Subject: Re: /sys/amd64/conf/GENERIC COMPAT_FREEBSD7 a prerequisite for COMPAT_IA32 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 10:21:30 -0000 --8SdtHY/0P4yzaavF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 21, 2010 at 08:57:59PM +0200, Julian H. Stacey wrote: > Hi hackers@freebsd.org > with amd64, but not with i386, > /sys/amd64/conf/GENERIC COMPAT_FREEBSD7 is an undocemneted > pre-requisite for COMPAT_IA32 > (so those who enable COMPAT_IA32 for ports/emulators, but disable > COMPAT_FREEBSD7 as they compile all binaries on upgrade, will trip > up on it as I did). Currently I see: >=20 > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -W= all -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-proto= types -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -ffor= mat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL = -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-lim= it=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D= 1000 -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D3= 87 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asyn= chronous-unwind-tables -ffreestanding -fstack-protector -Werror ../../../c= ompat/freebsd32/freebsd32_misc.c > cc1: warnings being treated as errors > ../../../compat/freebsd32/freebsd32_misc.c: In function 'freebsd32_semsys= ': > ../../../compat/freebsd32/freebsd32_misc.c:1420: warning: implicit declar= ation of function 'freebsd7_freebsd32_semctl' > ../../../compat/freebsd32/freebsd32_misc.c:1420: warning: nested extern d= eclaration of 'freebsd7_freebsd32_semctl' > ... > ../../../compat/freebsd32/freebsd32_misc.c:1845: error: dereferencing poi= nter to incomplete type > *** Error code 1 >=20 > It could be documented in GENERIC, but better to fix it. I could > dig through sources, but I think there's people closer to config > who would prefer to commit their own fix, rather than me write a patch ? > (Does that translate as "I'm lazy" ? ;-) You did not even provided the version of the source checkout you use. There were a lot of changes in this area recently. Your error cannot happen at the specified location in recent CURRENT or RELENG_8 (this does not mean that the problem goes away with upgrade). --8SdtHY/0P4yzaavF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvQIyQACgkQC3+MBN1Mb4iakgCeIHd5L7b5BHqwRfMH4JeUht20 kKcAoKkFmWcmDsfWYTCfes2ErwvyHNRx =A9tC -----END PGP SIGNATURE----- --8SdtHY/0P4yzaavF--