[cfe-dev] Another Linker error with clang++

Devchandra L Meetei dlmeetei at gmail.com
Thu Sep 15 12:34:11 PDT 2011


On Fri, Sep 16, 2011 at 12:23 AM, Eric Christopher <echristo at apple.com>wrote:

>
> On Sep 15, 2011, at 11:10 AM, Devchandra L Meetei wrote:
>
> > Aha, forgot to mention, debug is enebled in both the clang++ and g++.
> > All the flags are same in both the clang++ and g++
>
> "All flags the same" means nothing to us. That debug info is on means a
> bit, is there a significant difference with it turned on? Let me be precise:
> "How are you compiling this program? What exact flags are you using? What
> are you using to make the comparisons?"
>
> -eric
>
These are the flags being used and -Wno-unused and -Wno-unused-parameter are
repeated.
The comparision is very naive, for compilation time time command is being
used and for du -h dir for the size.

Let me give the comparison without the -g options shortly

g++ -c -o
/home/deleisha/CodeSpace/pegasus/pkg/obj/utils/cnv2rootbundle/cnv2rootbundle.o
-W -Wall -Wno-unused -Wno-unused-parameter -D_GNU_SOURCE -DTHREAD_SAFE
-D_REENTRANT -g -m64 -fvisibility=hidden -fPIE
-DPEGASUS_PLATFORM_LINUX_GENERIC_GNU -DPEGASUS_PLATFORM_LINUX_X86_64_GNU
-DPEGASUS_USE_SYSLOGS -DPEGASUS_ARCH_LIB=\"lib64\"
-DPEGASUS_USE_SQLITE_REPOSITORY -DPEGASUS_ENABLE_CQL
-DPEGASUS_DEFAULT_ENABLE_OOP -DPEGASUS_DISABLE_PROV_USERCTXT
-DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_AUDIT_LOGGER
-DPEGASUS_ENABLE_IPV6 -DPEGASUS_ENABLE_INDICATION_COUNT
-DPEGASUS_ENABLE_INTEROP_PROVIDER -DPEGASUS_DEBUG
-DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES
-DPEGASUS_ENABLE_CMPI_PROVIDER_MANAGER -DPEGASUS_DEST_LIB_DIR=\"lib\"
-DPEGASUS_ENABLE_PROTOCOL_WSMAN -DPEGASUS_EXTRA_PROVIDER_LIB_DIR=\"\"
-DPLATFORM_COMPONENT_NAME=\"cnv2rootbundle\"
-I/home/deleisha/CodeSpace/pegasus/src  cnv2rootbundle.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110916/b1488f16/attachment.html>


More information about the cfe-dev mailing list