[LLVMbugs] [Bug 8611] New: linking and -g
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 15 08:17:00 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8611
Summary: linking and -g
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: Axel.Naumann at cern.ch
CC: llvmbugs at cs.uiuc.edu
Hi,
$ clang++ -v
clang version 2.9 (trunk 119140)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ cat t.cxx
void f() {}
$ clang++ -g -c t.cxx -fPIC
$ clang++ -g t.o -shared -olibt.so
clang: warning: argument unused during compilation: '-g'
while GCC is happy (and I believe actually requires -g for putting debug info
into the .so). Could you change that to be compatible with build systems using
GCC?
Cheers, Axel.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list