From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50437 invoked by alias); 29 Jun 2015 08:52:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 50382 invoked by uid 48); 29 Jun 2015 08:52:39 -0000 From: "glaubitz at physik dot fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4 Date: Mon, 29 Jun 2015 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg03288.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #13 from John Paul Adrian Glaubitz --- (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