pkgsrc-Bugs archive

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

Re: pkg/46329 (graphics/ImageMagick: visibility on Solaris with GCC4 still broken if using native ld)



The following reply was made to PR pkg/46329; it has been noted by GNATS.

From: Hans Rosenfeld <rosenfeld%grumpf.hope-2000.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46329 (graphics/ImageMagick: visibility on Solaris with GCC4 
still broken if using native ld)
Date: Fri, 13 Apr 2012 16:15:16 +0200

 On Fri, Apr 13, 2012 at 03:54:23PM +0200, Jörn Clausen wrote:
 > >  Gcc 4.x needs some variant of objdump to be able to detect whether the
 > >  visibility attribute can be supported. This is why lang/gcc44 and
 > >  lang/gcc46 set this on SunOS:
 > >  CONFIGURE_ENV+=           OBJDUMP=/usr/sfw/bin/gobjdump
 > 
 > I don't have that configured into my GCC. And as mentioned several time, 
 > using /usr/sfw/bin is not an option for me.
 
 Well, you could point to any other objdump if you like to do so. It is
 completely irrelevant how old it is or where it comes from. It is also
 _only_ ever used during the configure check that tries to determine
 whether visibility attributes can be supported. It is not built into
 the gcc package and not used in any way after the configure check.
 
 > If you feel there is nothing to fix, please close this PR. I'll keep my 
 > changes as a local patch.
 
 Honestly, I don't see why we should patch lots of packages to always
 disable the visibility attributes when it is actually supported by both
 the linker and the compiler. Also, I can't think of any reason why
 anyone would actively refuse to build gcc in a way that enables support
 for this.
 


Home | Main Index | Thread Index | Old Index