GNU bug report logs - #17294
Bug - nm_test_func check is confused with -flto

Previous Next

Package: libtool;

Reported by: Martin Liška <mliska <at> suse.cz>

Date: Fri, 18 Apr 2014 16:35:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Liška <mliska <at> suse.cz>
To: bug-libtool <at> gnu.org
Subject: Bug - nm_test_func check is confused with -flto
Date: Fri, 18 Apr 2014 15:01:51 +0200
Hello,
    starting with GCC 4.9.0, compiler will use just slim objects files 
during LTO compilation. That means, no assembly output is put to object 
files. I noticed that libtool uses nm tools to extract symbol from 
object file: http://pastebin.com/RF1VubdR. Would it be possible to add 
-fno-lto for this check?

I think there should be added '-fno-lto' at line 14:
  (eval $ac_compile -fno-lto) 2>&5

What do you think about that?

Thank you,
Martin








This bug report was last modified 11 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.