Albertson, Brett wrote:
ok, another nightly produced more errors. Take a look at this:
cc: Warning: option -_ passed to ld
cc: Warning: option -= passed to ld
cc: Warning: option -- passed to ld
cc: illegal option -Wno-return-type
*** Error code 1
dmake: Warning: Command failed for target `pics/hosts_access.o'
Current working directory
/var/tmp/opensolaris-svn/trunk/usr/src/lib/libwrap/sparc
This is funky it looks like libwrap is not using the compiler wrapper,
which is what would process the -_gcc flag.
I'm not sure where "-_gcc=-Wno-return-type" came from since I'm not using gcc.
Here's my build environment:
That tells the compiler wrapper to give -Wno-return-type to gcc if
gcc is being used. Otherwise it won't pass it to cc.
That was added to 'fix' some gcc issues with the libwrap source.
But the problem seems to be you're not using the compiler wrapper
but instead invoking cc directly, which is funny because
the nightly tests say otherwise:
==== Build environment ====
32-bit compiler
/opt/onbld/bin/sparc/cw -_cc
/opt/SUNWspro/bin/cc
cc: Sun C 5.7 Patch 117836-03 2005/05/11
64-bit compiler
/opt/onbld/bin/sparc/cw -_cc
/opt/SUNWspro/bin/cc
cc: Sun C 5.7 Patch 117836-03 2005/05/11
Looks like nightly thinks you're using cw.
Unless those checks are busted.
What's going on?
You need to find out why it's using cc not cw. I would check
the environment to see if perhaps you're setting CC. Maybe use
bldenv to go there and build by hand and see why it's behaving
this way.
Mike
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code