https://bugs.winehq.org/show_bug.cgi?id=54209
Bug ID: 54209 Summary: failed when link the libwine.so.1 with an error "version node not found for symbol" Product: Wine Version: 8.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winelib Assignee: wine-bugs@winehq.org Reporter: Zenitur@yandex.ru Distribution: ---
When I trying to compile Wine 8.0-rc2, I had got this error:
make[1]: Entering directory `/home/gaben/wine-8.0-rc2' gcc -std=gnu11 -m64 -o libs/wine/libwine.so.1.0 libs/wine/c_037.o libs/wine/c_10000.o libs/wine/c_10001.o libs/wine/c_10002.o \ libs/wine/c_10003.o libs/wine/c_10004.o libs/wine/c_10005.o libs/wine/c_10006.o \ libs/wine/c_10007.o libs/wine/c_10008.o libs/wine/c_10010.o libs/wine/c_10017.o \ libs/wine/c_10021.o libs/wine/c_10029.o libs/wine/c_10079.o libs/wine/c_10081.o \ libs/wine/c_10082.o libs/wine/c_1026.o libs/wine/c_1250.o libs/wine/c_1251.o libs/wine/c_1252.o \ libs/wine/c_1253.o libs/wine/c_1254.o libs/wine/c_1255.o libs/wine/c_1256.o libs/wine/c_1257.o \ libs/wine/c_1258.o libs/wine/c_1361.o libs/wine/c_20127.o libs/wine/c_20866.o libs/wine/c_20932.o \ libs/wine/c_21866.o libs/wine/c_28591.o libs/wine/c_28592.o libs/wine/c_28593.o \ libs/wine/c_28594.o libs/wine/c_28595.o libs/wine/c_28596.o libs/wine/c_28597.o \ libs/wine/c_28598.o libs/wine/c_28599.o libs/wine/c_28603.o libs/wine/c_28605.o libs/wine/c_437.o \ libs/wine/c_500.o libs/wine/c_737.o libs/wine/c_775.o libs/wine/c_850.o libs/wine/c_852.o \ libs/wine/c_855.o libs/wine/c_857.o libs/wine/c_860.o libs/wine/c_861.o libs/wine/c_862.o \ libs/wine/c_863.o libs/wine/c_864.o libs/wine/c_865.o libs/wine/c_866.o libs/wine/c_869.o \ libs/wine/c_874.o libs/wine/c_875.o libs/wine/c_932.o libs/wine/c_936.o libs/wine/c_949.o \ libs/wine/c_950.o libs/wine/casemap.o libs/wine/collation.o libs/wine/compose.o libs/wine/config.o \ libs/wine/cpsymbol.o libs/wine/cptable.o libs/wine/debug.o libs/wine/decompose.o \ libs/wine/digitmap.o libs/wine/fold.o libs/wine/ldt.o libs/wine/loader.o libs/wine/mbtowc.o \ libs/wine/mmap.o libs/wine/port.o libs/wine/sortkey.o libs/wine/string.o libs/wine/utf8.o \ libs/wine/wctomb.o libs/wine/wctype.o -shared -Wl,-soname,libwine.so.1 -ldl /usr/bin/ld: libs/wine/libwine.so.1.0: version node not found for symbol wine_is_dbcs_leadbyte@WINE_1.0 /usr/bin/ld: failed to set dynamic section sizes: Bad value collect2: error: ld returned 1 exit status make[1]: *** [libs/wine/libwine.so.1.0] Error 1 make[1]: Leaving directory `/home/gaben/wine-8.0-rc2'
Although when I reboot into my 32-bit OS there is no an error.
Searching for the last working Wine version, I'd found there is Wine 5.0.
When compile Wine 5.1, I'd got:
/usr/bin/ld: libwine.so.1.0: version node not found for symbol wine_switch_to_stack@WINE_1.0
When compile Wine 5.2, I'd got:
/usr/bin/ld: libwine.so.1.0: version node not found for symbol wine_is_dbcs_leadbyte@WINE_1.0
So the situation didn't changed since 5.2 to 8.0-rc2.
I'd found two commits that're broking the build. There them are:
https://github.com/wine-mirror/wine/commit/39138478fdd93cc0dfc1e83b85784bc46... (committed Jan 29, 2020)
After this commit I'd got "wine_switch_to_stack@WINE_1.0" symbol error
https://github.com/wine-mirror/wine/commit/831f58caa56133f8522fad1ce2b7901e6... (commited Feb 12, 2020)
And after this commit I'd got "wine_is_dbcs_leadbyte@WINE_1.0" symbol error
My build system:
CPU: AMD Phenom II (amdfam10) OS: Debian 7 (32-bit and 64-bit versions on a two partitions) Kernel: Linux 4.11 Compiler: GCC 4.9, binutils 2.22, bison 3.2 Other: Glibc 2.17, xserver 1.16