https://bugzilla.redhat.com/show_bug.cgi?id=1847058
Dan Horák <dan(a)danny.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dan(a)danny.cz
--- Comment #14 from Dan Horák <dan(a)danny.cz> ---
configure:3979: checking for EVP_sha1 in -lcrypto
configure:4004: gcc -o conftest -O3 -Wall -Waggregate-return -Wcast-align
-Wchar-subscripts -Wcomment -Wformat -Wimplicit -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wno-long-long -Wparentheses
-Wpointer-arith -Wredundant-decls -Wreturn-type -Wswitch -Wtrigraphs
-Wuninitialized -Wunused -Wwrite-strings -Wshadow -Wstrict-prototypes
-Wcast-qual -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld conftest.c -lcrypto >&5
conftest.c:18:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
18 | char EVP_sha1 ();
| ^~~~
conftest.c:20:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
20 | main ()
| ^~~~
/usr/bin/ld: /tmp/ccamYXmz.o: `EVP_sha1@@OPENSSL_1_1_0' non-PLT reloc for
symbol defined in shared library and accessed from executable (rebuild file
with -fPIC ?)
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
^^^ is the reason for build failing on s390x, the project's build-system
doesn't use the distro-wide compiler flags, thus -fPIC is missing and the check
fails
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component