On Sat, Oct 24, 2009 at 12:17:53PM -0700, Markus Moeller wrote:
> Sorry another library gives errors when building with the options.
> 
> /src/build/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -g  -K pic -xspace 
> -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT 
> -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v 
> -xstrconst -D_REENTRANT -g -xc99=%none -W0,-noglobal 
> -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=dwarf 
> -I/src/build/usr/src/lib/libldap5/include/ldap  -I/usr/include/mps 
> -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  
> -I/src/build/proto/root_i386/usr/include    -DPIC -D_REENTRANT -c -g -DSVR4 
> -DSYSV -D__svr4 -D__svr4__ -DSOLARIS  -D_SOLARIS_SDK  -DUSE_WAITPID 
> -DNEEDPROTOS  -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS  -DNS_DOMESTIC 
> -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION  -DLDAP_SASLIO_HOOKS 
> -I/src/build/usr/src/lib/libldap5/include/ldap  -I/usr/include/mps -o 
> pics/compat.o ../sources/ldap/common/compat.c
> + /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin 
> -fno-asm -nodefaultlibs -D__sun -gdwarf-2 -fpic -Wall -Wno-unknown-pragmas 
> -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-uninitialized 
> -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs 
> -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -D_REENTRANT -gdwarf-2 
> -std=gnu89 -fno-dwarf2-indirect-strings 
> -I/src/build/usr/src/lib/libldap5/include/ldap -I/usr/include/mps 
> -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO 
> -I/src/build/proto/root_i386/usr/include -DPIC -D_REENTRANT -c -gdwarf-2 
> -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS -D_SOLARIS_SDK -DUSE_WAITPID 
> -DNEEDPROTOS -DNET_SSL -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC 
> -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS 
> -I/src/build/usr/src/lib/libldap5/include/ldap -I/usr/include/mps -o 
> /tmp/.cwCAAgeaa0A.o ../sources/ldap/common/compat.c
> + /opt/SUNWspro/bin/cc -g -K pic -xspace -Xa -xildoff -errtags=yes 
> -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT 
> -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -v -xstrconst 
> -D_REENTRANT -g -xc99=%none -W0,-noglobal -xdebugformat=dwarf 
> -I/src/build/usr/src/lib/libldap5/include/ldap -I/usr/include/mps 
> -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO 
> -I/src/build/proto/root_i386/usr/include -DPIC -D_REENTRANT -c -g -DSVR4 
> -DSYSV -D__svr4 -D__svr4__ -DSOLARIS -D_SOLARIS_SDK -DUSE_WAITPID 
> -DNEEDPROTOS -DNET_SSL -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC 
> -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS 
> -I/src/build/usr/src/lib/libldap5/include/ldap -I/usr/include/mps -o 
> pics/compat.o ../sources/ldap/common/compat.c
> ERROR: ctfconvert: file does not contain dwarf type data (try compiling with 
> -g)
> Removing pics/compat.o

Yeah, I've seen that too when trying to compile libnsl with those
compile settings.  I'm going to open a bug against ctfconvert.  See:

6895284 ctfconvert failing for certain libs when 
DEBUGFORMAT="-xdebugformat=dwarf" set

-- 
Will Fiveash
Sun Microsystems Inc.
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet ASCII MUA
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to