http://bugs.winehq.org/show_bug.cgi?id=29552
Bug #: 29552 Summary: Tropico 3 installer crashes with -fno-omit-frame-pointer Product: Wine Version: 1.3.31 Platform: x86 URL: http://www.fileplanet.com/204947/200000/fileinfo/Tropi co-3-Demo OS/Version: Linux Status: NEW Keywords: download, Installer, regression Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: austinenglish@gmail.com Classification: Unclassified Regression SHA1: 5cfe7db1854ff1142d598eaf49f6050676c8d547
Created attachment 38287 --> http://bugs.winehq.org/attachment.cgi?id=38287 terminal output
The installer for Tropico 3 crashes near at the end of installation when Wine was compiled with cflags="-fno-omit-frame-pointer". The crash doesn't happen if I compile Wine with cflags=-O0 or -O1. The crash occurs with the default -O2.
5cfe7db1854ff1142d598eaf49f6050676c8d547 is the first bad commit commit 5cfe7db1854ff1142d598eaf49f6050676c8d547 Author: Austin English austinenglish@gmail.com Date: Tue Oct 18 12:17:37 2011 -0700
configure: Use -fno-omit-frame-pointer when available.
:100755 100755 7325264e829e7367e212bfda3b779fe4c8ea486e 138fa8d9a14bf240d0ee68a23aab2a97c4209ea0 M configure :100644 100644 5a9fd2ba1d4119695c1f811df67800f3144c4072 363d08f8076bce38fb75b689f076f13864725a4d M configure.ac
Other bug related to this commit: bug #28938
Cflags used on my system when compiling Wine from source (from the generated Makefile): ... CFLAGS = -g -gdwarf-2 -O2 EXTRACFLAGS = -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op ...
Fedora 16 x86 gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC)