View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014652 | CMake | CMake | public | 2013-12-16 06:19 | 2016-06-10 14:31 | ||||
Reporter | Максим Прохоренко | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | x86_64 | OS | Fedora | OS Version | 20 | ||||
Product Version | CMake 2.8.12 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014652: Ninja generator add ASM file with wrong deps | ||||||||
Description | Rebuils .s.o and relink all time. | ||||||||
Steps To Reproduce | unpack arc cmake -G Ninja make make make | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cpu_info.tar.xz [^] (67,268 bytes) 2013-12-16 06:19 | ||||||||
Relationships | |
Relationships |
Notes | |
(0034788) Brad King (manager) 2013-12-18 11:23 |
After extracting the example I can reproduce this as follows: $ cd cpu_info $ rm -rf build $ mkdir build $ cd build $ cmake .. -GNinja $ ninja |cat [1/5] Building C object CMakeFiles/cpu_info.dir/main.c.o [2/5] Building ASM object CMakeFiles/cpu_info.dir/cpu-topology/get_cpuid_lix64.s.o [3/5] Building C object CMakeFiles/cpu_info.dir/cpu-topology/cpu_topo.c.o [4/5] Building C object CMakeFiles/cpu_info.dir/cpu-topology/util_os.c.o [5/5] Linking C executable cpu_info $ ninja |cat [1/2] Building ASM object CMakeFiles/cpu_info.dir/cpu-topology/get_cpuid_lix64.s.o [2/2] Linking C executable cpu_info $ ninja |cat [1/2] Building ASM object CMakeFiles/cpu_info.dir/cpu-topology/get_cpuid_lix64.s.o [2/2] Linking C executable cpu_info |
(0035747) Максим Прохоренко (reporter) 2014-04-20 11:31 |
I found two solutions to this problem 1. Try add get_cpuid_lix64.s.d file or 2. For gcc set (CMAKE_ASM_FLAGS "-x assembler-with-cpp"), and gcc generate .d file. |
(0042451) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-12-16 06:19 | Максим Прохоренко | New Issue | |
2013-12-16 06:19 | Максим Прохоренко | File Added: cpu_info.tar.xz | |
2013-12-18 11:23 | Brad King | Assigned To | => Peter Kuemmel |
2013-12-18 11:23 | Brad King | Status | new => assigned |
2013-12-18 11:23 | Brad King | Note Added: 0034788 | |
2014-04-13 05:43 | Peter Kuemmel | Assigned To | Peter Kuemmel => |
2014-04-13 05:45 | Peter Kuemmel | Assigned To | => Peter Kuemmel |
2014-04-13 05:45 | Peter Kuemmel | Status | assigned => confirmed |
2014-04-13 05:47 | Peter Kuemmel | Assigned To | Peter Kuemmel => |
2014-04-20 11:31 | Максим Прохоренко | Note Added: 0035747 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042451 | |
2016-06-10 14:29 | Kitware Robot | Status | confirmed => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |