This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81730] New: nvptx and finstrument-functions
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Aug 2017 10:22:29 +0000
- Subject: [Bug target/81730] New: nvptx and finstrument-functions
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81730
Bug ID: 81730
Summary: nvptx and finstrument-functions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
Test-case pr78333.c fails to compile, presumable due to -finstrument-functions
...
build-gcc/gcc/xgcc -Bbuild-gcc/gcc/ gcc/testsuite/gcc.dg/pr78333.c
-fno-diagnostics-show-caret -fdiagnostics-color=never
--sysroot=/home/vries/nvptx/mainkernel-2/install/nvptx-none
-finstrument-functions -isystem build-gcc/nvptx-none/./newlib/targ-include
-isystem newlib/libc/include -B build-gcc/nvptx-none/./newlib/
-Lbuild-gcc/nvptx-none/./newlib -mmainkernel -lm -o pr78333.exe^M
ptxas /tmp/ccAiDqeJ.o, line 62; error : State space mismatch between
instruction and address in instruction 'ld'^M
ptxas /tmp/ccAiDqeJ.o, line 74; error : State space mismatch between
instruction and address in instruction 'ld'^M
ptxas /tmp/ccAiDqeJ.o, line 62; error : Unknown symbol '%frame'^M
ptxas /tmp/ccAiDqeJ.o, line 62; error : Label expected for forward reference
of '%frame'^M
ptxas /tmp/ccAiDqeJ.o, line 74; error : Unknown symbol '%frame'^M
ptxas /tmp/ccAiDqeJ.o, line 74; error : Label expected for forward reference
of '%frame'^M
ptxas fatal : Ptx assembly aborted due to errors^M
nvptx-as: ptxas returned 255 exit status^M
compiler exited with status 1
output is:
ptxas /tmp/ccAiDqeJ.o, line 62; error : State space mismatch between
instruction and address in instruction 'ld'^M
ptxas /tmp/ccAiDqeJ.o, line 74; error : State space mismatch between
instruction and address in instruction 'ld'^M
ptxas /tmp/ccAiDqeJ.o, line 62; error : Unknown symbol '%frame'^M
ptxas /tmp/ccAiDqeJ.o, line 62; error : Label expected for forward reference
of '%frame'^M
ptxas /tmp/ccAiDqeJ.o, line 74; error : Unknown symbol '%frame'^M
ptxas /tmp/ccAiDqeJ.o, line 74; error : Label expected for forward reference
of '%frame'^M
ptxas fatal : Ptx assembly aborted due to errors^M
nvptx-as: ptxas returned 255 exit status^M
FAIL: gcc.dg/pr78333.c (test for excess errors)
...