public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64833] New: [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4
Date: Wed, 28 Jan 2015 11:50:00 -0000	[thread overview]
Message-ID: <bug-64833-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833

            Bug ID: 64833
           Summary: [SH]: Error: pcrel too far when compiling imagemagick
                    and graphicsmagick on Debian sh4
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glaubitz at physik dot fu-berlin.de

Hello!

Both imagemagick and graphicsmagick currently fail to build from source on
Debian sh4 with the current version of gcc, 4.9.2.

Both packages used to build fine with gcc-4.6, so I assume it's a regression in
gcc-4.8/4.9.

imagemagick [1]:

/usr/bin/perl /usr/share/perl/5.20.1/ExtUtils/xsubpp  -typemap
/usr/share/perl/5.20/ExtUtils/typemap -typemap typemap Q16.xs > Q16.xsc && mv
Q16.xsc Q16.c
gcc -std=gnu99 -std=gnu99 -c  -I../ -I../../../.. -D_FORTIFY_SOURCE=2
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/X11
-I/usr/include/libxml2 -I"/usr/include/ImageMagick" -D_REENTRANT -D_GNU_SOURCE
-DDEBIAN -mieee -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/lqr-1
-I/usr/include/glib-2.0 -I/usr/lib/sh4-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -fopenmp -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -O2 -g   -DVERSION=\"6.89\" -DXS_VERSION=\"6.89\"
-fPIC "-I/usr/lib/sh4-linux-gnu/perl/5.20/CORE"  -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES=1 -DHAVE_CONFIG_H Q16.c
{standard input}: Assembler messages:
{standard input}:5204: Error: pcrel too far
make[4]: *** [Q16.o] Error 1

graphicsmagick [2]:

In file included from Magick.xs:58:0:
/usr/lib/sh4-linux-gnu/perl/5.20/CORE/XSUB.h:183:20: warning: unused variable
'ix' [-Wunused-variable]
 #define dXSI32 I32 ix = XSANY.any_i32
                    ^
Magick.c:7874:5: note: in expansion of macro 'dXSI32'
     dXSI32;
     ^
Magick.c: At top level:
Magick.xs:247:4: warning: 'LogEventTypes' defined but not used
[-Wunused-variable]
   *LogEventTypes[] =
    ^
{standard input}: Assembler messages:
{standard input}:15081: Error: pcrel too far
{standard input}:15082: Error: pcrel too far
make[2]: *** [Magick.o] Error 1
Makefile:348: recipe for target 'Magick.o' failed

Cheers,
Adrian

> [1] http://buildd.debian-ports.org/status/fetch.php?pkg=imagemagick&arch=sh4&ver=8%3A6.8.9.9-5&stamp=1422394497
> [2] http://buildd.debian-ports.org/status/fetch.php?pkg=graphicsmagick&arch=sh4&ver=1.3.20-3&stamp=1417619120


             reply	other threads:[~2015-01-28 11:50 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 11:50 glaubitz at physik dot fu-berlin.de [this message]
2015-02-15 21:29 ` [Bug c/64833] " olegendo at gcc dot gnu.org
2015-02-15 22:12 ` [Bug target/64833] " olegendo at gcc dot gnu.org
2015-02-15 22:44 ` glaubitz at physik dot fu-berlin.de
2015-02-25 20:12 ` olegendo at gcc dot gnu.org
2015-02-25 20:33 ` glaubitz at physik dot fu-berlin.de
2015-03-15 11:44 ` glaubitz at physik dot fu-berlin.de
2015-06-28 13:18 ` olegendo at gcc dot gnu.org
2015-06-28 15:16 ` glaubitz at physik dot fu-berlin.de
2015-06-28 15:24 ` glaubitz at physik dot fu-berlin.de
2015-06-29  5:07 ` olegendo at gcc dot gnu.org
2015-06-29  5:45 ` kkojima at gcc dot gnu.org
2015-06-29  8:52 ` glaubitz at physik dot fu-berlin.de
2015-06-29 14:48 ` olegendo at gcc dot gnu.org
2015-06-29 23:36 ` kkojima at gcc dot gnu.org
2015-06-30  0:32 ` kkojima at gcc dot gnu.org
2015-06-30  2:37 ` olegendo at gcc dot gnu.org
2015-06-30  2:39 ` olegendo at gcc dot gnu.org
2015-06-30  3:56 ` kkojima at gcc dot gnu.org
2015-07-01  1:03 ` kkojima at gcc dot gnu.org
2015-07-01 22:01 ` kkojima at gcc dot gnu.org
2015-07-01 22:05 ` kkojima at gcc dot gnu.org
2015-07-01 22:43 ` kkojima at gcc dot gnu.org
2015-07-19 15:09 ` glaubitz at physik dot fu-berlin.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64833-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).