[Bug 58226] New: Warnings and notes when compiling from source on Arch Linux (GCC 15.1.1 20250425)
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(a)winehq.org Reporter: joni.hilger(a)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! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58226 --- Comment #1 from Jonathan <joni.hilger(a)yahoo.de> --- Created attachment 78548 --> http://bugs.winehq.org/attachment.cgi?id=78548 Result of: grep -C 5 "note: " wine-build-full.log > wine-build-grepped-notes.log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58226 --- Comment #2 from Jonathan <joni.hilger(a)yahoo.de> --- Created attachment 78549 --> http://bugs.winehq.org/attachment.cgi?id=78549 Result of: grep -C 5 "warning: " wine-build-full.log > wine-build-grepped-warnings.log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58226 Jonathan <joni.hilger(a)yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joni.hilger(a)yahoo.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58226 Jonathan <joni.hilger(a)yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58226 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #3 from Zeb Figura <z.figura12(a)gmail.com> --- Most if not all of these warnings are coming from Fortify. We explicitly disable Fortify, because most of those warnings are in fact bogus, but Arch is evidently trying to bypass us by instructing the preprocessor to use Fortify directly, with -Wp,-D_FORTIFY_SOURCE=3. Can we get Arch to not do that? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla