From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 22 10:34:33 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 E9A84106566C for ; Thu, 22 Apr 2010 10:34:32 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 55CF88FC0A for ; Thu, 22 Apr 2010 10:34:31 +0000 (UTC) Received: from park.js.berklix.net (p549A761B.dip.t-dialin.net [84.154.118.27]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id o3MAYT7i040960; Thu, 22 Apr 2010 10:34:30 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id o3MAYPeZ016532; Thu, 22 Apr 2010 12:34:25 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id o3MAYEFg078348; Thu, 22 Apr 2010 12:34:19 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201004221034.o3MAYEFg078348@fire.js.berklix.net> To: Kostik Belousov From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 22 Apr 2010 13:21:24 +0300." <20100422102124.GP2422@deviant.kiev.zoral.com.ua> Date: Thu, 22 Apr 2010 12:34:14 +0200 Sender: jhs@berklix.com 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:34:33 -0000 Hi Kostik, Kostik Belousov wrote: > 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. I only posted to hackers@ which is for releases. I didnt post stable or current@ However, yes, sorry I could & should have stated 8.0-RELEASE > 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). OK, if things have changed since I'll leave it to others, I only have sources for stable & current here, not installed binaries. Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text, Not HTML quoted-printable Base64 http://www.asciiribbon.org