[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-12-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 --- Comment #7 from dmalcolm at gcc dot gnu.org --- Author: dmalcolm Date: Mon Dec 1 15:58:11 2014 New Revision: 218226 URL: https://gcc.gnu.org/viewcvs?rev=218226&root=gcc&view=rev Log: PR jit/63969: Fix segfault in error-handling when driver i

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-12-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 dmalcolm at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-11-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 --- Comment #6 from dmalcolm at gcc dot gnu.org --- (In reply to dmalcolm from comment #4) > Patch posted for review as > https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02617.html TMM confirmed on IRC that the proposed patch fixes the issue for th

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-11-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 --- Comment #5 from dmalcolm at gcc dot gnu.org --- Note: with the fix, the testcase (with an unset PATH) emits these error messages for me: libgccjit.so: error trying to exec 'x86_64-unknown-linux-gnu-gcc-5.0.0': execvp: No such file or director

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-11-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 --- Comment #4 from dmalcolm at gcc dot gnu.org --- Patch posted for review as https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02617.html

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-11-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 --- Comment #3 from dmalcolm at gcc dot gnu.org --- (In reply to dmalcolm from comment #2) > Segfault occurs if driver is not found on PATH *and* the context's > GCC_JIT_STR_OPTION_PROGNAME is NULL. ...and hence only the tutorials run into this;

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-11-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 dmalcolm at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 fro

[Bug jit/63969] gccjit segfaults when it can't locate the correct gcc driver program

2014-11-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63969 dmalcolm at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|