Bug 40703 - libobjc fails to configure on Solaris
Summary: libobjc fails to configure on Solaris
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libobjc (show other bugs)
Version: lto
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 19:19 UTC by Rainer Orth
Modified: 2009-09-30 15:48 UTC (History)
1 user (show)

See Also:
Host: sparc-sun-solaris2.11
Target: sparc-sun-solaris2.11
Build: sparc-sun-solaris2.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2009-07-09 19:19:20 UTC
When building current (as of 20090709) lto branch no Solaris 11/SPARC with Sun as
or Solaris 10/x86 with /usr/sfw/bin/gas (gas 2.15), libobjc fails to configure:

configure:11129: checking for exception model to use
configure:11161: /vol/gccsrc/obj/gcc-lto-20090709/11-gcc/./gcc/xgcc -B/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/./gcc/ -B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/lib/ -isystem /vol/gcc/sparc-sun-solaris2.11/include -isystem /vol/gcc/sparc-sun-solaris2.11/sys-include    -c -x objective-c -fgnu-runtime -fobjc-exceptions -S  conftest.c >&5
configure: In function '__objc_gnu_init':
configure:11156:1: sorry, unimplemented: Multiple EH personalities are supported only with assemblers supporting .cfi.personality dirrective.
configure:11164: $? = 1
configure:11185: error: unable to detect exception model

This message (with the typo `dirrective') is from gcc/dwarf2out.c
(dwarf2out_begin_prologue), it would be better to detect or at least
document this up front rather than failing far into the build.
Comment 1 Richard Biener 2009-09-30 15:25:34 UTC
Can you check if this still applies?  It should be broken on trunk as well then.
Comment 2 Rainer Orth 2009-09-30 15:41:09 UTC
Subject: Re:  libobjc fails to configure on Solaris

rguenth at gcc dot gnu dot org writes:

> Can you check if this still applies?  It should be broken on trunk as well
> then.

you're right: the problem is gone on both sparc-sun-solaris2.11 and
i386-pc-solaris2.10 as of rev. 152243 (20090928).

	Rainer
Comment 3 Richard Biener 2009-09-30 15:48:49 UTC
Fixed then.