public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problems building gcc-2.95.2 on Solaris 2.7
@ 1999-12-08 12:40 Stephanie Lanthier
  1999-12-09 21:33 ` Mark McGee
  1999-12-31 22:24 ` Stephanie Lanthier
  0 siblings, 2 replies; 4+ messages in thread
From: Stephanie Lanthier @ 1999-12-08 12:40 UTC (permalink / raw)
  To: help-gcc

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     \|/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-08 12:40 problems building gcc-2.95.2 on Solaris 2.7 Stephanie Lanthier
1999-12-09 21:33 ` Mark McGee
1999-12-31 22:24   ` Mark McGee
1999-12-31 22:24 ` Stephanie Lanthier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).