Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 20:37:27 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        Anonymous <swell.k@gmail.com>
Cc:        dinoex@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: graphics/png does not compile with gcc 4.5.1
Message-ID:  <alpine.BSF.2.00.1006292034400.51161@qbhto.arg>
In-Reply-To: <4C2AB9E4.4030200@FreeBSD.org>
References:  <alpine.BSF.2.00.1006290952200.23004@qbhto.arg> <86zkydcl1e.fsf@gmail.com> <4C2AB9E4.4030200@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jun 2010, Doug Barton wrote:

> On 06/29/10 19:27, Anonymous wrote:
>> Doug Barton <dougb@FreeBSD.org> writes:
>>
>>> Tried doing the update today, but it failed:
>>>
>>> Full log at http://people.freebsd.org/~dougb/png-gcc451.log
>>
>> Visibility and binding for that symbol are same here whether using
>> gcc45 or basegcc.
>>
>> You can try to build without -fstack-protector in bsd.sys.mk
>>
>> $ make SSP_CFLAGS=
>
> That works, so obviously something wacky is happening that is causing
> the ssp lib from gcc 4.5.1 to not be visible. Are you using anything to
> mitigate the library ordering issue we talked about last time this
> happened to me?
>
> BTW, I tried building with gcc 4.5.1 but without the entries in
> libmap.conf, no difference.

One more question. Is your gcc compiled with the LTO option? 
(/var/db/ports/gcc*/options will tell you.) I had that enabled (it's off 
by default) so I'm going to try recompiling gcc without it and see if it 
helps.


Doug

-- 

 	Improve the effectiveness of your Internet presence with
 	a domain name makeover!    http://SupersetSolutions.com/

 	Computers are useless. They can only give you answers.
 			-- Pablo Picasso




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