View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014652CMakeCMakepublic2013-12-16 06:192016-06-10 14:31
ReporterМаксим Прохоренко 
Assigned ToKitware Robot 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_64OSFedoraOS Version20
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014652: Ninja generator add ASM file with wrong deps
DescriptionRebuils .s.o and relink all time.
Steps To Reproduceunpack arc
cmake -G Ninja
make
make
make
TagsNo tags attached.
Attached Files? file icon cpu_info.tar.xz [^] (67,268 bytes) 2013-12-16 06:19

 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.

 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


Copyright © 2000 - 2018 MantisBT Team