https://bugs.winehq.org/show_bug.cgi?id=47443
Bug ID: 47443 Summary: compile error: undefined reference to `clock_gettime' Product: Wine Version: 4.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: version2013@protonmail.com Distribution: ---
compiling error in wine-4.10
undefined reference to `clock_gettime'
--------- distro 1:
kernel release 2.6.30.5 # uname --kernel-release
compiler version 4.2.2 # gcc --version
glibc 2.6.1 # ldd --version
--------- distro 2:
kernel release 3.0.66 # uname --kernel-release
compiler version 4.3.4 # gcc --version
glibc 2.10.1 # ldd --version
https://bugs.winehq.org/show_bug.cgi?id=47443
--- Comment #1 from Nathan version2013@protonmail.com --- Created attachment 64798 --> https://bugs.winehq.org/attachment.cgi?id=64798 log.txt
https://bugs.winehq.org/show_bug.cgi?id=47443
--- Comment #2 from Nathan version2013@protonmail.com --- bisect:
# cd /opt # git clone git://source.winehq.org/git/wine.git wine-git/ # cd wine-git/ # git bisect start # git bisect good wine-4.9 # git bisect bad wine-4.10 # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect bad # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect good # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect good # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect bad # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect bad # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect good # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect good # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect bad # CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-x --libdir=/usr/lib32 CFLAGS="-g -O0 -march=i486 -mtune=i686" --verbose && make
# git bisect bad 13e11d3fcbcf8790e031c4bc52f5f550b1377b3b is the first bad commit commit 13e11d3fcbcf8790e031c4bc52f5f550b1377b3b Author: Huw Davies huw@codeweavers.com Date: Thu May 30 09:49:08 2019 +0100
kernel32: Move the implementation of GetTickCount() to kernel32.
Fixes regression caused by 3e927c4aec9dbeef930b83f62ee0651b8c147247.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47265 Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 446813271642371819a909ab57450328d1295b41 d4f80aa05030df3e837f3885ad19735c65ff86f7 M dlls #
https://bugs.winehq.org/show_bug.cgi?id=47443
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d5d43ac9071cf53ca3f6eaa7179 | |f55c6e28c5825 CC| |z.figura12@gmail.com Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- This is already fixed by https://source.winehq.org/git/wine.git/commitdiff/d5d43ac9071cf53ca3f6eaa717...; please update to wine 4.11.
https://bugs.winehq.org/show_bug.cgi?id=47443
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.12.
https://bugs.winehq.org/show_bug.cgi?id=47443
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@winehq.org Keywords| |regression Regression SHA1| |13e11d3fcbcf8790e031c4bc52f | |5f550b1377b3b