vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"

PGNet Dev pgnet.dev at gmail.com
Fri Jun 8 11:14:42 AEST 2018


On 6/7/18 6:08 PM, Darren Tucker wrote:
> On 8 June 2018 at 10:52, PGNet Dev <pgnet.dev at gmail.com> wrote:
> [...]
>> So, there's a problem for OpenSSH build with spec'ing LD=/usr/bin/ld ?
> 
> in this particular case, apparently yes.  not generally, though.

ok

> [...]
>> What's *intended* re: openssh?  Support for LD=ld or only =gcc, or undef'd ?
> 
> Well the intent is you should be able to set CC and LD to whatever you
> want as long as they work.  In this case, the OSSH_CHECK_LDFLAG_LINK
> test invokes autoconf's AC_LINK_IFELSE with uses CC not LD.  I'm not
> sure what to do about it yet though.

cmake! ;-)



More information about the openssh-unix-dev mailing list