Call for testing: OpenSSH 8.9
Hisashi T Fujinaka
htodd at twofifty.com
Sat Feb 12 05:25:28 AEDT 2022
On Fri, 11 Feb 2022, Darren Tucker wrote:
> On Fri, 11 Feb 2022 at 14:15, Hisashi T Fujinaka <htodd at twofifty.com> wrote:
>> I did a fresh clone and started with autoconf and now configure quits
>> with:
>>
>> checking if cc supports -Werror... yes
>> ./configure: 5859: Syntax error: Word "-pipe" unexpected (expecting ")")
>
> That's odd. What version of autoconf are you using? We use 2.69 or
> 2.70 and run "autoreconf".
>
> (What's at line 5859 will vary depending on the autoconf that
> generated it, and none of the ones I've tried have -pipe anywhere near
> that line.)
>
> You could also try a snapshot that has configure pre-built:
> http://www.mindrot.org/openssh_snap/
My autoconf is 2.71 and I ran autoreconf.
Here's more of my configure file than you asked for:
5858 if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
5859 OSSH_CHECK_CFLAG_COMPILE(-pipe)
5860 OSSH_CHECK_CFLAG_COMPILE(-Wunknown-warning-option)
5861 OSSH_CHECK_CFLAG_COMPILE(-Wno-error=format-truncation)
5862 OSSH_CHECK_CFLAG_COMPILE(-Qunused-arguments)
5863 OSSH_CHECK_CFLAG_COMPILE(-Wall)
5864 OSSH_CHECK_CFLAG_COMPILE(-Wextra)
5865 OSSH_CHECK_CFLAG_COMPILE(-Wpointer-arith)
5866 OSSH_CHECK_CFLAG_COMPILE(-Wuninitialized)
5867 OSSH_CHECK_CFLAG_COMPILE(-Wsign-compare)
5868 OSSH_CHECK_CFLAG_COMPILE(-Wformat-security)
5869 OSSH_CHECK_CFLAG_COMPILE(-Wsizeof-pointer-memaccess)
5870 OSSH_CHECK_CFLAG_COMPILE(-Wpointer-sign, -Wno-pointer-sign)
5871 OSSH_CHECK_CFLAG_COMPILE(-Wunused-parameter, -Wno-unused-parameter)
5872 OSSH_CHECK_CFLAG_COMPILE(-Wunused-result, -Wno-unused-result)
5873 OSSH_CHECK_CFLAG_COMPILE(-Wimplicit-fallthrough)
5874 OSSH_CHECK_CFLAG_COMPILE(-Wmisleading-indentation)
5875 OSSH_CHECK_CFLAG_COMPILE(-Wbitwise-instead-of-logical)
5876 OSSH_CHECK_CFLAG_COMPILE(-fno-strict-aliasing)
5877 if test "x$use_toolchain_hardening" = "x1"; then
5878 OSSH_CHECK_CFLAG_COMPILE(-mretpoline) # clang
5879 OSSH_CHECK_LDFLAG_LINK(-Wl,-z,retpolineplt)
5880 OSSH_CHECK_CFLAG_COMPILE(-D_FORTIFY_SOURCE=2)
5881 OSSH_CHECK_LDFLAG_LINK(-Wl,-z,relro)
5882 OSSH_CHECK_LDFLAG_LINK(-Wl,-z,now)
5883 OSSH_CHECK_LDFLAG_LINK(-Wl,-z,noexecstack)
--
Hisashi T Fujinaka - htodd at twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
More information about the openssh-unix-dev
mailing list