Article View: gnu.gcc.bug
Article #5977Objective-C 960906 broken on i386
From: Tethpub Znek
Date: Sun, 19 Jan 1997 00:00
Date: Sun, 19 Jan 1997 00:00
52 lines
2734 bytes
2734 bytes
Hi there, I'm trying to compile Objective-C code with gcc 2.7.2.1. Specifically, I want to use the gstep-base library on an i386 running FreeBSD 2.1.6. Half a year ago, when I first used the (then called) libobjects I experienced a floating point exception that forced a coredump on i386 architectures. That problem was due to a bug in config/i386/i386.md. The new gstep-base (I'm using 0.2.12) requires the use of 960906-objc patches. I built the required gcc performing these steps: 1. unpack gcc-2.7.2 2. patch to version pl9 (I used the file gcc-2.7.2-2.7.2p-pl9.diff.gz which can be found on several FreeBSD mirrors - this patch fixes several bugs on intel 3. stored configure file as configure.gcc-2.7.2p and put the configure.orig file in place 4. platforms in gcc-2.7.2 including the floating point bug) 5. use patch file gcc-2.7.2-2.7.2.1 to get a new gcc 2.7.2.1 6. use patch objc-960906-diff included in gstep-base 7. Manually merge the newly generated configure.file with the diffs in configure.gcc-2.7.2p All patches worked as expected - no rejects, nu fuzz diffs, everything in place. To my surprise the new compiler was unable to create working Objective-C code using gstep-base library. Right now it dumps core due to a Bus error: Program received signal SIGBUS, Bus error. 0x431b9 in __objc_init_install_dtable () This error is not specific to my code, it appears in any (simple) code. Did someone realize the same problem? Am I doing something wrong?! Maybe the gcc-2.7.2-2.7.2p-pl9 patch introduced new errors, in this case (or in any case) I'd be glad to receive a patch for just fixing the floating point exception and try again with it (the problem had to do with emit_call_insn as far as I recall). Thanks in advance, Marcus. ----------------------------------------------------------------------------- -- Tethpub Znek email: znek@free.de Bremer Str. 17 PGP-key: finger znek@beefree.free.de 44135 Dortmund WWW: http://beefree.free.de/ 0231 / 586 0453 FAX: 0231 / 9128991
Technical Details
Message-ID:
<5bt8ia$mc9@beefree.free.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,45b269bd29173832,start X-Google-Attributes: gid113d02,public From: znek@free.de (Tethpub Znek) Subject: Objective-C 960906 broken on i386 Date: 1997/01/19 Message-ID: <5bt8ia$mc9@beefree.free.de> X-Deja-AN: 210829110 sender: bug-gcc-request@prep.ai.mit.edu organization: A not so poorly-installed InterNetNews site x-gateway: relay2.UU.NET from bug-gcc to gnu.gcc.bug; Sun, 19 Jan 1997 08:46:28 EST newsgroups: gnu.gcc.bug