On 8 June 2018 at 10:37, Darren Tucker <dtucker@xxxxxxxxxxx> wrote: > whereas my example is invoking via gcc. I assume you are explicitly > setting the LD env var? I can reproduce it by setting LD=ld. I think I see what's happening: the test is invoking $CC as a linker instead of $LD and they behave differently in this case. configure:6352: checking if ld supports link flag -Wl,-z,retpolineplt configure:6375: gcc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -mfunction-return=thunk -mindirect-branch=thunk -Werror -Wl,-z,retpolineplt conftest.c >&5 /usr/bin/ld: warning: -z retpolineplt ignored. -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev