[Autogen-users] autogen 5.16 does not build anymore with LDFLAGS="-Wl, -z, relro -Wl, --as-needed"

2012-05-12 Thread Andreas Metzler
Hello, 5.16 will not build (actually a testsuite failure) if LDFLAGS="-Wl,-z,relro -Wl,--as-needed" is set. make[4]: Entering directory `/tmp/AUTOGEN/autogen-5.16/autoopts/test' FAIL: alias.test [...] /usr/bin/ld: cannot find relro: No such file or directory [.

[Autogen-users] autogen 5.16 does not build anymore with LDFLAGS="-Wl, -z, relro -Wl, --as-needed"

2012-05-12 Thread Andreas Metzler
Hello, 5.16 will not build (actually a testsuite failure) if LDFLAGS="-Wl,-z,relro -Wl,--as-needed" is set. make[4]: Entering directory `/tmp/AUTOGEN/autogen-5.16/autoopts/test' FAIL: alias.test [...] /usr/bin/ld: cannot find relro: No such file or directory [.

Re: [Autogen-users] autogen 5.16 does not build anymore with LDFLAGS="-Wl, -z, relro -Wl, --as-needed"

2012-05-12 Thread Bruce Korb
Hi Andreas, On Sat, May 12, 2012 at 6:56 AM, Andreas Metzler wrote: > The reason for this is the addition of the option -Wl,-R to the command. > > AG_LDFLAGS is set to "-Wl,-R" by AG_TEST_LDFLAGS. ... > > Afaiui the linker's -R option requires a filename as argument, > therefore having -Wl,-R wit