From owner-freebsd-current Mon Jun 3 8: 1:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from daemonz.org (TK212017094177.teleweb.at [212.17.94.177]) by hub.freebsd.org (Postfix) with SMTP id B4F1737B405 for ; Mon, 3 Jun 2002 08:01:47 -0700 (PDT) Received: (qmail 7149 invoked by uid 1001); 3 Jun 2002 15:06:23 -0000 Date: Mon, 3 Jun 2002 17:06:23 +0200 From: Stanislav Grozev To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org Subject: Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries Message-ID: <20020603150623.GA6796@meerkat.dungeon> References: <20020603125433.GA5356@meerkat.dungeon> <20020603114429.I2522-100000@mail1.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020603114429.I2522-100000@mail1.hub.org> User-Agent: Mutt/1.3.99i 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 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