From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20645 invoked by alias); 7 May 2003 12:26:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20624 invoked by uid 71); 7 May 2003 12:26:00 -0000 Resent-Date: 7 May 2003 12:26:00 -0000 Resent-Message-ID: <20030507122600.20623.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ebotcazou@libertysurf.fr Received: (qmail 18236 invoked by uid 48); 7 May 2003 12:19:12 -0000 Message-Id: <20030507121912.18235.qmail@sources.redhat.com> Date: Wed, 07 May 2003 12:26:00 -0000 From: ebotcazou@libertysurf.fr Reply-To: ebotcazou@libertysurf.fr To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/10663: [Solaris] New configure check aborts with Sun tools. X-SW-Source: 2003-05/txt/msg00473.txt.bz2 List-Id: >Number: 10663 >Category: target >Synopsis: [Solaris] New configure check aborts with Sun tools. >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed May 07 12:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Eric Botcazou >Release: GCC 3.3pre and GCC 3.4exp >Organization: >Environment: Sparc/Solaris 2.5.1, 2.6, 2.7, 2.8, 2.9 with Sun tools. >Description: The new configure check added by 2002-11-26 Jakub Jelinek * varasm.c (default_exception_section): Move to... * except.c (default_exception_section): ... here. Make .gcc_except_table read-only if it is not expected to have any dynamic relocations and linker handles it. * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only if it is not expected to have any dynamic relocations and linker handles it. * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does when linking read-only and read-write sections together. * configure, config.in: Rebuilt. * crtstuff.c (EH_FRAME_SECTION_CONST): Define. (__EH_FRAME_BEGIN__, __FRAME_END__): Add it. is not portable. On Solaris 2.5.1, 2.6, 2.7: checking linker read-only and read-write section mixing... ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors '-shared' is not supported by Sun ld. On Solaris 2.8, 2.9: checking linker read-only and read-write section mixing... /usr/ccs/bin/as: "conftest1.s", line 1: error: statement syntax '.section "myfoosect", "a"' is not supported by Sun as. >How-To-Repeat: Configure the compiler on the aforementioned Solaris versions with Sun tools. >Fix: Disable the check on non-Dwarf2 platforms? >Release-Note: >Audit-Trail: >Unformatted: