pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45256: lang/gcc46 not working properly on Solaris

On 19. 8. 2011, at 16:00, Jörn Clausen wrote:

> The shared libraries found in lang/gcc46 itself (e.g. libstdc++, libgomp, 
> ...) are still broken. They depend on libgcc_s, but don't contain any runpath 
> information at all. So software using any of these features will not work.

I've hit this some time ago when I started playing with GCC 4.4 on Solaris. I 
don't remember exactly, but I have a faint memory the conversations that I 
found back then were along the line of "RPATH is evil - It is not! - It is, you 
might need to move the libs one day. - So let's use $ORIGIN. - Rubbish!" At the 
end, I opted for including the GCC lib path in crle, which seemed easier than 
messing with the GCC specs.

I never investigated how this is dealt with on other platforms, but I think the 
fact that runpath is inherited with each link (rather than reset clean as on 
Solaris) may play its role?


Home | Main Index | Thread Index | Old Index