------- Comment #18 from danglin at gcc dot gnu dot org 2008-03-16 16:27
-------
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/pr34999.c -O2
-freorder-blocks-a
nd-partition -fprofile-use -D_PROFILE_USE -fno-show-column -lm -o
/test/gnu/g
cc/objdir/gcc/testsuite/gcc/pr34999.x02 (timeout = 300)
ld: An unknown relocation type 8 was encountered when applying the relocation
fo
r symbol ".text.unlikely" at offset 0x15c in section index 1 of file
/var/tmp//c
cFqB2Ph.o
1 errors.
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
ld: An unknown relocation type 8 was encountered when applying the relocation
fo
r symbol ".text.unlikely" at offset 0x15c in section index 1 of file
/var/tmp//c
cFqB2Ph.o
1 errors.
collect2: ld returned 1 exit status
FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE
I believe the linker is complaining about the R_PARISC_PCREL12F relocation
used in this branch.
15c: 9f f3 20 00 cmpb,*= r19,r31,164 <main+0x134>
Thought this hot and cold stuff was disabled on hppa as it breaks a lot
of stuff.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34999