This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: Ilya Verbin <iverbin at gmail dot com>, gcc-patches at gcc dot gnu dot org, Kirill Yukhin <kirill dot yukhin at gmail dot com>, Andrey Turetskiy <andrey dot turetskiy at gmail dot com>, Bernd Schmidt <bernds at codesourcery dot com>
- Date: Thu, 8 Jan 2015 16:49:40 +0100
- Subject: Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)
- Authentication-results: sourceware.org; auth=none
- References: <20141021171323 dot GA47586 at msticlxl57 dot ims dot intel dot com> <20141021171602 dot GB47586 at msticlxl57 dot ims dot intel dot com> <20141022082103 dot GH10376 at tucnak dot redhat dot com> <20141022185701 dot GA21398 at msticlxl57 dot ims dot intel dot com> <87wq5kylph dot fsf at kepler dot schwinge dot homeip dot net> <20141222112657 dot GI1667 at tucnak dot redhat dot com> <20141226132243 dot GA35839 at msticlxl57 dot ims dot intel dot com> <87fvblwa81 dot fsf at schwinge dot name>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
On Thu, Jan 08, 2015 at 04:41:50PM +0100, Thomas Schwinge wrote:
> On Fri, 26 Dec 2014 16:22:43 +0300, Ilya Verbin <iverbin@gmail.com> wrote:
BTW, today when looking at the TARGET_OPTION_NODE streaming caused
regressions, I've discovered that it is very hard to debug issues in the
offloading compiler. Would be nice if
-save-temps -v
printed enough information that it is actually possible to reproduce it,
e.g. while mkoffload command is printed, one can't cut and paste it easily,
because some env vars are required and those aren't printed in the -v dump.
Similarly, the lto1 offloading compiler invocation is not printed, and
wrapping offloading compiler's lto1 into a script that runs gdb on it
doesn't work, because stdout/stderr (and stdin) is redirected.
This is something that can be solved during stage4, but would be really nice
if it wasn't terribly hard to debug stuff.
Jakub