Max recursion level (500) exceeded.

Adam Weinberger adamw at FreeBSD.org
Fri Mar 18 19:51:47 PST 2005


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.

# Adam


-- 
Adam Weinberger
adamw at magnesium.net || adamw at FreeBSD.org
adamw at vectors.cx    ||   adamw at gnome.org
http://www.vectors.cx


More information about the freebsd-ports mailing list