http://bugs.winehq.org/show_bug.cgi?id=58226
Bug ID: 58226 Summary: Warnings and notes when compiling from source on Arch Linux (GCC 15.1.1 20250425) Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: joni.hilger@yahoo.de Distribution: ---
Created attachment 78547 --> http://bugs.winehq.org/attachment.cgi?id=78547 Full log of the build (gzip because of size)
Hi, when compiling wine from up to date sources (taken from Gitlab today 2025-05-13) I get a few warnings (see wine-build-full.log.gz)
This is how I build it:
CFLAGS="-march=native -O3 -pipe -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection -ffat-lto-objects" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \ -Wl,-z,pack-relative-relocs" # Apply flags for cross-compilation export CROSSCFLAGS="-O2 -pipe -g" export CROSSCXXFLAGS="-O2 -pipe -g" export CROSSLDFLAGS="-Wl,-O1"
../wine/configure \ --prefix=/usr \ --libdir=/usr/lib \ --with-x \ --with-wayland \ --with-gstreamer \ --enable-win64 make ../wine/configure \ --prefix=/usr \ --libdir=/usr/lib \ --with-x \ --with-wayland \ --with-gstreamer \ --with-wine64="$srcdir/$pkgname-64-build" make
Made the following greps to have more focused logs (thought it might help): grep -C 5 "note: " wine-build-full.log > wine-build-grepped-notes.log grep -C 5 "warning: " wine-build-full.log > wine-build-grepped-warnings.log (full log is called wine-build-full.log.gz)
Thank you for your help!