https://bugs.winehq.org/show_bug.cgi?id=48888
Bug ID: 48888 Summary: error: redefinition of typedef ‘_onexit_t’ [/dlls/d3dcompiler_33] Product: Wine Version: 5.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: version2013@protonmail.com Distribution: ---
in distro:
# uname --kernel-release 3.0.66
# gcc --version 4.3.4
# ldd --version 2.10.1
Compiling wine-5.5 fails with: error: redefinition of typedef ‘_onexit_t’
I imagine other bug [1] is still present, but this new bug stops compilation first.
[1] https://bugs.winehq.org/show_bug.cgi?id=47907
https://bugs.winehq.org/show_bug.cgi?id=48888
--- Comment #1 from Nathan Bennett version2013@protonmail.com --- Created attachment 66834 --> https://bugs.winehq.org/attachment.cgi?id=66834 compilation error log
https://bugs.winehq.org/show_bug.cgi?id=48888
Nathan Bennett version2013@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=48888
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- I've encountered some build errors of this kind; they go away if I run `make clean` in the offending directory.
That this happens is still probably a bug in our build system, but it may not be worth fixing.
https://bugs.winehq.org/show_bug.cgi?id=48888
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Never mind, I guess that's a different problem.
That sure is an old compiler...
https://bugs.winehq.org/show_bug.cgi?id=48888
--- Comment #4 from Nathan Bennett version2013@protonmail.com --- My bisect attempt:
# cd /opt # git clone git://source.winehq.org/git/wine.git wine-git/ # cd wine-git/ # git bisect start # git bisect good wine-5.4 # git bisect bad wine-5.5
# 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 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 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 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 0a9ca2d3f23baa8b245a91993a27aebe81655fc8 is the first bad commit commit 0a9ca2d3f23baa8b245a91993a27aebe81655fc8 Author: Jacek Caban jacek@codeweavers.com Date: Tue Mar 17 15:01:17 2020 +0100
corecrt_startup.h: Add onexit table declarations.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 2a20f3dcaafac979339947f7aed63ae3ef49b2f7 40b72e2a7b3a5c1ff0e82340aeb187b42ff37415 M include #
https://bugs.winehq.org/show_bug.cgi?id=48888
Nathan Bennett version2013@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |0a9ca2d3f23baa8b245a91993a2 | |7aebe81655fc8
https://bugs.winehq.org/show_bug.cgi?id=48888
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #5 from Vijay Kamuju infyquest@gmail.com --- This should have been fixed by https://source.winehq.org/git/wine.git/commit/d45e36f5f8253a3e122f874ceb7073... Confirm
https://bugs.winehq.org/show_bug.cgi?id=48888
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |d45e36f5f8253a3e122f874ceb7 | |07387f1ef5b33
--- Comment #6 from Vijay Kamuju infyquest@gmail.com --- fixed
https://bugs.winehq.org/show_bug.cgi?id=48888
--- Comment #7 from Nathan Bennett version2013@protonmail.com --- Compiling wine-5.5 with patch applied results in compilation stopping at other bug [1].
Thank you for the successful patch.
[1] https://bugs.winehq.org/show_bug.cgi?id=47907
https://bugs.winehq.org/show_bug.cgi?id=48888
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.6.