[nas] [PATCH] Fix build failures with binutils-gold (etc.)

Erik Auerswald auerswal at unix-ag.uni-kl.de
Tue May 3 01:33:29 MDT 2011


Hi Steve,

On Sun, May 01, 2011 at 04:36:11AM +0200, Erik Auerswald wrote:
> On 05/01/2011 03:06 AM, Erik Auerswald wrote:
>> On 04/30/2011 06:24 PM, Steve McIntyre wrote:
>>> A number of projects have changed default link behaviour in
>>> binutils(-gold) such that --no-add-needed is now standard. This breaks
>>> the nas build for various of the client programs. I've just added this
>>> patch to the Debian package build which fixes the problem for me...
>>
>> The patch looks good. It adds -lXau to the build, but other than this I
>> don't see a difference in build output on Debian/Unstable.
>>
>> Is there an easy way to enable the --no-add-needed option just for testing?
>
> I was not able to reproduce any build errors by specifying  
> --no-add-needed as a linker option. Thus I did not see any difference in  
> adding -lXau besides the changed compiler invocation.

I think you are seeing an issue already fixed in SVN, but not in the
release NAS version. Please take a look at
http://radscan.com/nas/nas-ml/msg01725.html
and the following messages in the thread.

Unless you can provide evidence that there really is some problem building
some (which?) NAS clients with the --no-add-needed linker option I will not
add -lXau to the build.

Regards,
Erik



More information about the Nas mailing list