[Llvm-bgq-discuss] Regression when linking with -fopenmp

Schlottke-Lakemper, Michael m.schlottke-lakemper at aia.rwth-aachen.de
Sat Sep 5 00:40:43 CDT 2015


Hi Hal, 

Did a quick check (compilation & linking but no execution) and I can confirm that the regression seems to be fixed now. Again, thanks for the fast response! 

Michael 
________________________________________
From: llvm-bgq-discuss-bounces at lists.alcf.anl.gov [llvm-bgq-discuss-bounces at lists.alcf.anl.gov] on behalf of Schlottke-Lakemper, Michael [m.schlottke-lakemper at aia.rwth-aachen.de]
Sent: Friday, September 04, 2015 9:21 AM
To: Hal Finkel
Cc: llvm-bgq-discuss at alcf.anl.gov
Subject: Re: [Llvm-bgq-discuss] Regression when linking with -fopenmp

Hi Hal,

Thanks a lot for the quick fix. Since I am on vacation starting tomorrow, it might take me a while to confirm that it works.

Michael
________________________________________
From: Hal Finkel [hfinkel at anl.gov]
Sent: Friday, September 04, 2015 1:07 AM
To: Schlottke-Lakemper, Michael
Cc: llvm-bgq-discuss at alcf.anl.gov
Subject: Re: [Llvm-bgq-discuss] Regression when linking with -fopenmp

Hi Michael,

You should find this fixed starting with tomorrow's nightly builds.

 -Hal

----- Original Message -----
> From: "Michael Schlottke-Lakemper" <m.schlottke-lakemper at aia.rwth-aachen.de>
> To: llvm-bgq-discuss at alcf.anl.gov
> Sent: Thursday, September 3, 2015 9:53:38 AM
> Subject: [Llvm-bgq-discuss] Regression when linking with -fopenmp
>
>
>
> Hi folks,
>
> There seems to be a regression in bgclang during the linking step
> after compiling with -fopenmp. With the current nightly build, we
> get the following errors:
>
> ####################
> ....
> Linking CXX executable zfs
> CMakeFiles/zfs.dir/zfsdgblock_inst_3d_linearscalaradv.cpp.o:(.opd+0xc18):
> multiple definition of `.omp_reduction_op.'
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_linearscalaradv.cpp.o:(.opd+0xc18):
> first defined here
> CMakeFiles/zfs.dir/zfsdgblock_inst_3d_linearscalaradv.cpp.o:(.opd+0xe28):
> multiple definition of `.omp_reduction_op..377'
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_linearscalaradv.cpp.o:(.opd+0xe28):
> first defined here
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_acousticperturb.cpp.o:(.opd+0xc48):
> multiple definition of `.omp_reduction_op.'
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_linearscalaradv.cpp.o:(.opd+0xc18):
> first defined here
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_acousticperturb.cpp.o:(.opd+0xe58):
> multiple definition of `.omp_reduction_op..377'
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_linearscalaradv.cpp.o:(.opd+0xe28):
> first defined here
> CMakeFiles/zfs.dir/zfsdgblock_inst_3d_acousticperturb.cpp.o:(.opd+0xc48):
> multiple definition of `.omp_reduction_op.'
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_linearscalaradv.cpp.o:(.opd+0xc18):
> first defined here
> CMakeFiles/zfs.dir/zfsdgblock_inst_3d_acousticperturb.cpp.o:(.opd+0xe70):
> multiple definition of `.omp_reduction_op..377'
> CMakeFiles/zfs.dir/zfsdgblock_inst_2d_linearscalaradv.cpp.o:(.opd+0xe28):
> first defined here
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [src/zfs] Error 1
> make[1]: *** [src/CMakeFiles/zfs.dir/all] Error 2
> make: *** [all] Error 2
> ####################
>
> This occurs with r246622-2015090. Trying a previous version of
> bgclang (r236977-20150511) works fine.
>
> Does anyone here have the same problem or knows a workaround?
>
> Regards,
>
> Michael
>
> _______________________________________________
> llvm-bgq-discuss mailing list
> llvm-bgq-discuss at lists.alcf.anl.gov
> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
>

--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
_______________________________________________
llvm-bgq-discuss mailing list
llvm-bgq-discuss at lists.alcf.anl.gov
https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss


More information about the llvm-bgq-discuss mailing list