[cmake-developers] GCC HPPA linker errors

Chuck Atkins chuck.atkins at kitware.com
Thu Nov 6 10:37:25 EST 2014


Hi Eike,

So, it seems that voyager has no issue, only pioneer, which I'm just taking
as coincidence from differences in various binary sizes.  However, from
looking at the error log, the link line for cmake shows:

/usr/bin/c++ -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W
-Wshadow -Wpointer-arith -Wformat-security -Wundef -g
CMakeFiles/cmake.dir/cmakemain.cxx.o CMakeFiles/cmake.dir/cmcmd.cxx.o -o
../bin/cmake -rdynamic libCMakeLib.a kwsys/libcmsys.a
../Utilities/cmexpat/libcmexpat.a
../Utilities/cmlibarchive/libarchive/libcmlibarchive.a
../Utilities/cmliblzma/libcmliblzma.a ../Utilities/cmbzip2/libcmbzip2.a
../Utilities/cmcompress/libcmcompress.a ../Utilities/cmcurl/libcmcurl.a
../Utilities/cmzlib/libcmzlib.a -ldl

which doesn't show the addition of the -mlong-calls flag.  This is a bit
perplexing as it would seem to imply that some how the if conditions are
not being satisfied.  On pioneer, does cmake --system-information show the
expected value for CMAKE_SYSTEM_PROCESSOR, CMAKE_C_COMPILER_ID, and
CMAKE_CXX_COMPILER_ID, i.e. "parisc", "GNU", and "GNU" ?


- Chuck

On Wed, Nov 5, 2014 at 11:55 AM, Rolf Eike Beer <eike at sf-mail.de> wrote:

> Am Mittwoch, 5. November 2014, 10:38:14 schrieben Sie:
> > So, it seems nothing changed.  Looking at the log though, it looks like
> the
> > flags aren't even getting used.  Can you check the output of uname with
> > it's various options?  I suspect the result might not be exactly
> "parisc".
>
> voyager ~ # uname -a
> Linux voyager 3.16.1 #1 Tue Sep 2 17:27:07 CEST 2014 parisc PA8600
> (PCX-W+) 9000/785/C3600 GNU/Linux
> voyager ~ # uname -m
> parisc
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141106/f1bcdddc/attachment.html>


More information about the cmake-developers mailing list