Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 23:41:22 -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.1006292331380.62662@qbhto.arg>
In-Reply-To: <alpine.BSF.2.00.1006292034400.51161@qbhto.arg>
References:  <alpine.BSF.2.00.1006290952200.23004@qbhto.arg> <86zkydcl1e.fsf@gmail.com> <4C2AB9E4.4030200@FreeBSD.org> <alpine.BSF.2.00.1006292034400.51161@qbhto.arg>

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

> 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.

Never mind, compiling without the LTO option didn't help.

I had the following libmap.conf entries:
libgcc_s.so.1   gcc45/libgcc_s.so.1
libgomp.so.1    gcc45/libgomp.so.1
libobjc.so.3    gcc45/libobjc.so.2
libssp.so.0     gcc45/libssp.so.0
libstdc++.so.6  gcc45/libstdc++.so.6

I commented all of those out, went into /lib and /usr/lib and moved the 
base versions of the libraries out of the way, ran ldconfig -R, made 
sure that /usr/local/lib/gcc45/libssp.so.0 is the only ssp library, and 
then tried again, same error. The symbol appears to be in the lib:

nm libssp.so.0 | grep __stack_chk_fail_local
00000ac0 t __stack_chk_fail_local

So I'm at a loss, and pretty close to throwing in the towel and going 
back to the base gcc for everything.


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.1006292331380.62662>