[LLVMbugs] [Bug 23187] New: Clang cannot consume -Og
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 9 22:31:36 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23187
Bug ID: 23187
Summary: Clang cannot consume -Og
Product: clang
Version: 3.6
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: noloader at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang is having trouble consuming -Og.
-Og was added to GCC a couple of years ago (2012 or so). It enables
optimizations that don't effect debugging sessions. That is, you still get
analysis but you don't see a lot of "optimized out" under the debugger. Read
more at
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html#Optimize-Options.
**********
$ /usr/local/bin/clang --version
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-apple-darwin12.6.0
Thread model: posix
**********
/usr/local/bin/clang -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -g3
-Og -Wall -fsanitize=undefined -fsanitize=address -DDSO_DLFCN -DHAVE_DLFCN_H
-arch i386 -DL_ENDIAN -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM
-DGHASH_ASM -DECP_NISTZ256_ASM -c -o cryptlib.o cryptlib.c
error: invalid integral value 'g' in '-Og'
error: invalid integral value 'g' in '-Og'
make[1]: *** [cryptlib.o] Error 1
make: *** [build_crypto] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150410/18bb87e4/attachment.html>
More information about the llvm-bugs
mailing list