MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015065 | CMake | CMake | public | 2014-08-06 15:54 | 2015-05-04 09:05 | |||||
Reporter | Dennis Clarke | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | no change required | |||||||
Platform | Sparc | OS | Solaris | OS Version | 10 | |||||
Product Version | CMake 3.0 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0015065: compile error Source/kwsys/ProcessUNIX.c, line 2214: error: incomplete struct/union/enum sigaction: act | |||||||||
Description | error in source file : Source/kwsys/ProcessUNIX.c line 2214: error: incomplete struct/union/enum sigaction: act The complete info is thus : /opt/solarisstudio12.3/bin/cc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Bootstrap.cmk -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c -o ProcessUNIX.o "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 453: warning: implicit function declaration: strdup "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 453: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2214: error: incomplete struct/union/enum sigaction: act "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2216: error: undefined struct/union member: sa_handler "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2216: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2218: warning: implicit function declaration: sigaction "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2414: warning: implicit function declaration: kill "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2484: warning: implicit function declaration: popen "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2484: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2504: warning: implicit function declaration: pclose "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2558: warning: implicit function declaration: sigemptyset "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2559: warning: implicit function declaration: sigaddset "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2560: warning: implicit function declaration: sigprocmask "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2651: error: incomplete struct/union/enum sigaction: newSigChldAction "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2652: error: incomplete struct/union/enum sigaction: sizeof() "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2660: error: undefined struct/union member: sa_handler "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2660: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2661: error: undefined struct/union member: sa_flags "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2661: error: undefined symbol: SA_NOCLDSTOP "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2754: error: incomplete struct/union/enum sigaction: newSigChldAction "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2755: error: incomplete struct/union/enum sigaction: sizeof() "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2756: error: undefined struct/union member: sa_handler "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2756: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2757: error: undefined struct/union member: sa_flags "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2757: error: undefined symbol: SA_NOCLDSTOP "/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c", line 2548: error: incomplete struct/union/enum sigaction: kwsysProcessesOldSigChldAction cc: acomp failed for /usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Source/kwsys/ProcessUNIX.c gmake: *** [ProcessUNIX.o] Error 2 --------------------------------------------- Error when bootstrapping CMake: Problem while running /usr/local/bin/gmake --------------------------------------------- Log of errors: /usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.001/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- $ | |||||||||
Steps To Reproduce | Extract source tarball. $ mdigest -a sha256 ../src/cmake-3.0.0.tar.gz 99a34b7f74000404feffd82fba9d9e0cd623428c74b6a4851a0dee1c272606c0 ../src/cmake-3.0.0.tar.gz $ gzip -dc ../src/cmake-3.0.0.tar.gz | tar -xf - Create a separate build directory : $ mkdir cmake-3.0.0_SunOS5.10_sparcv9.002 $ cd cmake-3.0.0_SunOS5.10_sparcv9.002 Set some environment variables to allow for cmake to be installed into /usr/local and to use a standard C compiler ( Oracle Studio 12.3 on Solaris 10 ) as well as to target the Oracle Sparc v9 64-bit architecture : AR=/usr/ccs/bin/ar AS=/usr/ccs/bin/as BUILD=/usr/local/build CC=/opt/solarisstudio12.3/bin/cc CFLAGS=-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE CONFIG_SHELL=/usr/local/bin/bash CPPFLAGS=-I/usr/local/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE CXXFLAGS=-dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO CXX=/opt/solarisstudio12.3/bin/CC GREP=/usr/xpg4/bin/grep LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LD_OPTIONS=-64 -R/usr/local/lib/$ISALIST:/usr/local/lib -L/usr/local/lib/$ISALIST:/usr/local/lib LD_RUN_PATH=/usr/local/lib LD=/usr/ccs/bin/sparcv9/ld LIBTOOL=/usr/local/bin/libtool M4=/usr/local/bin/gm4 MAKE=/usr/local/bin/gmake MANPATH=/usr/share/man:/usr/X11/share/man NM=/usr/ccs/bin/sparcv9/nm -p PAGER=/usr/xpg4/bin/more PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin PERL=/usr/local/bin/perl PKG_CONFIG_PATH=/usr/local/lib/pkgconfig SED=/usr/local/bin/gsed SHELL=/bin/ksh XTERM_LOCALE=en_US.UTF-8 The run bootstrap thus : $ ../cmake-3.0.0/bootstrap --------------------------------------------- CMake 3.0.0, Copyright 2000-2014 Kitware, Inc. C compiler on this system is: /opt/solarisstudio12.3/bin/cc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE C++ compiler on this system is: /opt/solarisstudio12.3/bin/CC -dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO Makefile processor on this system is: /usr/local/bin/gmake /opt/solarisstudio12.3/bin/CC is not GNU compiler /opt/solarisstudio12.3/bin/CC has setenv /opt/solarisstudio12.3/bin/CC has unsetenv /opt/solarisstudio12.3/bin/CC does not have environ in stdlib.h /opt/solarisstudio12.3/bin/CC has STL in std:: namespace /opt/solarisstudio12.3/bin/CC has ANSI streams /opt/solarisstudio12.3/bin/CC has streams in std:: namespace /opt/solarisstudio12.3/bin/CC has sstream /opt/solarisstudio12.3/bin/CC has operator!=(string, char*) /opt/solarisstudio12.3/bin/CC does not have stl iterator_traits /opt/solarisstudio12.3/bin/CC does not have old iterator_category /opt/solarisstudio12.3/bin/CC has old __iterator_category /opt/solarisstudio12.3/bin/CC has standard template allocator /opt/solarisstudio12.3/bin/CC does not have allocator<>::rebind<> /opt/solarisstudio12.3/bin/CC has non-standard allocator<>::max_size argument /opt/solarisstudio12.3/bin/CC has stl containers supporting allocator objects /opt/solarisstudio12.3/bin/CC has stl wstring /opt/solarisstudio12.3/bin/CC does not have header cstddef /opt/solarisstudio12.3/bin/CC requires template friends to use <> /opt/solarisstudio12.3/bin/CC supports member templates /opt/solarisstudio12.3/bin/CC has standard template specialization syntax /opt/solarisstudio12.3/bin/CC has argument dependent lookup /opt/solarisstudio12.3/bin/CC has struct stat with st_mtim member /opt/solarisstudio12.3/bin/CC has ios::binary openmode /opt/solarisstudio12.3/bin/CC has ANSI for scoping --------------------------------------------- /opt/solarisstudio12.3/bin/CC -dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I/usr/local/build/cmake-3.0.0/Source -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -c /usr/local/build/cmake-3.0.0/Source/cmStandardIncludes.cxx -o cmStandardIncludes.o /opt/solarisstudio12.3/bin/CC -dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I/usr/local/build/cmake-3.0.0/Source -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -c /usr/local/build/cmake-3.0.0/Source/cmake.cxx -o cmake.o . . . . /opt/solarisstudio12.3/bin/cc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I/usr/local/build/cmake-3.0.0/Source -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -c /usr/local/build/cmake-3.0.0/Source/cmListFileLexer.c -o cmListFileLexer.o "cmListFileLexer.c", line 1769: warning: implicit function declaration: fileno "cmListFileLexer.in.l", line 304: warning: implicit function declaration: strdup "cmListFileLexer.in.l", line 304: warning: improper pointer/integer combination: op "=" . . . /opt/solarisstudio12.3/bin/cc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I/usr/local/build/cmake-3.0.0/Source -I/usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c -o ProcessUNIX.o "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 453: warning: implicit function declaration: strdup "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 453: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2214: error: incomplete struct/union/enum sigaction: act "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2216: error: undefined struct/union member: sa_handler "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2216: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2218: warning: implicit function declaration: sigaction "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2414: warning: implicit function declaration: kill "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2484: warning: implicit function declaration: popen "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2484: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2504: warning: implicit function declaration: pclose "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2558: warning: implicit function declaration: sigemptyset "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2559: warning: implicit function declaration: sigaddset "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2560: warning: implicit function declaration: sigprocmask "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2651: error: incomplete struct/union/enum sigaction: newSigChldAction "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2652: error: incomplete struct/union/enum sigaction: sizeof() "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2660: error: undefined struct/union member: sa_handler "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2660: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2661: error: undefined struct/union member: sa_flags "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2661: error: undefined symbol: SA_NOCLDSTOP "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2754: error: incomplete struct/union/enum sigaction: newSigChldAction "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2755: error: incomplete struct/union/enum sigaction: sizeof() "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2756: error: undefined struct/union member: sa_handler "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2756: warning: improper pointer/integer combination: op "=" "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2757: error: undefined struct/union member: sa_flags "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2757: error: undefined symbol: SA_NOCLDSTOP "/usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2548: error: incomplete struct/union/enum sigaction: kwsysProcessesOldSigChldAction cc: acomp failed for /usr/local/build/cmake-3.0.0/Source/kwsys/ProcessUNIX.c gmake: *** [ProcessUNIX.o] Error 2 --------------------------------------------- Error when bootstrapping CMake: Problem while running /usr/local/bin/gmake --------------------------------------------- Log of errors: /usr/local/build/cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- $ | |||||||||
Additional Information | It seems strange to me that these lines would toss an error : /*--------------------------------------------------------------------------*/ /* Restores all signal handlers to their default values. */ static void kwsysProcessRestoreDefaultSignalHandlers(void) { struct sigaction act; memset(&act, 0, sizeof(struct sigaction)); act.sa_handler = SIG_DFL; #ifdef SIGHUP sigaction(SIGHUP, &act, 0); #endif #ifdef SIGINT sigaction(SIGINT, &act, 0); #endif . . . etc etc The necessary header signal.h is definately included and I try the compile manually with full verbose tracking and a list of each header file as it is used : $ which cc /opt/solarisstudio12.3/bin/cc $ cc $CFLAGS -H -\# \ > -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE \ > -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk \ > -I../cmake-3.0.0/Source \ > -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk \ > -DKWSYS_NAMESPACE=cmsys \ > -c ../cmake-3.0.0/Source/kwsys/ProcessUNIX.c \ > -o ProcessUNIX.o ### cc: Note: NLSPATH = /opt/solarisstudio12.3/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/solarisstudio12.3/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat ### command line files and options (expanded): ### -errfmt=error -erroff=%none -errshort=full -xstrconst -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xchip=ultraT2 -xarch=sparcvis2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -H -# -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I../cmake-3.0.0/Source -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c ../cmake-3.0.0/Source/kwsys/ProcessUNIX.c -oProcessUNIX.o /opt/solarisstudio12.3/prod/bin/acomp -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -H -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -DKWSYS_NAMESPACE=cmsys -Qy -Xc -xc99=%all,no%lib -features=extinl,no%typeof,no%extensions,conststrings -i ../cmake-3.0.0/Source/kwsys/ProcessUNIX.c -D__SunOS_5_10 -D__SUNPRO_C=0x5120 -D__unix -D__SVR4 -D__sun -D__SunOS -D__sparcv9 -D__sparc -D_LP64 -D__LP64__ -D__BUILTIN_VA_ARG_INCR -D__C99FEATURES__ -D__PRAGMA_REDEFINE_EXTNAME -D__FLT_EVAL_METHOD__=0 -D__SUN_PREFETCH -D__NOVECTORSIZE__ -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I../cmake-3.0.0/Source -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I-xbuiltin -I/opt/solarisstudio12.3/prod/include/cc -2K -errfmt=error -erroff=%none -errshort=full -dg -xbuiltin=%none -strconst -fsimple=0 -m64 -fparam_ir -xF=%none -xdbggen=no%stabs+dwarf2+usedonly -xdbggen=incl -xldscope=global -xivdep=loop "-g/opt/solarisstudio12.3/prod/bin/cc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -H -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -I../cmake-3.0.0/Source -I../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk -DKWSYS_NAMESPACE='cmsys' -c " -destination_ir=yabe -y-fbe -y/opt/solarisstudio12.3/prod/bin/fbe -y-xcode=pic32 -y-ftrap=%none -y-xmemalign=8s -y-verbose -y-comdat -y-g -y-xarch=sparcvis2 -y-m64 -y-comdat -y-xthreadvar=dynamic -y-xannotate=yes -y-o -yProcessUNIX.o -y-s ../cmake-3.0.0/Source/kwsys/kwsysPrivate.h ../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk/cmsys/Process.h ../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk/cmsys/Configure.h ../cmake-3.0.0_SunOS5.10_sparcv9.002/Bootstrap.cmk/cmsys/System.h /usr/include/stddef.h /usr/include/sys/isa_defs.h /usr/include/iso/stddef_iso.h /usr/include/stdio.h /usr/include/sys/feature_tests.h /usr/include/sys/ccompile.h /usr/include/iso/stdio_iso.h /usr/include/sys/va_list.h /usr/include/stdio_tag.h /usr/include/stdio_impl.h /usr/include/iso/stdio_c99.h /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h /usr/include/iso/stdlib_c99.h /usr/include/string.h /usr/include/iso/string_iso.h /usr/include/sys/time.h /usr/include/sys/types.h /usr/include/sys/machtypes.h /usr/include/sys/int_types.h /usr/include/sys/select.h /usr/include/sys/time_impl.h /usr/include/sys/time.h /usr/include/time.h /usr/include/iso/time_iso.h /usr/include/sys/wait.h /usr/include/sys/resource.h /usr/include/sys/siginfo.h /usr/include/sys/machsig.h /usr/include/sys/procset.h /usr/include/sys/signal.h /usr/include/sys/iso/signal_iso.h /usr/include/sys/unistd.h /usr/include/sys/stat.h /usr/include/sys/stat_impl.h /usr/include/unistd.h /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/errno.h /usr/include/sys/errno.h /usr/include/signal.h /usr/include/iso/signal_iso.h /usr/include/dirent.h /usr/include/sys/dirent.h /usr/include/ctype.h /usr/include/iso/ctype_iso.h /usr/include/iso/ctype_c99.h "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 453: warning: implicit function declaration: strdup "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 453: warning: improper pointer/integer combination: op "=" "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2214: error: incomplete struct/union/enum sigaction: act "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2216: error: undefined struct/union member: sa_handler "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2216: warning: improper pointer/integer combination: op "=" "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2218: warning: implicit function declaration: sigaction "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2414: warning: implicit function declaration: kill "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2484: warning: implicit function declaration: popen "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2484: warning: improper pointer/integer combination: op "=" "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2504: warning: implicit function declaration: pclose "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2558: warning: implicit function declaration: sigemptyset "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2559: warning: implicit function declaration: sigaddset "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2560: warning: implicit function declaration: sigprocmask "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2651: error: incomplete struct/union/enum sigaction: newSigChldAction "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2652: error: incomplete struct/union/enum sigaction: sizeof() "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2660: error: undefined struct/union member: sa_handler "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2660: warning: improper pointer/integer combination: op "=" "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2661: error: undefined struct/union member: sa_flags "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2661: error: undefined symbol: SA_NOCLDSTOP "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2754: error: incomplete struct/union/enum sigaction: newSigChldAction "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2755: error: incomplete struct/union/enum sigaction: sizeof() "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2756: error: undefined struct/union member: sa_handler "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2756: warning: improper pointer/integer combination: op "=" "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2757: error: undefined struct/union member: sa_flags "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2757: error: undefined symbol: SA_NOCLDSTOP "../cmake-3.0.0/Source/kwsys/ProcessUNIX.c", line 2548: error: incomplete struct/union/enum sigaction: kwsysProcessesOldSigChldAction cc: acomp failed for ../cmake-3.0.0/Source/kwsys/ProcessUNIX.c $ So this is a bit baffling to me as you can clearly see the signal.h header used above. This however does stop me for getting cmake built on Solaris 10 and thus I hope this is a trivial bug easy to track down. Thank you. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2014-08-06 15:54 | Dennis Clarke | New Issue | ||||||||
2014-08-06 17:06 | Chuck Atkins | Note Added: 0036565 | ||||||||
2014-08-07 06:09 | Dennis Clarke | Note Added: 0036568 | ||||||||
2014-08-07 09:10 | Brad King | Note Added: 0036572 | ||||||||
2014-08-07 11:03 | Chuck Atkins | Note Added: 0036576 | ||||||||
2014-08-07 17:06 | Dennis Clarke | Note Added: 0036579 | ||||||||
2014-08-07 17:10 | Dennis Clarke | Note Added: 0036580 | ||||||||
2014-08-07 17:26 | Dennis Clarke | Note Edited: 0036580 | bug_revision_view_page.php?bugnote_id=36580#r1540 | |||||||
2014-08-07 22:26 | Dennis Clarke | Note Added: 0036581 | ||||||||
2014-08-11 09:15 | Brad King | Note Edited: 0036581 | bug_revision_view_page.php?bugnote_id=36581#r1544 | |||||||
2014-08-11 09:19 | Brad King | Note Added: 0036587 | ||||||||
2014-09-22 13:03 | Brad King | Relationship added | related to 0015166 | |||||||
2014-12-23 10:28 | Brad King | Note Added: 0037523 | ||||||||
2014-12-23 10:28 | Brad King | Status | new => resolved | |||||||
2014-12-23 10:28 | Brad King | Resolution | open => no change required | |||||||
2014-12-23 10:28 | Brad King | Description Updated | bug_revision_view_page.php?rev_id=1658#r1658 | |||||||
2014-12-23 10:28 | Brad King | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=1660#r1660 | |||||||
2014-12-23 10:28 | Brad King | Additional Information Updated | bug_revision_view_page.php?rev_id=1662#r1662 | |||||||
2015-05-04 09:05 | Robert Maynard | Note Added: 0038709 | ||||||||
2015-05-04 09:05 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|