This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix intelmic-mkoffload.c if the temp path contains a '-'
- From: Ilya Verbin <iverbin at gmail dot com>
- To: "Hahnfeld, Jonas" <Hahnfeld at itc dot rwth-aachen dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Tue, 1 Sep 2015 14:46:17 +0300
- Subject: Re: Fix intelmic-mkoffload.c if the temp path contains a '-'
- Authentication-results: sourceware.org; auth=none
- References: <D7EFF377C0894A47B63545C223A166A531B9B1D4 at MBX-S2 dot rwth-ad dot de>
On Tue, Sep 01, 2015 at 11:35:15 +0000, Hahnfeld, Jonas wrote:
> > during my test of OpenMP 4.0 offloading features I have found a bug in
> > intelmic-mkoffload.c when the temp path contains a '-'.
> > objcopy will in this case replace it with a '_' which wasn't reflected in
> > the original code and resulted in a link error of the symbols
> > '__offload_image_intelmic_start' and '__offload_image_intelmic_end'.
> >
> > This is my first contribution, so just reply if anything is wrong and I'll
> > happily fix it.
Thanks! Please wait for Jakub's approval before checking-in.
-- Ilya