MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013745 | CMake | CMake | public | 2012-11-27 04:25 | 2016-06-10 14:31 |
| Reporter | Mahendra Ladhe | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Linux | OS | Linux RedHat 5.6 | OS Version | 5.6 |
| Product Version | CMake 2.8.4 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013745: CHECK_C_COMPILER_FLAG doesn't work with -march=xlr option with a MIPS gcc cross compiler | ||||
| Description | I 've a CMakeLists.txt file as below. CHECK_C_COMPILER_FLAG (-march=xlr FLAG_xlr) CHECK_C_COMPILER_FLAG (-march=xlp FLAG_xlp) I'm using a gcc MIPS cross compiler. Using this cross compiler I'm able to compile a simple C program using both -march=xlr and -march=xlp compiler options. The size of a.out differs with these two options (just to show that -march option is acted upon by the compiler) When I invoke cmake on above CMakeLists.txt file, I get the following. -- Performing Test FLAG_xlr -- Performing Test FLAG_xlr - Failed -- Performing Test FLAG_xlp -- Performing Test FLAG_xlp - Success It says Test FLAG_xlr failed, but it shouldn't fail since the cross compiler does support -march=xlr option. | ||||
| Steps To Reproduce | As described above. I cannot provide the gcc cross compiler used since it's not publicly available. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-11-27 04:25 | Mahendra Ladhe | New Issue | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0042158 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||