Hi! ----
Is there any way how I can use Sun Studio's "-xMerge" option in OS/Net code ? A quick test results in the following warning: -- snip -- $ make install mkdir -p "$(dirname "pics/bltins/alarm.o")" /home/test001/ksh93/on_build1/test1_sparc/usr/src/tools/proto/opt/onbld/bin/sparc/cw -_cc -xO3 -xarch=v8 -Wc,-Qassembler-ounrefsym=0 -xregs=no%appl -K pic -xspace -W0,-Lt -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -erroff=E_UNRECOGNIZED_PRAGMA_IGNORED -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -Wd,-xsafe=unboundsym -W2,-xwrap_int -W0,-xglobalstatic -v -xstrconst -_cc=-xMerge -g -Wc,-Qiselect-T1 -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO -Isrc/cmd/ksh93 -I../common/include -I/home/test001/ksh93/on_build1/test1_sparc/proto/root_sparc/usr/include/ast -DKSHELL -DSHOPT_APPEND -DSHOPT_BRACEPAT -DSHOPT_CMDLIB_SOLARIS_BLTINS=1 -DSHOPT_CMDLIB_BLTIN=0 -DSHOPT_COMPOUND_ARRAY -DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FILESCAN -DSHOPT_HISTEXPAND -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -DSHOPT_PFSH -DSHOPT_RAWONLY -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_SYSRC -D_BLD_shell -D_PACKAGE_ast '-DUSAGE_LICENSE="[-author?David Korn <[EMAIL PROTECTED]>][-copyright?Copyright (c) 1982-2006 AT&T Knowledge Ventures][-license?http://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]"' -DPIC -D_REENTRANT -c -o pics/bltins/alarm.o ../common/bltins/alarm.c + /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -mno-integer-ldd-std -D__sun -fno-strict-aliasing -fno-unit-at-a-time -fno-optimize-sibling-calls -O2 -m32 -mcpu=v8 -mno-v8plus -mno-app-regs -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=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -gdwarf-2 -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -fno-dwarf2-indirect-strings -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -Isrc/cmd/ksh93 -I../common/include -I/home/test001/ksh93/on_build1/test1_sparc/proto/root_sparc/usr/include/ast -DKSHELL -DSHOPT_APPEND -DSHOPT_BRACEPAT -DSHOPT_CMDLIB_SOLARIS_BLTINS=1 -DSHOPT_CMDLIB_BLTIN=0 -DSHOPT_COMPOUND_ARRAY -DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FILESCAN -DSHOPT_HISTEXPAND -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -DSHOPT_PFSH -DSHOPT_RAWONLY -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_SYSRC -D_BLD_shell -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?David Korn <[EMAIL PROTECTED]>][-copyright?Copyright (c) 1982-2006 AT&T Knowledge Ventures][-license?http://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]" -DPIC -D_REENTRANT -c -o /tmp/.cwCAAY3aiEn.o ../common/bltins/alarm.c + /opt/SUNWspro/bin/cc -xO3 -xarch=v8 -Wc,-Qassembler-ounrefsym=0 -xregs=no%appl -K pic -xspace -W0,-Lt -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -erroff=E_UNRECOGNIZED_PRAGMA_IGNORED -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -Wd,-xsafe=unboundsym -W2,-xwrap_int -W0,-xglobalstatic -v -xstrconst -xMerge -g -Wc,-Qiselect-T1 -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -W0,-noglobal -xdebugformat=stabs -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -Isrc/cmd/ksh93 -I../common/include -I/home/test001/ksh93/on_build1/test1_sparc/proto/root_sparc/usr/include/ast -DKSHELL -DSHOPT_APPEND -DSHOPT_BRACEPAT -DSHOPT_CMDLIB_SOLARIS_BLTINS=1 -DSHOPT_CMDLIB_BLTIN=0 -DSHOPT_COMPOUND_ARRAY -DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FILESCAN -DSHOPT_HISTEXPAND -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -DSHOPT_PFSH -DSHOPT_RAWONLY -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_SYSRC -D_BLD_shell -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?David Korn <[EMAIL PROTECTED]>][-copyright?Copyright (c) 1982-2006 AT&T Knowledge Ventures][-license?http://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]" -DPIC -D_REENTRANT -c -o pics/bltins/alarm.o ../common/bltins/alarm.c cc: Warning: -xMerge conflicts with -g. -xMerge turned off. -- snip -- ... is there any way around this problem ? "-g" is needed by "ctfconvert"&co. and seems to rule-out another usefull optimisation... ;-( ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
