Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 17:06:23 +0200
From:      Stanislav Grozev <tacho@factline.com>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries
Message-ID:  <20020603150623.GA6796@meerkat.dungeon>
In-Reply-To: <20020603114429.I2522-100000@mail1.hub.org>
References:  <20020603125433.GA5356@meerkat.dungeon> <20020603114429.I2522-100000@mail1.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603150623.GA6796>