This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/31013] [4.3 Regression] objc PCH is broken on powerpc-darwin again
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2007 18:59:24 -0000
- Subject: [Bug objc/31013] [4.3 Regression] objc PCH is broken on powerpc-darwin again
- References: <bug-31013-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from geoffk at gcc dot gnu dot org 2007-03-02 18:59 -------
This is because gccspec.c is adding -shared-libgcc when it sees an Objective-C
file, but inconsistently; it doesn't handle -x options, it doesn't handle the
-objC flag. On Darwin, it's wrong to add -shared-libgcc like this because the
objective-C runtime uses setjmp/longjmp exceptions and some versions of Darwin
don't have a shared libgcc to use.
--
geoffk at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |geoffk at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-02 18:59:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31013