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 target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4
Date: Sun, 28 Jun 2015 15:16:00 -0000 [thread overview]
Message-ID: <bug-64833-4-ZOOCX1nur8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64833-4@http.gcc.gnu.org/bugzilla/>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 13636 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833
--- Comment #8 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
Alright, know that I understand how to create pre-processed sources manually,
I'm attaching the requested pre-processed sources.
Here's how I obtained the pre-processed source. From my point of view, it
either seems to work now with the current version of gcc in Debian sh4 or I
need to do something else to be able to reproduce it:
glaubitz@tirpitz:~/debian/graphicsmagick-1.3.20/PerlMagick$ gcc -E Magick.c -o
Magick.i -I/usr/lib/sh4-linux-gnu/perl/5.20.2/CORE/ -I..
glaubitz@tirpitz:~/debian/graphicsmagick-1.3.20/PerlMagick$ ls
blib demo Magick.i Magick.xs Makefile.nt
Makefile.PL.in MYMETA.json PerlMagickCheck.sh.in t
build_manifest.sh Magick.bs Magick.pm Makefile Makefile.PL
MANIFEST MYMETA.yml pm_to_blib typemap
Changelog Magick.c Magick.pm.in Makefile.am Makefile.PL.debsave
MANIFEST.SKIP PerlMagickCheck.sh README.txt
glaubitz@tirpitz:~/debian/graphicsmagick-1.3.20/PerlMagick$
/usr/lib/gcc/sh4-linux-gnu/4.9/cc1 Magick.i
__bswap_32 __bswap_64 set_regex_charset get_regex_charset
get_regex_charset_name S_CvGV CvNAME_HEK S_perl_hash_siphash_2_4
S_perl_hash_superfast S_perl_hash_murmur3 S_perl_hash_djb2 S_perl_hash_sdbm
S_perl_hash_one_at_a_time S_perl_hash_one_at_a_time_hard
S_perl_hash_old_one_at_a_time S_av_top_index S_CvDEPTHp S_ReANY S_SvREFCNT_inc
S_SvREFCNT_inc_NN S_SvREFCNT_inc_void S_SvREFCNT_dec S_SvREFCNT_dec_NN
SvAMAGIC_on SvAMAGIC_off S_SvPADTMP_on S_SvPADTMP_off S_SvPADSTALE_on
S_SvPADSTALE_off S_croak_memory_wrap S_append_utf8_from_native_byte
S_isIDFIRST_lazy S_isALNUM_lazy S_is_safe_syscall MagickRandomIntegerInlined
MagickRandomRealInlined ClonePackageInfo constant DestroyPackageInfo GetList
Magick.xs: In function âGetListâ:
Magick.xs:831:13: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
image=(Image *) SvIV(reference);
^
GetPackageInfo
Magick.xs: In function âGetPackageInfoâ:
Magick.xs:901:4: error: âXS_VERSIONâ undeclared (first use in this function)
XS_VERSION);
^
Magick.xs:901:4: note: each undeclared identifier is reported only once for
each function it appears in
Magick.xs:910:52: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
if (SvIOKp(sv) && (clone_info=(struct PackageInfo *) SvIV(sv)))
^
Magick.xs:913:29: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv_setiv(sv,(IV) clone_info);
^
LookupStr MagickErrorHandler MagickWarningHandler SetAttribute SetupList
strEQcase XS_Graphics__Magick_constant XS_Graphics__Magick_Animate
XS_Graphics__Magick_Append
Magick.xs: In function âXS_Graphics__Magick_Appendâ:
Magick.xs:2278:32: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Average
Magick.xs: In function âXS_Graphics__Magick_Averageâ:
Magick.xs:2380:30: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_BlobToImage
Magick.xs: In function âXS_Graphics__Magick_BlobToImageâ:
Magick.xs:2515:34: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Coalesce
Magick.xs: In function âXS_Graphics__Magick_Coalesceâ:
Magick.xs:2624:32: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Copy
Magick.xs: In function âXS_Graphics__Magick_Copyâ:
Magick.xs:2728:32: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) clone);
^
XS_Graphics__Magick_DESTROY
Magick.xs: In function âXS_Graphics__Magick_DESTROYâ:
Magick.xs:2788:11: error: âXS_VERSIONâ undeclared (first use in this function)
XS_VERSION);
^
Magick.xs:2793:23: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
(info=(struct PackageInfo *) SvIV(sv)))
^
Magick.xs:2809:15: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
image=(Image *) SvIV(reference);
^
XS_Graphics__Magick_Display XS_Graphics__Magick_Flatten
Magick.xs: In function âXS_Graphics__Magick_Flattenâ:
Magick.xs:2988:30: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Get
Magick.xs: In function âXS_Graphics__Magick_Getâ:
Magick.xs:3211:44: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image->clip_mask);
^
XS_Graphics__Magick_ImageToBlob XS_Graphics__Magick_Mogrify
Magick.xs: In function âXS_Graphics__Magick_Mogrifyâ:
Magick.xs:6061:38: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv_setiv(*pv,(IV) image);
^
XS_Graphics__Magick_Montage
Magick.xs: In function âXS_Graphics__Magick_Montageâ:
Magick.xs:6446:32: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Morph
Magick.xs: In function âXS_Graphics__Magick_Morphâ:
Magick.xs:6583:32: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Mosaic
Magick.xs: In function âXS_Graphics__Magick_Mosaicâ:
Magick.xs:6681:30: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Ping XS_Graphics__Magick_QueryColor
XS_Graphics__Magick_QueryColorname XS_Graphics__Magick_QueryFont
XS_Graphics__Magick_QueryFontMetrics XS_Graphics__Magick_QueryFormat
XS_Graphics__Magick_Read
Magick.xs: In function âXS_Graphics__Magick_Readâ:
Magick.xs:7608:34: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) image);
^
XS_Graphics__Magick_Remote XS_Graphics__Magick_Set
XS_Graphics__Magick_Transform
Magick.xs: In function âXS_Graphics__Magick_Transformâ:
Magick.xs:7884:34: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
sv=newSViv((IV) clone);
^
XS_Graphics__Magick_Write boot_Graphics__Magick
Analyzing compilation unit
Execution times (seconds)
phase setup : 0.15 ( 1%) usr 0.01 ( 0%) sys 0.34 ( 1%) wall
520 kB ( 5%) ggc
phase parsing : 10.74 (79%) usr 3.42 (97%) sys 24.80 (88%) wall
6497 kB (57%) ggc
phase lang. deferred : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
0 kB ( 0%) ggc
phase opt and generate : 2.64 (19%) usr 0.08 ( 2%) sys 3.01 (11%) wall
4339 kB (38%) ggc
phase finalize : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
0 kB ( 0%) ggc
callgraph construction : 0.18 ( 1%) usr 0.00 ( 0%) sys 0.26 ( 1%) wall
564 kB ( 5%) ggc
preprocessing : 3.06 (23%) usr 0.90 (26%) sys 6.66 (24%) wall
1043 kB ( 9%) ggc
lexical analysis : 0.97 ( 7%) usr 1.56 (44%) sys 4.68 (17%) wall
0 kB ( 0%) ggc
parser (global) : 2.81 (21%) usr 0.51 (14%) sys 6.91 (24%) wall
3248 kB (29%) ggc
parser struct body : 0.38 ( 3%) usr 0.03 ( 1%) sys 0.95 ( 3%) wall
334 kB ( 3%) ggc
parser enumerator list : 0.22 ( 2%) usr 0.02 ( 1%) sys 0.44 ( 2%) wall
255 kB ( 2%) ggc
parser function body : 3.04 (22%) usr 0.33 ( 9%) sys 4.41 (16%) wall
1505 kB (13%) ggc
parser inl. func. body : 0.24 ( 2%) usr 0.04 ( 1%) sys 0.65 ( 2%) wall
107 kB ( 1%) ggc
tree gimplify : 2.00 (15%) usr 0.06 ( 2%) sys 2.31 ( 8%) wall
2734 kB (24%) ggc
tree eh : 0.07 ( 1%) usr 0.00 ( 0%) sys 0.05 ( 0%) wall
27 kB ( 0%) ggc
tree CFG construction : 0.24 ( 2%) usr 0.00 ( 0%) sys 0.30 ( 1%) wall
989 kB ( 9%) ggc
tree CFG cleanup : 0.10 ( 1%) usr 0.00 ( 0%) sys 0.06 ( 0%) wall
0 kB ( 0%) ggc
dominance computation : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
0 kB ( 0%) ggc
varconst : 0.02 ( 0%) usr 0.02 ( 1%) sys 0.09 ( 0%) wall
1 kB ( 0%) ggc
loop init : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall
22 kB ( 0%) ggc
symout : 0.00 ( 0%) usr 0.01 ( 0%) sys 0.01 ( 0%) wall
0 kB ( 0%) ggc
unaccounted todo : 0.01 ( 0%) usr 0.02 ( 1%) sys 0.00 ( 0%) wall
0 kB ( 0%) ggc
TOTAL : 13.55 3.52 28.21
11365 kB
glaubitz@tirpitz:~/debian/graphicsmagick-1.3.20/PerlMagick$ ls -l
total 1588
drwxr-xr-x 8 glaubitz glaubitz 4096 Mar 14 2015 blib
-rwxr-xr-x 1 glaubitz glaubitz 182 Mar 10 2013 build_manifest.sh
-rw-r--r-- 1 glaubitz glaubitz 4605 Mar 10 2013 Changelog
drwxr-xr-x 2 glaubitz glaubitz 4096 Mar 10 2013 demo
-rw-r--r-- 1 glaubitz glaubitz 0 Mar 14 2015 Magick.bs
-rw-r--r-- 1 glaubitz glaubitz 270942 Mar 14 2015 Magick.c
-rw-r--r-- 1 glaubitz glaubitz 944997 Jan 1 01:19 Magick.i
-rw-r--r-- 1 glaubitz glaubitz 3648 Mar 14 2015 Magick.pm
-rw-r--r-- 1 glaubitz glaubitz 3659 Mar 10 2013 Magick.pm.in
-rw-r--r-- 1 glaubitz glaubitz 34 Jan 1 01:20 Magick.s
-rw-r--r-- 1 glaubitz glaubitz 248880 Aug 16 2014 Magick.xs
-rw-r--r-- 1 glaubitz glaubitz 34387 Mar 14 2015 Makefile
-rw-r--r-- 1 glaubitz glaubitz 4169 Mar 10 2013 Makefile.am
-rw-r--r-- 1 glaubitz glaubitz 6152 Mar 10 2013 Makefile.nt
-rw-r--r-- 1 glaubitz glaubitz 4451 Mar 14 2015 Makefile.PL
-rw-r--r-- 1 glaubitz glaubitz 4410 Mar 14 2015 Makefile.PL.debsave
-rw-r--r-- 1 glaubitz glaubitz 4049 Mar 10 2013 Makefile.PL.in
-rw-r--r-- 1 glaubitz glaubitz 11216 Mar 10 2013 MANIFEST
-rw-r--r-- 1 glaubitz glaubitz 207 Mar 10 2013 MANIFEST.SKIP
-rw-r--r-- 1 glaubitz glaubitz 831 Mar 14 2015 MYMETA.json
-rw-r--r-- 1 glaubitz glaubitz 479 Mar 14 2015 MYMETA.yml
-rwxr-xr-x 1 glaubitz glaubitz 1234 Mar 14 2015 PerlMagickCheck.sh
-rwxr-xr-x 1 glaubitz glaubitz 1214 Mar 10 2013 PerlMagickCheck.sh.in
-rw-r--r-- 1 glaubitz glaubitz 0 Mar 14 2015 pm_to_blib
-rw-r--r-- 1 glaubitz glaubitz 4807 Mar 10 2013 README.txt
drwxr-xr-x 22 glaubitz glaubitz 4096 Aug 16 2014 t
-rw-r--r-- 1 glaubitz glaubitz 26 Mar 10 2013 typemap
glaubitz@tirpitz:~/debian/graphicsmagick-1.3.20/PerlMagick$
See attachments.
>From gcc-bugs-return-490936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 28 15:17:41 2015
Return-Path: <gcc-bugs-return-490936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56966 invoked by alias); 28 Jun 2015 15:17:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 48678 invoked by uid 48); 28 Jun 2015 15:17:37 -0000
From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4
Date: Sun, 28 Jun 2015 15:17: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: attachments.created
Message-ID: <bug-64833-4-OOWGSAFzee@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64833-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64833-4@http.gcc.gnu.org/bugzilla/>
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/msg03268.txt.bz2
Content-length: 267
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd833
--- Comment #9 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
Created attachment 35870
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id5870&actioníit
Pre-processed source Magick.i
next prev parent reply other threads:[~2015-06-28 15:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 11:50 [Bug c/64833] New: " glaubitz at physik dot fu-berlin.de
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 [this message]
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-ZOOCX1nur8@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).