From owner-freebsd-ports@FreeBSD.ORG Sun Mar 20 17:29:26 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8544A16A4CE for ; Sun, 20 Mar 2005 17:29:26 +0000 (GMT) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D6E243D49 for ; Sun, 20 Mar 2005 17:29:22 +0000 (GMT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from i2.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) with ESMTP id j2KHSqos003765 for ; Sun, 20 Mar 2005 18:29:12 +0100 Received: (from stolz@localhost)j2KHSb5H089242 for ports@FreeBSD.org; Sun, 20 Mar 2005 18:28:37 +0100 (CET) (envelope-from stolz) Date: Sun, 20 Mar 2005 18:28:37 +0100 From: Volker Stolz To: ports@FreeBSD.org Message-ID: <20050320172837.GA86028@i2.informatik.rwth-aachen.de> References: <423BA1EC.9020806@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423BA1EC.9020806@FreeBSD.org> Cx: Adam Weinberger X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.8i Subject: Re: Max recursion level (500) exceeded. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2005 17:29:26 -0000 In gmane.os.freebsd.devel.ports, you wrote: > Mark Linimon wrote: >> On Fri, 18 Mar 2005, Adam Weinberger wrote: >>>The problem lies in the gcc32 port. It redefines USE_GCC. It, and the >>>other gcc ports, need not to do that. >> >> >> IIRC gcc3.2 had a USE_GCC definition that its internal make stuff >> needed whose existance predated the creation of bsd.gcc.mk which >> introduced a USE_GCC variable intended to be used internal to the >> ports framework which has different semantics. AFAIK gcc32 has >> been broken since that time. >> >> I do not have time to test this hypothesis but would suggest trying >> a patchset with s/USE_GCC/INTERNAL_USE_GCC/ or something. >> >> It would be great if someone could investigate and fix this problem ... > > Here is a simple solution. > First of all, OOo needs to remove the gcc32 BUILD_DEPENDS, and replace > it with USE_GCC=3.2. > Then, for each gcc port, simply replace the USE_GCC=2.7+ line with > .undef USE_GCC > > If people want to test this, I'll commit it. *sigh* I just spent some time getting my head around this. If I understand this correctly, there's no problem at all on 4.x because gcc-2 is sufficient, and the .undef doesn't seem to change anything. I wish I'd never touched this in the first place. -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME