View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010577 | CMake | CMake | public | 2010-04-20 03:45 | 2010-05-12 16:06 | ||||
Reporter | tisi | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0010577: Initial ASM-Flags don't work | ||||||||
Description | I've found this bug when i wanted to add an additional assembler, which needs always a flag to specify the target cpu. When i set an initial flag within the CMAKE_ASM<DIALECT>_FLAGS_INIT Variable, the flag isn't used while assembling. This is also true for CMAKE_ASM<DIALECT>_FLAGS_DEBUG_INIT, CMAKE_ASM<DIALECT>_FLAGS_RELEASE_INIT etc. | ||||||||
Additional Information | I've uploaded an example, which uses the gnu assembler. It doesn't link correctly on my machine, but that's not the problem (it's just an example). The problem is within the flags, when the gnu assembler is executed. I've specified following initial flag (see in the Plattform directory): SET(CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT -mtune=i386) After generating the Makefiles, I've executed make VERBOSE=1. The assembler is executed as follows: /c/Projekte/Tools/MinGW/3.4.5/bin/as.exe -o CMakeFiles/hello.dir/hello.s.obj /C/Projekte/CMakeAsmFlag/hello.s So there is no -mtune=i386 flag there as expected. I'm using MSYS Makefile Generator, but i think, this should occur also within other generators. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeAsmFlag.zip [^] (1,311 bytes) 2010-04-20 03:45 | ||||||||
Relationships | |
Relationships |
Notes | |
(0020726) Alex Neundorf (developer) 2010-05-12 16:06 |
Thanks for the attached example. I was able to reproduce it. This feature was simply not yet implemented. It is now, and I pushed it to git master. If it still doesn't work for you, please reopen this bug report. Alex |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-04-20 03:45 | tisi | New Issue | |
2010-04-20 03:45 | tisi | File Added: CMakeAsmFlag.zip | |
2010-04-20 15:50 | Alex Neundorf | Status | new => assigned |
2010-04-20 15:50 | Alex Neundorf | Assigned To | => Alex Neundorf |
2010-05-12 16:06 | Alex Neundorf | Note Added: 0020726 | |
2010-05-12 16:06 | Alex Neundorf | Status | assigned => closed |
2010-05-12 16:06 | Alex Neundorf | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |