View Revisions: Issue #4612

Summary 0004612: Build error with GCC/G++ 8.2.0
Revision 2018-10-16 06:48 by jcfr
Description

When building Slicer Git Master with GCC/G++ 8.2.0, the build fails with a segmentation fault:

[100%] Relocate _sysconfigdata.py and update pybuilddir.txt
cd /home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/bin && env LD_LIBRARY_PATH=/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/lib /home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/bin/python -E -S -m sysconfig --generate-posix-vars
Segmentation fault
make[5]: *** [CMakeBuild/python/CMakeFiles/update_sysconfig.dir/build.make:62: bin/pybuilddir.txt] Error 139
make[5]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[4]: *** [CMakeFiles/Makefile2:4390: CMakeBuild/python/CMakeFiles/update_sysconfig.dir/all] Error 2
make[4]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[3]: *** [Makefile:141: all] Error 2
make[3]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[2]: *** [CMakeFiles/python.dir/build.make:123: python-prefix/src/python-stamp/python-build] Error 2
make[2]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release'
make[1]: *** [CMakeFiles/Makefile2:833: CMakeFiles/python.dir/all] Error 2
make[1]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release'
make: *** [Makefile:98: all] Error 2

It seems that Slicer Git Master uses Python 2.7.13. Could it be related to this?:
https://bugs.python.org/issue33374

In that case, perhaps this has been fixed in a newer version of Python 2.7?

Revision 2018-10-16 06:48 by jcfr
Description

When building Slicer Git Master with GCC/G++ 8.2.0, the build fails with a segmentation fault:

<code>
[100%] Relocate _sysconfigdata.py and update pybuilddir.txt
cd /home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/bin && env LD_LIBRARY_PATH=/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/lib /home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/bin/python -E -S -m sysconfig --generate-posix-vars
Segmentation fault
make[5]: [CMakeBuild/python/CMakeFiles/update_sysconfig.dir/build.make:62: bin/pybuilddir.txt] Error 139
make[5]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[4]:
[CMakeFiles/Makefile2:4390: CMakeBuild/python/CMakeFiles/update_sysconfig.dir/all] Error 2
make[4]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[3]: [Makefile:141: all] Error 2
make[3]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[2]:
[CMakeFiles/python.dir/build.make:123: python-prefix/src/python-stamp/python-build] Error 2
make[2]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release'
make[1]: [CMakeFiles/Makefile2:833: CMakeFiles/python.dir/all] Error 2
make[1]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release'
make:
[Makefile:98: all] Error 2
</code>

It seems that Slicer Git Master uses Python 2.7.13. Could it be related to this?:
https://bugs.python.org/issue33374

In that case, perhaps this has been fixed in a newer version of Python 2.7?

Revision 2018-09-18 02:51 by torquil
Description

When building Slicer Git Master with GCC/G++ 8.2.0, the build fails with a segmentation fault:

[100%] Relocate _sysconfigdata.py and update pybuilddir.txt
cd /home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/bin && env LD_LIBRARY_PATH=/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/lib /home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build/bin/python -E -S -m sysconfig --generate-posix-vars
Segmentation fault
make[5]: [CMakeBuild/python/CMakeFiles/update_sysconfig.dir/build.make:62: bin/pybuilddir.txt] Error 139
make[5]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[4]:
[CMakeFiles/Makefile2:4390: CMakeBuild/python/CMakeFiles/update_sysconfig.dir/all] Error 2
make[4]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[3]: [Makefile:141: all] Error 2
make[3]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release/python-build'
make[2]:
[CMakeFiles/python.dir/build.make:123: python-prefix/src/python-stamp/python-build] Error 2
make[2]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release'
make[1]: [CMakeFiles/Makefile2:833: CMakeFiles/python.dir/all] Error 2
make[1]: Leaving directory '/home/torquil/src/upstream/slicer/Slicer-Superbuild-Release'
make:
[Makefile:98: all] Error 2

It seems that Slicer Git Master uses Python 2.7.13. Could it be related to this?:
https://bugs.python.org/issue33374

In that case, perhaps this has been fixed in a newer version of Python 2.7?