commit bffe193708ecb1ad3c24a31893f5cb26a8b0ee13 (HEAD -> dev, origin/dev)
Author: Anton Kochkov <anton.kochkov@gmail.com>
Date: Sun Mar 3 14:29:35 2024 +0800
Update bundled Rizin to the 0.8.0 series
Obtained from:
[x] Built from source
[ ] Downloaded release from Cutter website or GitHub
[ ] Distribution repository
File format:
N/A
Describe the bug
[100%] Linking CXX executable ../cutter
/home/jake/git/cutter/src/widgets/ThreadsWidget.cpp:12:6: error: type ‘ColumnIndex’ violates the C++ One Definition Rule [-Werror=odr]
12 | enum ColumnIndex {
| ^
/home/jake/git/cutter/src/widgets/ProcessesWidget.cpp:12:6: note: an enum with different value name is defined in another translation unit
12 | enum ColumnIndex {
| ^
/home/jake/git/cutter/src/widgets/ThreadsWidget.cpp:14:5: note: name ‘COLUMN_STATUS’ differs from name ‘COLUMN_UID’ defined in another translation unit
14 | COLUMN_STATUS,
| ^
/home/jake/git/cutter/src/widgets/ProcessesWidget.cpp:14:5: note: mismatching definition
14 | COLUMN_UID,
| ^
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/Cutter.dir/build.make:2909: cutter] Error 1
make[1]: *** [CMakeFiles/Makefile2:132: src/CMakeFiles/Cutter.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
To Reproduce
Steps to reproduce the behavior:
mkdir build && cd build && CXXFLAGS="-flto -Werror=odr" cmake .. -DCUTTER_USE_BUNDLED_RIZIN=ON && make -j
Environment information
Cutter version:
To Reproduce
Steps to reproduce the behavior:
mkdir build && cd build && CXXFLAGS="-flto -Werror=odr" cmake .. -DCUTTER_USE_BUNDLED_RIZIN=ON && make -j
Expected behavior
Build success
Screenshots
Additional context