https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Albert from comment #6)
> (In reply to Jakub Jelinek from comment #4)
> > From the log, it is clear you aren't actually testing the newly built
> > compiler, but system gcc, so no wonder it doesn't support OpenMP 4.5 nor
> > -fopenacc option etc.
> > Dunno what have you done to achieve that, custom dejagnu *.exp file
> > somewhere, some environment variables or what.
> > In any case, it seems GCC_UNDER_TEST is not what it should be.
> 
> I did not add any environmental variables nor I used any specific option. If
> I stay inside the gcc-6.4 project folder I presume the command "make check"
> must invoke gcc-6.4 but not gcc-4.8 (which is the system default).

No.  It is possible to do installed compiler testing etc., by tweaking
GCC_UNDER_TEST, TOOL_EXECUTABLE etc. tcl variables.

> Could you suggest a workaround to run all the tests using gcc-6.4 before the
> command "sudo make install" was done?

I can't suggest anything, because it is unclear what you've done differently. 
Many people test gcc on RHEL 7.x/x86_64 and don't experience this.
You can e.g. do make check RUNTESTFLAGS=libgomp.exp=affinity-1.c in
x86_64-*/libgomp directory and say strace it to find out what all files outside
of the gcc tree it opens, then you can see if you don't have some modified one
somewhere etc.

Reply via email to