You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug #32702860 BROKEN BUILD ON FEDORA 34 UNDEFINED REFERENCE TO SYMBOL 'CRC32_Z@@ZLIB_1.2.9'
Fedora 34 comes with gcc11 and uses -flto for release builds.
This fails to build if linked wit plain ld.
/usr/bin/ld: crc32.c.o (symbol from plugin): undefined reference to symbol
'crc32_z@@ZLIB_1.2.9'
The bug is similar to
Bug #29471723 BROKEN BUILD FEDORA 28, UNDEFINED REFERENCE TO SYMBOL '__BSS_START'
This time, it is an interference between our bundled zlib, and system zlib.
We depend indirectly on system zlib via libcrypto.
Link with -Wl,--copy-dt-needed-entries
Change-Id: Iab37cc945c834bc52ba435f378fe999ae246fefc
0 commit comments