[cmake-developers] [CMake 0013270]: Remove "temporary" debug message for ASM compiler id
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jun 5 04:05:26 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13270
======================================================================
Reported By: raspy
Assigned To:
======================================================================
Project: CMake
Issue ID: 13270
Category: (No Category)
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-06-05 04:05 EDT
Last Modified: 2012-06-05 04:05 EDT
======================================================================
Summary: Remove "temporary" debug message for ASM compiler id
Description:
This is regarding commit 9071b8b87f0e63f10f1f77949246c1b4241cfb6c.
Please remove this "temporary" message. After over a year in code it is no
longer temporary and its output is confusing users and is pure garbage in build
log. We use TI assembler so it barfs out many times before it is detected.
Please also do not put such "temporary" "debug" messages in official release
builds. It is confusing users and builders.
Steps to Reproduce:
Set CMAKE_C_COMPILER in a toolchain file to cl6x and then set CMAKE_ASM_COMPILER
to ${CMAKE_C_COMPILER}. Upon ASM configuration it barfs out all kind of compiler
versions and usages.
Additional Information:
Commit 4b40d4297aa7b984e9b5fa905cdee21960ec4f8a changed behavior for assembler
(which I consider a breaking change when connected to this faulty commit
9071b8b87f0e63f10f1f77949246c1b4241cfb6c).
In cmake 2.8.8 (and 2.8.6 at least, but probably somewhere around 2.8.4/5) when
CMAKE_ASM_COMPILER is not set it is taken from CMAKE_C_COMPILER (this is
4b40d4297aa7b984e9b5fa905cdee21960ec4f8a - a good thing). This is the only way
to avoid this faulty behavior of 9071b8b87f0e63f10f1f77949246c1b4241cfb6c and to
keep output silent when detecting ASM compiler id, so I need to remove setting
CMAKE_ASM_COMPILER(_INIT)? from toolchain file. This however will no longer work
with cmake 2.8.3 which does not have behavior from
4b40d4297aa7b984e9b5fa905cdee21960ec4f8a and it default to /usr/bin/as in such
situation.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-06-05 04:05 raspy New Issue
======================================================================
More information about the cmake-developers
mailing list