From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18424 invoked by alias); 22 Mar 2002 07:26:01 -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 18405 invoked by uid 71); 22 Mar 2002 07:26:00 -0000 Resent-Date: 22 Mar 2002 07:26:00 -0000 Resent-Message-ID: <20020322072600.18404.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, lucier@math.purdue.edu Received:(qmail 16577 invoked by uid 61); 22 Mar 2002 07:22:13 -0000 Message-Id:<20020322072213.16576.qmail@sources.redhat.com> Date: Thu, 21 Mar 2002 23:26:00 -0000 From: lucier@math.purdue.edu Reply-To: lucier@math.purdue.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/6032: -fprofile-arcs -ftest-coverage + -fPIC = trouble on sparcv9 X-SW-Source: 2002-03/txt/msg00826.txt.bz2 List-Id: >Number: 6032 >Category: target >Synopsis: -fprofile-arcs -ftest-coverage + -fPIC = trouble on sparcv9 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Mar 21 23:26:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: B. Lucier >Release: gcc version 3.1 20020321 (prerelease) >Organization: >Environment: sparcv9-sun-solaris2.8 Solaris as/ld >Description: -fPIC is evidently not compatible with -fprofile-arcs and -ftest-coverage. The following message indicates that -fPIC is disabled, but it seems that something is getting through to the assembler: banach-794% gcc -m64 -fPIC -I/home/c/lucier/local/gambit/include -O1 -fschedule-insns2 -fno-math-errno -fno-strict-aliasing -mcpu=ultrasparc -mtune=ultrasparc -Wall -W -Wno-unused -D___SINGLE_HOST -fprofile-arcs -ftest-coverage reverse.c reverse_.c cc1: warning: -fPIC and profiling conflict: disabling -fPIC /usr/ccs/bin/as: "/tmp/ccox9kSA.s": internal error: pic_relocs(): hh reltype? cc1: warning: -fPIC and profiling conflict: disabling -fPIC /usr/ccs/bin/as: "/tmp/ccox9kSA.s": internal error: pic_relocs(): hh reltype? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: