This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4
- From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Jun 2015 08:52:39 +0000
- Subject: [Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4
- Auto-submitted: auto-generated
- References: <bug-64833-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833
--- Comment #13 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Kazumoto Kojima from comment #12)
> I could reproduce the problem on trunk with '-DXS_VERSION=\"6.89\" -fwrapv
> -fno-strict-aliasing -fopenmp -O2 -fstack-protector-strong -fexceptions
> -fPIC'
> with the cross sh4-unknown-linux-gnu compiler.
Indeed, the bug is still there [1]:
gcc -std=gnu99 -c -I../ -I.. -I/usr/include/X11 -I/usr/include/freetype2
-I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -mieee -fwrapv
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fopenmp -Wall -g -fno-strict-aliasing -O2 -Wall
-pthread -O2 -g -DVERSION=\"1.3.20\" -DXS_VERSION=\"1.3.20\" -fPIC
"-I/usr/lib/sh4-linux-gnu/perl/5.20/CORE" -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
(...)
Magick.c: At top level:
Magick.xs:247:4: warning: 'LogEventTypes' defined but not used
[-Wunused-variable]
*LogEventTypes[] =
^
{standard input}: Assembler messages:
{standard input}:15085: Error: pcrel too far
{standard input}:15086: Error: pcrel too far
make[2]: *** [Magick.o] Error 1
Adrian
> [1] http://buildd.debian-ports.org/status/fetch.php?pkg=graphicsmagick&arch=sh4&ver=1.3.20-3%2Bdeb8u1&stamp=1435541933