[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incorrect checking of '-g'

From: Bram Stolk
Subject: Incorrect checking of '-g'
Date: Mon, 31 Dec 2001 14:32:52 +0100


There is a severe bug in libtool version 1.4.2
libtool checks for both C and CXX compilers whether
the '-c -o' contruct is allowed.

Even if it finds that this is not the case,
it will later on check for '-g' capability USING THE VERY SAME
'-c -o' construct.

Ofcourse, the test will fail (due to '-c -o', not because of '-g')

This results in an invalid assumption, causing GNU autoconf/automake
enviroments to skip debug flags when using e.g. the new Intel icc 
compiler for linux.

affected file:      /usr/share/aclocal/libtool.m4
affected version:   1.4.2

   Bram Stolk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]