[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |9.3

--- Comment #12 from Andrew Pinski  ---
Fixed.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-10-06 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #11 from Joey Dumont  ---
I can confirm that this revision fixes the issue. I'll try to lookout for the
gcc-9 version where this will be released. Thank you!

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-10-04 Thread draganm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #10 from draganm at gcc dot gnu.org ---
Author: draganm
Date: Fri Oct  4 10:57:48 2019
New Revision: 276569

URL: https://gcc.gnu.org/viewcvs?rev=276569=gcc=rev
Log:
Backprot fix for uninitialised use in mips_split_move

Fixes PR target/91474 and PR target/91702.

2019-10-04  Dragan Mladjenovic  

Backport from mainline
2019-07-07  Richard Sandiford  

gcc/
* config/mips/mips.c (mips_split_move): Zero-initialize addr
and check whether addr.reg is nonnull before using it.

Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/config/mips/mips.c

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-30 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #9 from Dragan Mladjenovic  ---
Thanks for the confirmation. I've sent a request for backporting r273174 change
onto gcc 9 branch. I believe this issue will be updated automatically when the
backport lands.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-29 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

Joey Dumont  changed:

   What|Removed |Added

Version|9.1.0   |9.2.0

--- Comment #7 from Joey Dumont  ---
I realized I made a silly mistake after I posted this. I was meant to try this
version for the target compiler, not the host compiler.

I successfully built the target compiler (mips64-elf) with r273174. 

I changed the affected version to 9.2.0, as 9.1.0 was my host compiler, not the
target compiler. I can test with 9.2.1 and other versions, if necessary.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-29 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #8 from Joey Dumont  ---
I realized I made a silly mistake after I posted this. I was meant to try this
version for the target compiler, not the host compiler.

I successfully built the target compiler (mips64-elf) with r273174. 

I changed the affected version to 9.2.0, as 9.1.0 was my host compiler, not the
target compiler. I can test with 9.2.1 and other versions, if necessary.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-28 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #6 from Joey Dumont  ---
Sorry for the delay, had trouble setting up the test toolchain. 

>From what I can see, this does not solve the issue. In fact, the generated
paralle_settings.ii is identical to the one generated before.

To test this, I compiled the d57faea9337 commit of gcc-git, which corresponds
to r273174 according to this commit message. I configured it with
--prefix=~/software-test/ and removed options with references to system
directories in the options listed above. Otherwise I kept the rest the same. To
compile the cross-compiler, I exported PATH and LD_LIBRARY_PATH, like so

export PATH="/home/valandil/software-test/bin:${PATH}"
export LD_LIBRARY_PATH="/home/valandil/software-test/lib:${PATH}"

and did the rest as usual.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-18 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #5 from Dragan Mladjenovic  ---
Hi,

I wasn't able to reproduce this issue which leds me to believe that this is the
r273174 is the probable fix. In either way, it should be backported to gcc-9
branch,
but it would be nice if you can confirm if it fixes the problem.

Thanks in advance.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-05 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #4 from Joey Dumont  ---
Created attachment 46831
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46831=edit
Preprocessed parallel_settings.cc

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-04 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #3 from Dragan Mladjenovic  ---
You can try manualy rerunning the faulting command after libtool: compile: ...
with  -save-temps.

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-04 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

--- Comment #2 from Joey Dumont  ---
How do I pass -save-temps to make? Is there a environment variable that changes
the gcc command options?

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-09-03 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474

Paul Hua  changed:

   What|Removed |Added

 CC||paul.hua.gm at gmail dot com

--- Comment #1 from Paul Hua  ---
The preprocessed file parallel_settings.ii of parallel_settings.cc should be
provided.

Look at this:
https://gcc.gnu.org/bugs/

"the preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, or, in the case of a bug
report for the GNAT front end, a complete set of source files (see below)."