On 13.04.12 11:45, Hans Rosenfeld wrote:
graphics/ImageMagick built without problems in my SunOS 5.11 bulk build using lang/gcc46. Could it be that your gcc 4.7 is not configured correctly? I can't believe that a newer gcc4 suddenly lost support for the visibility attribute.
It's the linker that does not support the code generated by GCC. As mentioned, I use /usr/ccs/bin/ld, not binutils.
I admit the patch "fixes" cases that are not broken, but as long as autoconf provides no method for determining the linker in use, this is the only workaround.
-- Jörn Clausen joern.clausen%uni-bielefeld.de@localhost Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/ Universität Bielefeld