From owner-freebsd-current Mon Jun 3 17:21:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id 78D2137B404 for ; Mon, 3 Jun 2002 17:21:29 -0700 (PDT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id CAF54103C56; Mon, 3 Jun 2002 21:21:24 -0300 (ADT) Date: Mon, 3 Jun 2002 21:21:24 -0300 (ADT) From: "Marc G. Fournier" To: Stanislav Grozev Cc: freebsd-current@freebsd.org Subject: Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries In-Reply-To: <20020603150623.GA6796@meerkat.dungeon> Message-ID: <20020603211621.V2522-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG has any of this been reported to the XFree86 folk? I just CVSup'd the latest XFree86 source code and this #pragma condition appears to still exist :( On Mon, 3 Jun 2002, Stanislav Grozev wrote: > On Mon, Jun 03, 2002 at 11:44:43AM -0300, Marc G. Fournier wrote: > > > > stupid question, but what is the fix for the #pragma weak issue? :( > > you replace > #pragma weak foo = bar > with either > #pragma weak foo = "bar" /* this is easier */ > or > if __GNUC__ >= 3 > int foo() __attribute__ ((weak, alias ("bar"))); > #endif /* __GNUC__ */ > . > :-) > > but that only gets you to the Mesa mess;-( > > -tacho > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message