[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-07-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #25 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #24) Fixed. Can confirm, graphicsmagick just built successfully for the first time since 2013 :).

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-07-01 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #22 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Wed Jul 1 22:01:09 2015 New Revision: 225282 URL: https://gcc.gnu.org/viewcvs?rev=225282root=gccview=rev Log: PR target/64833 * [SH] Set length of

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-07-01 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #23 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Wed Jul 1 22:05:09 2015 New Revision: 225283 URL: https://gcc.gnu.org/viewcvs?rev=225283root=gccview=rev Log: PR target/64833 * [SH] Set length of

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-07-01 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 Kazumoto Kojima kkojima at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-30 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #21 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Wed Jul 1 01:02:48 2015 New Revision: 225219 URL: https://gcc.gnu.org/viewcvs?rev=225219root=gccview=rev Log: PR target/64833 * [SH] Set length of

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-30 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #20 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Oleg Endo from comment #17) Increasing insn lengths unnecessarily might result in some unlucky constant pool placements and far branches and some code might get

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #14 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Kazumoto Kojima from comment #12) diff --git a/config/sh/sh.c b/config/sh/sh.c index 0139095..86cbea7 100644 --- a/config/sh/sh.c +++ b/config/sh/sh.c @@ -5261,6

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread glaubitz at physik dot fu-berlin.de
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

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #15 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Oleg Endo from comment #14) I was trying to understand what's happening there ... it's a bit confusing. A cleaner way would probably be to add a function in

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #18 from Oleg Endo olegendo at gcc dot gnu.org --- BTW, in sh_reorg there is... label_ref_list_d::pool.release (); for (insn = first; insn; insn = NEXT_INSN (insn)) PUT_MODE (insn, VOIDmode); mdep_reorg_phase =

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #16 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Kazumoto Kojima from comment #15) I'll look for another point to call shorten_branches which can fix the issue. OK, I'm giving up on this and now testing the

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #17 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Kazumoto Kojima from comment #15) sh_reorg calls shorten_branches after the loop which includes find_barrier call and get_attr_length will return correct value after

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-29 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #19 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Oleg Endo from comment #18) I don't know how it works, though I've found https://gcc.gnu.org/ml/gcc-patches/2006-03/msg01108.html

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-28 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #7 from Oleg Endo olegendo at gcc dot gnu.org --- Is there any update regarding this issue? Adrian, were you able to get a preprocessed source file which reproduces the problem?

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-28 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #9 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35870 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35870action=edit Pre-processed source Magick.i

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-28 Thread glaubitz at physik dot fu-berlin.de
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

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-28 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #10 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35871 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35871action=edit Source file Magick.c

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-28 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #11 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to John Paul Adrian Glaubitz from comment #9) Created attachment 35870 [details] Pre-processed source Magick.i I've tried compiling that file with '-x c -std=gnu99 -O2 -g

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-06-28 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #12 from Kazumoto Kojima kkojima at gcc dot gnu.org --- 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

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-03-15 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #6 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Here's a tarball with the failed build: http://userpage.physik.fu-berlin.de/~glaubitz/graphicsmagick-failed-build.tar.gz You can reproduce the problem with:

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org --- Ping. Precompiled source to reproduce the problem is still missing here.

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-25 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #5 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #4) Ping. Precompiled source to reproduce the problem is still missing here. I will try to provide it in the following

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-15 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #3 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hi Oleg! Yes, I will simply run a manual build in the following days and just make sure nothing is thrown away. I finally have my very own SH4 board now and I

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #2 from Oleg Endo olegendo at gcc dot gnu.org --- Would it be possible for you to pull a precompiled source from the build via the '-save-temps' option?