Thanks! make clean && make resolved the issue. Sorry for disturbing you. On Wed, Feb 23, 2022 at 11:27 AM Damien Miller <djm@xxxxxxxxxxx> wrote: > On Wed, 23 Feb 2022, Damien Miller wrote: > > > On Tue, 22 Feb 2022, Dmitry Belyavskiy wrote: > > > > > Current master (bc16667b4a1c3cad7029304853c143a32ae04bd4) fails on > Fedora 35 > > > when building building tests with======== > > > cc -o regress/unittests/misc/test_misc -L. -Lopenbsd-compat/ > -Wl,-z,relro > > > -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -pie > > > regress/unittests/misc/tests.o regress/unittests/misc/test_parse.o > > > regress/unittests/misc/test_expand.o > regress/unittests/misc/test_convtime.o > > > regress/unittests/misc/test_argv.o > regress/unittests/misc/test_strdelim.o > > > regress/unittests/misc/test_hpdelim.o \ > > > regress/unittests/test_helper/libtest_helper.a \ > > > -lssh -lopenbsd-compat -lssh -lopenbsd-compat -lcrypto -lz -lcrypt > > > /usr/bin/ld: regress/unittests/misc/test_hpdelim.o: relocation > R_X86_64_32 > > > against `.rodata.str1.1' can not be used when making a PIE object; > recompile > > > with -fPIE > > > > That's weird, because according to the configure output, -fPIE is already > > in CFLAGS. > > > > > Compiler flags: -g -O2 -pipe -Wno-error=format-truncation -Wall > -Wextra > > > -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security > > > -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter > > > -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation > > > -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv > -fzero-call-used-regs=all > > > -fno-builtin-memset -fstack-protector-strong -fPIE > > > > Is it possible you had an old .o file laying around from a previous > > compilation? > > > > If not, then please dig out the make output for the compilation of > > test_hpdelim.c and see whather -fPIE is applied there correctly. > > FWIW, I couldn't replicate this in a fedora35 VM > > -d -- Dmitry Belyavskiy _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev