From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephanie Lanthier To: help-gcc@gnu.org Subject: problems building gcc-2.95.2 on Solaris 2.7 Date: Wed, 08 Dec 1999 12:40:00 -0000 Message-id: <384EC0F8.91AAD247@math.uqam.ca> X-SW-Source: 1999-12/msg00123.html Since we install Solaris 2.7, we are experiencing problems compiling with all cc compilers. Especially, with gcc. So, we're trying to install gcc-2.95.2. The compiler gcc-2.95.1 is installed and was compiled under solaris 2.4. We use gcc-2.95.1 to build gcc-2.95.2 under Solaris 2.7. The following is what we get. % make bootstrap-lean rm -f needed-list; touch needed-list; \ for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strrchr strstr strt ol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \ for g in asprintf.o mkstemps.o setenv.o vasprintf.o ; do \ case "$g" in \ *$f*) echo $g >> needed-list ;; \ esac; \ done; \ done echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o he x.o floatformat.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatex it.o xexit.o xmalloc.o xstrdup.o xstrerror.o > required-list make all-recursive Making all in intl Making all in lib Making all in makeinfo Bootstrapping the compiler make CC="/usr/local/bin/gcc" libdir=/usr/local/lib LANGUAGES="c" /usr/local/bin/gcc -DIN_GCC -DHAIFA -DSVR4 -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2.src/gcc -I.. /../gcc-2.95.2.src/gcc/config -I../../gcc-2.95.2.src/gcc/../include \ -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include\" \ -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../..`echo /usr/l ocal | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \ -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../sparc-sun-solar is2.7/sys-include\" \ -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../sparc-sun-solari s2.7/include\" \ -c `echo ../../gcc-2.95.2.src/gcc/cccp.c | sed 's,^\./,,'` In file included from ../../gcc-2.95.2.src/gcc/system.h:153, from ../../gcc-2.95.2.src/gcc/cccp.c:23: /usr/local/produits/gcc-2.95.1/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/sys/param.h:185: warnin g: `NBBY' redefined /usr/include/sys/select.h:56: warning: this is the location of the previous definition In file included from /usr/include/siginfo.h:14, from /usr/local/produits/gcc-2.95.1/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/t ime.h:92, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /usr/local/produits/gcc-2.95.1/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/s ys/types.h:274, from ../../gcc-2.95.2.src/gcc/system.h:124, from ../../gcc-2.95.2.src/gcc/cccp.c:23: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from /usr/include/fcntl.h:24, from ../../gcc-2.95.2.src/gcc/system.h:202, from ../../gcc-2.95.2.src/gcc/cccp.c:23: /usr/include/sys/fcntl.h:192: parse error before `off64_t' /usr/include/sys/fcntl.h:192: warning: no semicolon at end of struct or union /usr/include/sys/fcntl.h:193: warning: data definition has no type or storage class /usr/include/sys/fcntl.h:197: parse error before `}' /usr/include/sys/fcntl.h:197: warning: data definition has no type or storage class ../../gcc-2.95.2.src/gcc/cccp.c: In function `index0': ../../gcc-2.95.2.src/gcc/cccp.c:2243: warning: initialization makes pointer from integer without a cas t ../../gcc-2.95.2.src/gcc/cccp.c: In function `base_name': ../../gcc-2.95.2.src/gcc/cccp.c:4781: warning: assignment makes pointer from integer without a cast ../../gcc-2.95.2.src/gcc/cccp.c:4783: warning: assignment makes pointer from integer without a cast ../../gcc-2.95.2.src/gcc/cccp.c: In function `check_preconditions': ../../gcc-2.95.2.src/gcc/cccp.c:5401: warning: assignment makes pointer from integer without a cast *** Error code 1 make: Fatal error: Command failed for target `cccp.o' Current working directory /usr/local/produits/gcc-2.95.2.obj/gcc *** Error code 1 make: Fatal error: Command failed for target `bootstrap-lean' Current working directory /usr/local/produits/gcc-2.95.2.obj/gcc *** Error code 1 make: Fatal error: Command failed for target `bootstrap-lean' -- \|/ Stephanie Lanthier \|/ \|/ lanthier@math.uqam.ca \|/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephanie Lanthier To: help-gcc@gnu.org Subject: problems building gcc-2.95.2 on Solaris 2.7 Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <384EC0F8.91AAD247@math.uqam.ca> X-SW-Source: 1999-12n/msg00123.html Message-ID: <19991231222400.LgnXbffuk42JJJodjAXkKZUMZD9lBEjl3i6IqZ2ESCo@z> Since we install Solaris 2.7, we are experiencing problems compiling with all cc compilers. Especially, with gcc. So, we're trying to install gcc-2.95.2. The compiler gcc-2.95.1 is installed and was compiled under solaris 2.4. We use gcc-2.95.1 to build gcc-2.95.2 under Solaris 2.7. The following is what we get. % make bootstrap-lean rm -f needed-list; touch needed-list; \ for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strrchr strstr strt ol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \ for g in asprintf.o mkstemps.o setenv.o vasprintf.o ; do \ case "$g" in \ *$f*) echo $g >> needed-list ;; \ esac; \ done; \ done echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o he x.o floatformat.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatex it.o xexit.o xmalloc.o xstrdup.o xstrerror.o > required-list make all-recursive Making all in intl Making all in lib Making all in makeinfo Bootstrapping the compiler make CC="/usr/local/bin/gcc" libdir=/usr/local/lib LANGUAGES="c" /usr/local/bin/gcc -DIN_GCC -DHAIFA -DSVR4 -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2.src/gcc -I.. /../gcc-2.95.2.src/gcc/config -I../../gcc-2.95.2.src/gcc/../include \ -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include\" \ -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../..`echo /usr/l ocal | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \ -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../sparc-sun-solar is2.7/sys-include\" \ -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../sparc-sun-solari s2.7/include\" \ -c `echo ../../gcc-2.95.2.src/gcc/cccp.c | sed 's,^\./,,'` In file included from ../../gcc-2.95.2.src/gcc/system.h:153, from ../../gcc-2.95.2.src/gcc/cccp.c:23: /usr/local/produits/gcc-2.95.1/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/sys/param.h:185: warnin g: `NBBY' redefined /usr/include/sys/select.h:56: warning: this is the location of the previous definition In file included from /usr/include/siginfo.h:14, from /usr/local/produits/gcc-2.95.1/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/t ime.h:92, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /usr/local/produits/gcc-2.95.1/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/s ys/types.h:274, from ../../gcc-2.95.2.src/gcc/system.h:124, from ../../gcc-2.95.2.src/gcc/cccp.c:23: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from /usr/include/fcntl.h:24, from ../../gcc-2.95.2.src/gcc/system.h:202, from ../../gcc-2.95.2.src/gcc/cccp.c:23: /usr/include/sys/fcntl.h:192: parse error before `off64_t' /usr/include/sys/fcntl.h:192: warning: no semicolon at end of struct or union /usr/include/sys/fcntl.h:193: warning: data definition has no type or storage class /usr/include/sys/fcntl.h:197: parse error before `}' /usr/include/sys/fcntl.h:197: warning: data definition has no type or storage class ../../gcc-2.95.2.src/gcc/cccp.c: In function `index0': ../../gcc-2.95.2.src/gcc/cccp.c:2243: warning: initialization makes pointer from integer without a cas t ../../gcc-2.95.2.src/gcc/cccp.c: In function `base_name': ../../gcc-2.95.2.src/gcc/cccp.c:4781: warning: assignment makes pointer from integer without a cast ../../gcc-2.95.2.src/gcc/cccp.c:4783: warning: assignment makes pointer from integer without a cast ../../gcc-2.95.2.src/gcc/cccp.c: In function `check_preconditions': ../../gcc-2.95.2.src/gcc/cccp.c:5401: warning: assignment makes pointer from integer without a cast *** Error code 1 make: Fatal error: Command failed for target `cccp.o' Current working directory /usr/local/produits/gcc-2.95.2.obj/gcc *** Error code 1 make: Fatal error: Command failed for target `bootstrap-lean' Current working directory /usr/local/produits/gcc-2.95.2.obj/gcc *** Error code 1 make: Fatal error: Command failed for target `bootstrap-lean' -- \|/ Stephanie Lanthier \|/ \|/ lanthier@math.uqam.ca \|/