Hi!

----

While compiling the ksh93-integration prototype003 tree (build
instructions can be found in
http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2006-October/001459.html)
with Sun Studio 11 I hit the following problem: The build fails with a
weired gcc error (which runs in a "shadow compilation mode" to make sure
that the tree compiles with gcc, too - see
http://www.opensolaris.org/os/community/on/flag-days/pages/2006033001/
for details) which only occurs for "sh/streval.c" like this:
-- snip --
hal-9000 --> Job output
mkdir -p "$(dirname "pics/sh/streval.o")"
/home/test001/ksh93/on_build1/test1_x86/usr/src/tools/proto/opt/onbld/bin/i386/cw
-_cc "" -xarch=amd64 -Ui386 -U__i386 -K pic  -Xa  
-xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT
-erroff=E_STATEMENT_NOT_REACHED -erroff=E_UNRECOGNIZED_PRAGMA_I
GNORED -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1   
-W0,-xglobalstatic -g -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 
-W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -g
-xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -W0,-noglo
bal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs
-DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -Isrc/cmd/ksh93 
-I../commo
n/include 
-I/home/test001/ksh93/on_build1/test1_x86/proto/root_i386/usr/include/ast 
-DKSHELL  -DSHOPT_APPEND  -DSHOPT_BRACEPAT  -D
SHOPT_CMDLIB_SOLARIS_BLTINS=1  -DSHOPT_CMDLIB_BLTIN=0 
-DSHOPT_COMPOUND_ARRAY  -DSHOPT_DYNAMIC  -DSHOPT_ESH  -DSHOPT_FILESCAN 
-DSHO
PT_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 <dgk at research.att.com>][-copyright
?Copyright (c) 1982-2006 AT&T Knowledge
Ventures][-license?http://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]";'
-DPI
C -D_REENTRANT -c -o pics/sh/streval.o ../common/sh/streval.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin
-fno-asm -nodefaultlibs -D__sun  -m64 -mtune=opteron -Ui386 -
U__i386 -fpic -Wall -Wno-unknown-pragmas -Wno-missing-braces
-Wno-sign-compare -Wno-parentheses -Wno-uninitialized -Wno-implicit-fun
ction-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 -gdwarf-2 -std=gnu99 -D_XOPEN_SOURCE=60
0 -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_x86/proto/root_i386/usr/include/ast
-DKSHELL -DSHOPT_APPEND -DSHOPT_BRACEPAT -DSHOPT_CMDLIB_SOLAR
IS_BLTINS=1 -DSHOPT_CMDLIB_BLTIN=0 -DSHOPT_COMPOUND_ARRAY
-DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FILESCAN -DSHOPT_HISTEXPAND
-DSHOPT_KI
A -DSHOPT_MULTIBYTE -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -DSHOPT_PFSH
-DSHOPT_RAWONLY -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_SYSRC -D_B
LD_shell -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?David Korn
<dgk at research.att.com>][-copyright?Copyright (c) 1982-2006 AT&T Knowled
ge
Ventures][-license?http://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]";
-DPIC -D_REENTRANT -c -o /tmp/.cwCAAq0aGoS
.o ../common/sh/streval.c 
gcc: : No such file or directory
+ /opt/SUNWspro/bin/cc  -xarch=amd64 -Ui386 -U__i386 -K pic -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 -W0,-xgloba
lstatic -g -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
-W0,-noglobal -xdebugformat=stabs -g -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_x86/proto/root_i386/usr/include/ast
-DKSHELL -DSHOPT_APPEND -DSHOPT_BRACEPAT -DSHOPT_CMDLIB_SOLAR
IS_BLTINS=1 -DSHOPT_CMDLIB_BLTIN=0 -DSHOPT_COMPOUND_ARRAY
-DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FILESCAN -DSHOPT_HISTEXPAND
-DSHOPT_KI
A -DSHOPT_MULTIBYTE -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -DSHOPT_PFSH
-DSHOPT_RAWONLY -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_SYSRC -D_B
LD_shell -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?David Korn
<dgk at research.att.com>][-copyright?Copyright (c) 1982-2006 AT&T Knowled
ge
Ventures][-license?http://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]";
-DPIC -D_REENTRANT -c -o pics/sh/streval.o
 ../common/sh/streval.c 
*** Error code 1
dmake: Fatal error: Command failed for target `pics/sh/streval.o'
Current working directory
/home/test001/ksh93/on_build1/test1_x86/usr/src/lib/libshell/amd64
*** Error code 1
The following command caused the error:
cd amd64; pwd; dmake install
dmake: Fatal error: Command failed for target `amd64'
Current working directory
/home/test001/ksh93/on_build1/test1_x86/usr/src/lib/libshell
*** Error code 1
The following command caused the error:
if [ -f libshell/Makefile  ]; then \
        cd libshell; pwd; dmake install; \
else \
        true; \
fi
dmake: Fatal error: Command failed for target `libshell'
-- snip --

I've been looking at the Makefiles, debugging the issue over and over
again but I don't see what may be wrong in this case - all other sources
compile without problems and there is no special rule for
"sh/streval.c".

Does anyone may have an idea whar may cause this problem ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to