target/6032: -fprofile-arcs -ftest-coverage + -fPIC = trouble on sparcv9
lucier@math.purdue.edu
lucier@math.purdue.edu
Thu Mar 21 23:26:00 GMT 2002
>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:
More information about the Gcc-prs
mailing list