MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015325 | CMake | CMake | public | 2014-12-22 16:27 | 2015-06-01 08:38 |
Reporter | David Coppa | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | Linux | OS Version | |
Product Version | CMake 3.1 | ||||
Target Version | CMake 3.1.1 | Fixed in Version | CMake 3.1.1 | ||
Summary | 0015325: Regression building x265 using CMake 3.1 (Segmentation fault) | ||||
Description | CMake 3.1 segfaults while building x265 using the ninja generator, "Unix Makefiles" generator is not affected. This crash didn't happen with cmake-3.0.2 (same version of x265). I have the same segfault on both Arch Linux and OpenBSD-current. I've attached two files with the gdb output for both systems. You can have a look at the source code for x265 here: https://github.com/videolan/x265/tree/master/source/cmake [^] $ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ../source/ -- cmake version 3.1.0 -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler using: Ninja -- Check for working CXX compiler using: Ninja -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detected x86 target processor -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Performing Test CC_HAS_NO_NARROWING -- Performing Test CC_HAS_NO_NARROWING - Success -- Performing Test CC_HAS_NO_ARRAY_BOUNDS -- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success -- Performing Test CC_HAS_FAST_MATH -- Performing Test CC_HAS_FAST_MATH - Success -- Performing Test CC_HAS_STACK_REALIGN -- Performing Test CC_HAS_STACK_REALIGN - Success -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success -- Found yasm: /usr/bin/yasm (found version "1.3.0") -- Found Yasm 1.3.0 to build assembly primitives -- x265 version 1.4 -- The ASM_YASM compiler identification is unknown -- Found assembler: /usr/bin/yasm -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for include file getopt.h -- Looking for include file getopt.h - found -- Configuring done CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_ASM_YASM_COMPILE_OBJECT Segmentation fault (core dumped) | ||||
Steps To Reproduce | Try building x265 using the ninja generator of CMake 3.1.0. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/5329/cmake31-x265-openbsd.out ![]() https://public.kitware.com/Bug/file/5330/cmake31-x265-arch-linux.out ![]() https://public.kitware.com/Bug/file/5331/trace.log | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-12-22 16:27 | David Coppa | New Issue | |||
2014-12-22 16:27 | David Coppa | File Added: cmake31-x265-openbsd.out | |||
2014-12-22 16:29 | David Coppa | File Added: cmake31-x265-arch-linux.out | |||
2014-12-22 17:56 | David Coppa | File Added: trace.log | |||
2014-12-22 17:57 | David Coppa | Note Added: 0037514 | |||
2014-12-22 18:25 | Brad King | Status | new => acknowledged | ||
2014-12-22 18:25 | Brad King | Target Version | => CMake 3.1.1 | ||
2014-12-22 18:25 | Brad King | Description Updated | bug_revision_view_page.php?rev_id=1654#r1654 | ||
2014-12-22 18:32 | Brad King | Note Added: 0037515 | |||
2014-12-22 18:38 | Brad King | Note Added: 0037516 | |||
2014-12-22 18:42 | Brad King | Note Added: 0037517 | |||
2014-12-22 19:06 | Brad King | Note Added: 0037518 | |||
2014-12-23 08:19 | Brad King | Note Added: 0037521 | |||
2014-12-23 08:19 | Brad King | Assigned To | => Brad King | ||
2014-12-23 08:19 | Brad King | Status | acknowledged => resolved | ||
2014-12-23 08:19 | Brad King | Resolution | open => fixed | ||
2014-12-23 08:19 | Brad King | Fixed in Version | => CMake 3.1.1 | ||
2015-06-01 08:38 | Robert Maynard | Note Added: 0038828 | |||
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|