http://bugs.winehq.org/show_bug.cgi?id=21909
Summary: Compiling error: undefined reference to `__wine_exception_handler' Product: Wine Version: 1.0.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: adam.spragg@octaltelecom.co.uk
Created an attachment (id=26573) --> (http://bugs.winehq.org/attachment.cgi?id=26573) Output from "make" compiling wine 1.0.1
If I untar a pristine 1.0.1 source tree, and issued the following commands:
$ ./configure --prefix=/home/adam/ $ make depend $ make
I get compile errors of the form:
undefined reference to `__wine_exception_handler'
The only reference I can find to this error message on the net are bug #13299 and the mailing list/forum discussion leading up to it[0], which appears to be related to trying to build wine under a 64-bit environment.
I'm running SuSE 10/x86-32. (No, I can't upgrade the core system.)
$ uname -a Linux localhost 2.6.16.21-0.8-bigsmp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux $ lsb_release -a LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0- ia32:desktop-3.1-ia32:desktop-3.1-noarch:graphics-2.0-ia32:graphics-2.0- noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: SUSE LINUX Description: SUSE Linux Enterprise Server 10 (i586) Release: 10 Codename: n/a $ cat /etc/SuSE-release SUSE Linux Enterprise Server 10 (i586) VERSION = 10 $
I get similar errors when trying to compile 1.1.39.
[0] http://forum.winehq.org/viewtopic.php?p=5196&highlight=&sid=52a9b6ae...
http://bugs.winehq.org/show_bug.cgi?id=21909
--- Comment #1 from Adam Spragg adam.spragg@octaltelecom.co.uk 2010-03-02 09:03:39 --- Created an attachment (id=26574) --> (http://bugs.winehq.org/attachment.cgi?id=26574) The config.log file produced by ./configure --prefix=/home/adam
http://bugs.winehq.org/show_bug.cgi?id=21909
--- Comment #2 from Adam Spragg adam.spragg@octaltelecom.co.uk 2010-03-02 09:04:18 --- Created an attachment (id=26575) --> (http://bugs.winehq.org/attachment.cgi?id=26575) The config.status file produced by ./configure --prefix=/home/adam
http://bugs.winehq.org/show_bug.cgi?id=21909
--- Comment #3 from Adam Spragg adam.spragg@octaltelecom.co.uk 2010-03-02 09:06:16 --- Created an attachment (id=26576) --> (http://bugs.winehq.org/attachment.cgi?id=26576) Output from "make" compiling wine 1.1.39, with similar errors to 1.0.1
http://bugs.winehq.org/show_bug.cgi?id=21909
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-03-02 09:29:27 --- That's a compiler bug, specifically http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27758.
It happens because you are passing custom CFLAGS; if you use the default -g -O2 it won't trigger the bug.
http://bugs.winehq.org/show_bug.cgi?id=21909
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2010-03-02 11:19:02 --- Closing.