[Openmp-commits] [Openmp-dev] Large Refactor of CMake build system

Jack Howarth howarth.mailing.lists at gmail.com
Tue Jul 21 13:06:17 PDT 2015


C Bergström,
      It would be helpful if you were more explicit about how exactly
you are building openmp 3.7.0svn. Is this simply a stand-alone build
of openmp 3.7.0svn against the pathscale compilers or are you doing
the build in-tree as part of a complete
llvm/cfe/compiler-rt/libc++/openmp build? Also, are the failures in
the invocation of cmake or the later invocation of make. If the later,
are you using parallel builds or serial builds in make? Daily
three-stage bootstraps of llvm/cfe/compiler-rt/polly/libc++/polly on
x86_64-apple-darwin from 3.7.0 branch show no instabilities in -j8
parallel makes here. Lastly, what exact options are you passing to
cmake?
              Jack

On Tue, Jul 21, 2015 at 2:20 PM, C Bergström <cbergstrom at pathscale.com> wrote:
> My observation is that it's not consistently working and that's why
> I'm even more upset and nervous about this change.
>
> Further, "it works for me" is a very bad reason to go screw up a
> stable branch and to continue to advocate that it so strongly.
>
> The reason the release branch (before the merge commits) "works for
> me" is because we have a wrapper cmake around the the project which
> sets things correctly.
> -------------
> Here's what I see
>
> From cmake # Everything would appear to look good, right? (Also know
> that it says g++, but in fact it's really pathcc.. I don't quite
> understand that)
> -------------------
> checking whether we are using the GNU C++ compiler... yes
> checking whether /opt/ekopath/bin/pathCC accepts -g... yes
> checking whether g++ accepts -static-libstdc++ -static-libgcc... no
> checking for gnatbind... no
>
> ....
>
> and guess what happens during make
> --------
> [100%] Building C object src/CMakeFiles/omp.dir/z_Linux_asm.s.o
> [100%] Building C object src/CMakeFiles/omp.dir/z_Linux_asm.s.o
> Linking C shared library libomp.so
> pathcc ERROR parsing -static-libgcc: unknown flag
> gmake[5]: *** [src/libomp.so] Error 1
> gmake[4]: *** [src/CMakeFiles/omp.dir/all] Error 2
> gmake[3]: *** [all] Error 2
> make[2]: *** [openmp-llvm/CMakeFiles/openmp-make-x86_32] Error 2
> make[1]: *** [openmp-llvm/CMakeFiles/openmp-make-x86_32.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> Linking C shared library libomp.so
> pathcc ERROR parsing -static-libgcc: unknown flag
> gmake[5]: *** [src/libomp.so] Error 1
> gmake[4]: *** [src/CMakeFiles/omp.dir/all] Error 2
> ------------
>
> Lastly, thank you for testing with pathcc, but pretty please read the
> instructions on the website. I'd strongly advise to update the date in
> the URL and download a more recent version. Using 5.0.x is really old
> and a significant number of fixes have been made since then - I
> suspect this is the reason you may be seeing failures from the Release
> branch (without the merged changes).
> ---------
> System details
>
> cmake --version
> cmake version 3.1.3
>
> lsb_release # yes this is old, but that's intentional
> Description:    SUSE Linux Enterprise Server 10 (x86_64)
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at dcs-maillist2.engr.illinois.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev




More information about the Openmp-commits mailing list