[Bug target/54418] [4.8 Regression] [SH] Invalid operands for opcode

2014-08-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54418 John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de changed: What|Removed |Added CC

[Bug target/43744] SH: Error: pcrel too far

2014-08-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744 John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de changed: What|Removed |Added CC

[Bug target/54418] [4.8 Regression] [SH] Invalid operands for opcode

2014-08-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54418 --- Comment #7 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #6) The full buildlog can be found here [1]. Forgot the actual link: http://buildd.debian-ports.org

[Bug target/43744] SH: Error: pcrel too far

2014-08-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744 --- Comment #14 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hi Kazumoto! (In reply to Kazumoto Kojima from comment #13) (In reply to John Paul Adrian Glaubitz from comment #12) I'm seeing this issue again when

[Bug target/43744] SH: Error: pcrel too far

2014-09-23 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744 --- Comment #15 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hmm, so for whatever reason, the problem does not occur again anymore and binutils just builds fine [1]. I did not upgrade the compiler, however it might

[Bug c/63783] New: gcc-4.9: Miscompilation of boolean negation on SH4 using -O2

2014-11-08 Thread glaubitz at physik dot fu-berlin.de
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Hello! Recently we ran into linker issues on our SH4 buildds in Debian [1]. We initially blamed the linker for the problem, but after some more investigation

[Bug target/59375] internal compiler error: in expand_shift_1, at expmed.c:2245

2015-02-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59375 --- Comment #9 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #8) Adrian, maybe you can provide some comments regarding this issue? Well, yes. gcc-4.8 builds fine on native sh4

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

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

[Bug c++/64832] New: [SH]: Internal compiler error when trying to compile webkitgtk on Debian sh4

2015-01-28 Thread glaubitz at physik dot fu-berlin.de
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Created attachment 34602 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34602action=edit gzipped build log of webkitgtk-2.4.8 on Debian

[Bug c++/64832] [SH]: Internal compiler error when trying to compile webkitgtk on Debian sh4

2015-01-28 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64832 John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de changed: What|Removed |Added Status|UNCONFIRMED

[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-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

[Bug target/65251] New: sh4: internal compiler error: Bus error when compiling cpp-netlib

2015-02-28 Thread glaubitz at physik dot fu-berlin.de
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target: sh*-*-* Created attachment 34899 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34899action=edit Preprocessed source file

[Bug target/65249] New: unable to find a register to spill in class 'R0_REGS' when compiling protobuf on sh4

2015-02-27 Thread glaubitz at physik dot fu-berlin.de
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target: sh*-*-* Hello! Here's another package that previously successfully built on Debian sh4 and now fails

[Bug target/65249] unable to find a register to spill in class 'R0_REGS' when compiling protobuf on sh4

2015-02-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65249 --- Comment #1 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 34898 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34898action=edit Preprocessed source file for protobuf 2.6.1 (gzipped)

[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 c/65151] New: Internal compiler error when trying to build libav 11.2 on sh4

2015-02-20 Thread glaubitz at physik dot fu-berlin.de
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target: sh*-*-* Hi! I just ran into another regression with gcc on SuperH, this time while trying to compile libav 11.2 on gcc-4.9.2

[Bug target/65153] New: sh: insn does not satisfy its constraints when compiling libmcrypt

2015-02-20 Thread glaubitz at physik dot fu-berlin.de
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target: sh*-*-* Hi! Another regression in gcc-4.9.2, this time when trying to compile libmcrypt 2.5.8: libtool: link: ( cd .libs rm

[Bug target/65151] Internal compiler error when trying to build libav 11.2 on sh4

2015-02-21 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65151 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 34822 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34822action=edit Pre-compiled source file for libav 11.2

[Bug target/65153] sh: insn does not satisfy its constraints when compiling libmcrypt

2015-02-21 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65153 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 34823 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34823action=edit Pre-compiled source file for libmcrypt 2.5.8

[Bug target/65979] New: internal compiler error: in make_edges, at tree-cfg.c:923

2015-05-02 Thread glaubitz at physik dot fu-berlin.de
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target Milestone: --- Host: sh4-linux-gnu Target: sh*-*-* Created attachment 35440 -- https://gcc.gnu.org/bugzilla

[Bug target/65979] internal compiler error: in make_edges, at tree-cfg.c:923

2015-05-02 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #1 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35441 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35441action=edit Preprocessed source files for gcc-5

[Bug target/65979] internal compiler error: in make_edges, at tree-cfg.c:923

2015-05-02 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Additional comment: There seem to be multiple (unrelated?) errors which prevent the built but all of them, including the one I reported seem to relate

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #5 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- I can't see these failures on my cross builds of gcc-5, though. It could be a problem of the build compiler too. I am manually building the latest gcc-4.9.2

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-06 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #6 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hi! I did some more tests and it turns out, my current compiler can't even build gcc-4.9 anymore. Inspecting the build log [1] closer hints at problems when

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-11 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #9 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #8) You can revert the above changes to see what happens. Looks safe changes to me, but some changes could reveal

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-11 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #10 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #9) I haven't worked with the gcc code base before, so any suggestions on how to work through the code

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-09 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #7 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #6) To be followed up. Just built with gcc-4.9_4.9.2-7 which previously successfully built gcc-4.9_4.9.2

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #11 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- So, I have tried disabling some of the patches but it seems that these depend on each other. Thus, I will probably have to checkout gcc from source via git

[Bug target/65979] Multiple issues in conftest.c prevent build on sh4-linux-gnu

2015-05-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #17 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Thanks a lot guys for working on this! I'm really glad you're doing this :).

[Bug target/66395] [SH]: error: insn does not satisfy its constraints: when building gcc-5

2015-06-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66395 --- Comment #3 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #2) Hmm, I thought 66358 was already fixed. Oh, that's a different one. Sorry, my bad.

[Bug target/66395] New: [SH]: error: insn does not satisfy its constraints: when building gcc-5

2015-06-03 Thread glaubitz at physik dot fu-berlin.de
/status/fetch.php?pkg=gc c-5arch=sh4ver=5.1.1-8stamp=1433309037 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de

[Bug target/66395] [SH]: error: insn does not satisfy its constraints: when building gcc-5

2015-06-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66395 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #1) Dup of PR 66358. *** This bug has been marked as a duplicate of bug 66358 *** Hmm, I thought 66358 was already

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #18 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #17) Which version of mpfr/gmp is used for compilers? mpfr has self test and you could run it with make check

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-06-25 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #40 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #39) Done. No new failures for the top level make -k check. So, chances are gcc-5 would build now?

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-06-25 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #42 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #41) Maybe. Trying it with Oleg's patch is a good idea. Is it applied yet? Otherwise I really will have to look

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #6 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #5) (In reply to Matthias Klose from comment #0) Created attachment 35792 [details] preprocessed source

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #10 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35810 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35810action=edit Pre-processed source for wmfire.c test compile (run without

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #9 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35809 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35809action=edit Pre-processed source for wmfire.c test compile (run with strace)

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #11 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35811 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35811action=edit Same compiler invocation, but this time with strace -f

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #7 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Alright, I did some further tests. I downloaded the source package for wmfire with apt-get source wmfire and installed its build dependencies with apt-get

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #8 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35808 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35808action=edit strace of gcc segfaulting when compiling wmfire.c on sh4

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #13 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Alright: glaubitz@tirpitz:~/debian/segfault-test/wmfire-1.2.4/src$ gcc -E wmfire.c -o wmfire.i $(pkg-config --cflags gdk-2.0) $(pkg-config --cflags libgtop

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #3 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- So, it seems Matthias is right, there is definitely a regression in gcc-4.9 in the code generation. Packages that were recently build with gcc-4.9_4.9.2-20

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #4 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35807 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35807action=edit strace of journalctl_220-6-sh4 during segfault

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #14 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 35812 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35812action=edit Log for strace -i -f -o segfaultlog /usr/lib/gcc/sh4-linux-gnu

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-22 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #27 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Alright, I have tracked it down now! It's definitely a bug in mpfr4 and *not* gcc. I rebuilt both mpfr4_3.1.2-1 and mpfr4_3.1.2-3 with the latest compiler we

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-22 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #28 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Addendum: mpfr4_3.1.3-1 seems to be affected as well but I need to perform more testing. But it's definitely the jump from 3.1.2-1 to 3.1.2-3 that caused

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #22 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #20) (In reply to John Paul Adrian Glaubitz from comment #16) ... 763a3c: 03 61

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-22 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #26 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #25) I don't know the code of mpfr. It could use __builtin_strlen for stuff like parsing numbers etc. However

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #23 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- It seems that Kaz was right. Downgrading libmpfr fixes the issue for me: glaubitz@tirpitz:~/debian/segfault-test/wmfire-1.2.4/src$ gcc wmfire.c -o wmfire.o

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #24 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #23) It seems that Kaz was right. Downgrading libmpfr fixes the issue for me: In order to test whether

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-19 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #16 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- I included some more context: glaubitz@tirpitz:~/debian/segfault-test$ objdump -d /usr/lib/gcc/sh4-linux-gnu/4.9/cc1 |grep -C20 763a40 763a18: 10 38

[Bug target/66551] [SPARC64] Fails to bootstrap in stage 3 with linker error

2015-06-16 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66551 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Eric Botcazou from comment #1) So this is a full 64-bit compiler and not the 32-bit sparc64 compiler usually built on Debian? If so, what base

[Bug target/66358] [5/6 Regression] [SH] ICE: in extract_constrain_insn, at recog.c:2232

2015-06-15 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358 --- Comment #11 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Any news on this issue? The sh4 buildds in Debian are currently building a snapshot as of 2015-06-13 (r224454), let's see how far it gets. Adrian

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-06-15 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #5 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hello! Just as a heads up: This particular problem did not occur with the snapshot as of 2014-12-20 (r218987) and we actually always built gdc in Debian. So

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-06-15 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #7 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #6) Please try to find out which revision/patch caused the regression as mentioned above. That would be really helpful

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #1 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hi Matthias! Thanks for the bug report but I think this might actually a problem with the host compiler or its libraries. I have seen segfaults in multiple

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Just as a heads up: Once the buildd has finished building the latest gcc-4.9_4.9.2-21 package, I will update all buildds and reschedule all affected packages

[Bug target/66551] New: [SPARC64] Fails to bootstrap in stage 3 with linker error

2015-06-16 Thread glaubitz at physik dot fu-berlin.de
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target Milestone: --- Target: sparc*-*-* Created attachment 35787 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35787action=edit Build

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #33 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #32) (In reply to John Paul Adrian Glaubitz from comment #28) I should have been more clear about these comparison

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #35 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #34) If 4.8.something doesn't bootstrap, it would be a 4.8 Regression type of bug. I'd move it to a new PR. Already

[Bug target/66312] New: [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-05-27 Thread glaubitz at physik dot fu-berlin.de
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: kkojima at gcc dot gnu.org, olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* Hello

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-05-28 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #4 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #1) As Kaz mentioned in PR 65979 #c8, first revert all the SH specific patches. The SVN revisions are r221686, r221305

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-01 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #43 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #42) Cross your fingers ;). Btw, could building the fixed gcc-4.9 with a compiler affected

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-06-30 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #41 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #40) with my 4.9 native compiler built with 4.9 cross compiler for svn gcc-4_9-branch. I hope that miscompilation

[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 pre

[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/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-01 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #42 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #41) So, please bear with me until I can give some feedback. Matthias has uploaded the 4.9.3 release now

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-05 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #45 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #44) Not likely. The sane gmp/mpfr/mpc libraries are needed, though. Hmm, so the gcc I built is still broken

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-05 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #46 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Furthermore, gcc also built a version of grep that is broken and simply refuses to read any options: root@tirpitz:..grep-test2/bin ls egrep fgrep grep root

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-05 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #47 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Well, now I just compiled both procps and grep with the latest toolchain (gcc-4.9_4.9.3 and binutils_2.25-9) from a pristine tarball with no Debian patches

[Bug target/65979] [4.9/5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-25 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #28 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- It doesn't bootstrap because the D compiler fails the compare test. This happens both on gcc-4.8 and gcc-4.9, here's the excerpt from 4.8 [1]: Comparing

[Bug target/65979] [4.9/5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-25 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #27 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #25) So, if I understand correctly ... - 4.9.something doesn't bootstrap because of something unknown It doesn't

[Bug target/65979] [4.9/5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-21 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #24 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #23) Ouch. The peephole in problem was added at gcc-5 not at 4.9. The above patch should fix the original

[Bug target/66563] [4.9 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-06 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #48 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Alright, I found it, -fstack-protector-strong is the culprit. Will file a new bug report now. Adrian

[Bug target/66780] New: [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-06 Thread glaubitz at physik dot fu-berlin.de
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: kkojima at gcc dot gnu.org, olegendo at gcc dot gnu.org Target Milestone: --- Target: sh

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-07 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #1) It turned out that the fix for PR65249 causes this problem. The codes for stack protect can be inserted after

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-08-13 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #25 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Ok, this seems to have been fixed: Comparing stages 2 and 3 warning: gcc/cc1objplus-checksum.o differs warning: gcc/cc1-checksum.o differs warning: gcc

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #13 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 36225 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36225action=edit Diff of the disassembly of the stripped versions

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #11 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 36223 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36223action=edit Stage 2 compiled version of ctfeexpr.dmd.o (unstripped)

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #12 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 36224 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36224action=edit Stage 3 compiled version of ctfeexpr.dmd.o (unstripped)

[Bug target/66563] [4.9/5 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #59 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #58) Oh, and according to the Debian changelog, it must be a regression that was introduced somewhere

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #15 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Oh, and according to the Debian changelog, it must be a regression that was introduced somewhere between r218987 and r222750 of the gcc-4.9 branch. Currently

[Bug target/66563] [4.9/5 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #58 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Oh, and according to the Debian changelog, it must be a regression that was introduced somewhere between r218987 and r222750 of the gcc-4.9 branch. Currently

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-24 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #16 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #15) Oh, and according to the Debian changelog, it must be a regression that was introduced somewhere

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-20 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #14 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- The issue still reproduces with gcc_4.9_4.9.3-3 in Debian which corresponds to SVN revision r226107 of the gcc-4.9 branch: Comparing stages 2 and 3 warning

[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/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-02 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #8 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Would it be helpful to have a diff of the disassembly attached to this bug report as in PR target/67002?

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-07-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #5 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Some observations: glaubitz@z6:~/gcc-5-files sh4-linux-gnu-strip real_stage2.o glaubitz@z6:~/gcc-5-files ls -l total 800 -rw-r--r-- 1 glaubitz glaubitz

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-07-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #6 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- And here is the diff from the disassembly: glaubitz@z6:~/gcc-5-files diff -u real*asm --- real2.asm 2015-07-29 09:17:42.806123211 +0200 +++ real3.asm 2015

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-07-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #4 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Here are the files, copied as follows: root@tirpitz:/home/glaubitz cd gcc-5-test_5.2.1-12/ root@tirpitz:..glaubitz/gcc-5-test_5.2.1-12 find . -name real.o

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-07-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #3 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Created attachment 36085 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36085action=edit gcc/real.o from different compiler stages

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-07-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #8 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #7) A rare indeterminacy of the register choice. Both codes are valid. Ok, that's what I thought as well

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-08-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #12 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Update: Michael Karcher, who previously helped smashing some bugs in gcc for the SH target, had a go at this and he discovered that the difference between

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-08-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #10 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #9) Yes, maybe. Please attach. Ok, please give me a few days :).

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-08-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #13 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to John Paul Adrian Glaubitz from comment #12) I'm collecting all the dumped output now and will upload. I will follow up with a download link

[Bug target/67002] [5] [SH]: Bootstrap stage 2/3 comparison failure - gcc/real.o differs

2015-07-30 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002 --- Comment #10 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #9) Not sure if this is a good idea. I actually think it is the best option as chances are dim otherwise that we find

[Bug target/65151] [SH][4.9 Regression] Internal compiler error when trying to build libav 11.2 on sh4

2015-08-08 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65151 --- Comment #12 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Thomas Petazzoni from comment #11) (In reply to Jakub Jelinek from comment #10) GCC 4.9.3 has been released. This problem still occurs

  1   2   3   4   5   6   >