[Openmp-commits] [Openmp-dev] Large Refactor of CMake build system
C Bergström
cbergstrom at pathscale.com
Tue Jul 21 11:20:40 PDT 2015
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)
More information about the Openmp-commits
mailing list