[CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

Marc CHEVRIER marc.chevrier at gmail.com
Wed Mar 20 07:27:31 EDT 2019


clearly, from what shown on http://paste.opensuse.org/14067189, c++ compiler from OpenSuse Leap is buggy.
Expected output from readelf for executable tests_1 is « Elf file type is EXEC (Executable file) » which is not the case. Option -no-pie is not taken into account.

This explains the failures for some PIE tests.
Le 20 mars 2019 à 11:44 +0100, Christoph Grüninger <foss at grueninger.de>, a écrit :
> Hi Alan,
> thanks for you answer. Do you know how the open build service works? It
> sets up a fresh installation for each (openSuse) platform. Then CMake's
> sources are deflated, configure is called and the package is build,
> installed, tested and then packaged. So no other CMake version is
> involved beside CMake 3.14. So both good and bad platforms are from the
> same CMake source. They only differ in the versions of GCC, make, and so on.
>
> In the meantime I got some input from the openSuse community, indicating
> that Leap 15.0's GCC discrespects the pie/no-pie switch, cf.
> http://paste.opensuse.org/14067189
> If an openSuse bug is confirmen, I let you know.
>
> Bye
> Christoph
>
>
> Am 20.03.19 um 02:21 schrieb Alan W. Irwin:
> >
> > Hi Christoph:
> >
> > Just in case the trouble is simply due to a real CMake bug for some
> > old version of CMake, what exact versions of CMake are you testing on
> > each of your various "good" platforms compared to your "bad" platform,
> > openSuse Leap 15.0?
> >
> > Alan
> > __________________________
> > Alan W. Irwin
>
> --
> Unfortunately, plots are notoriously hard to get right. Partly, the
> default settings of programs like gnuplot or Excel are to blame for
> this since these programs make it very convenient to create bad plots.
> -- Till Tantau, "The TikZ and PGF Packages"
> --
>
> 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:
> https://cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190320/d2fb8ef7/attachment-0001.html>


More information about the CMake mailing list