[Scummvm-git-logs] scummvm master -> f29c7103d9fa1fab65d21953a48dce68d44dc280

eriktorbjorn noreply at scummvm.org
Sun Oct 15 05:40:00 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f29c7103d9 CONFIGURE: Update DWARF version comment after Discord feedback


Commit: f29c7103d9fa1fab65d21953a48dce68d44dc280
    https://github.com/scummvm/scummvm/commit/f29c7103d9fa1fab65d21953a48dce68d44dc280
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2023-10-15T07:39:34+02:00

Commit Message:
CONFIGURE: Update DWARF version comment after Discord feedback

Changed paths:
    configure


diff --git a/configure b/configure
index ff5ca4f1ed2..4cb406a2243 100755
--- a/configure
+++ b/configure
@@ -2456,11 +2456,11 @@ if test "$_debug_build" != no; then
 
 	echo "int main() { return 0; }" > $TMPC
 
-	# HACK: The default DWARF version "for most targets" is 5. However, that
-	#       causes a segfault on at least some Linux distributions. Related
-	#       to https://sourceware.org/bugzilla/show_bug.cgi?id=15447
-	#       perhaps? That bug report suggests using DWARF version 4, so
-	#       let's do that for now, because it seems to work.
+	# HACK: The default DWARF version "for most targets" is 5. However,
+	#       that version causes dwp to segfault. According to
+	#       https://sourceware.org/bugzilla/show_bug.cgi?id=26219 it just
+	#       isn't implemented, and there's no fix in sight. So we force
+	#       DWARF version 4 and hope that works for, well... "most targets".
 
 	if `which $_dwp >/dev/null 2>&1` && cc_check_no_clean $debug_mode -gsplit-dwarf -gdwarf-4 && `$_dwp -e $TMPO -o /dev/null >/dev/null 2>&1`; then
 		append_var CXXFLAGS "-gsplit-dwarf -gdwarf-4"




More information about the Scummvm-git-logs mailing list