View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015501CMakeModulespublic2015-04-07 15:432016-06-10 14:31
Reporterscalpel4k 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_64OSLinuxOS VersionopenSUSE Tumblew
Product VersionCMake 3.2.1 
Target VersionFixed in Version 
Summary0015501: GNU compiler 5: The C++ compiler "/usr/bin/gcc" is not able to compile a simple test program.
DescriptionThis happens with gcc5 from openSUSE but I can't imagine that it's a packaging issue because I use the compiler for other stuff and it builds just fine.

I did a manual test and here's what it says:

[ 112s] === COMPILER_TEST_START ===
[ 112s] + echo 'main(){}'
[ 112s] + gcc dummy.c -v -Wl,--verbose
[ 112s] + readelf -l a.out
[EDIT: SNIPPED OUT REST OF LOG]
[ 113s] === COMPILER_TEST_END ===
Steps To ReproduceI tried to build llvm/clang both with gcc5 and with clang itself.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038473)
Brad King (manager)
2015-04-07 16:09

I've edited out most of the log because I believe you that the compiler works on a simple test case by hand. Log files should be attached rather than pasted.

The rest of the output from CMake should tell you to look at CMakeFiles/*.log for more information. There may be something in there about what goes wrong.
(0042754)
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
2015-04-07 15:43 scalpel4k New Issue
2015-04-07 16:09 Brad King Note Added: 0038473
2015-04-07 16:09 Brad King Description Updated
2015-04-07 16:10 Brad King Summary CMakeTestCXXCompiler.cmake:54 -> The C++ compiler "/usr/bin/gcc" is not able to compile a simple test program. => GNU compiler 5: The C++ compiler "/usr/bin/gcc" is not able to compile a simple test program.
2016-06-10 14:29 Kitware Robot Note Added: 0042754
2016-06-10 14:29 Kitware Robot Status new => 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