pkgsrc-Bugs archive

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

Re: pkg/39633: [PATCH] Fix to ignore -Wl,-E on AIX for xlc

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

From: Joerg Sonnenberger <>
Subject: Re: pkg/39633: [PATCH] Fix to ignore -Wl,-E on AIX for xlc
Date: Sat, 27 Sep 2008 15:02:11 +0200

 On Sat, Sep 27, 2008 at 12:55:02PM +0000, Jens Rehsack wrote:
 >  >  > building shells/bash breaks at the first linker invocation because an
 >  >  > invalid argument (-Wl,-E) will be passed.
 >  >  
 >  >  The real question is what needs to be done to export symbols for use by
 >  >  shared objects. This can be set in mk/platform/,
 >  >  EXPORT_SYMBOLS_LDFLAGS. This might be compiler specific.
 >  Sure. And now? How do I differ in mk/platform/ between gcc and xlc? 
 I don't see a reason why the compiler makefiles shouldn't override it.
 Can you try just setting it to empty?
 >  The documentation I found for all those things is very poor. Does a 
 > document 
 >  like a porters handbook exists which I've simply not found?
 None, this is the magical gut of the compiler.
 I should add that the specific weiredness of the AIX linker was the
 biggest issue for me as well, e.g. it is non-transitive.

Home | Main Index | Thread Index | Old Index