public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/2484: Build problem on Solaris 5.7
@ 2001-04-04  8:46 emount
  0 siblings, 0 replies; only message in thread
From: emount @ 2001-04-04  8:46 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2484
>Category:       c++
>Synopsis:       Build problem on Solaris 5.7
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 04 08:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Eldridge M. Mount IV
>Release:        gcc-2.95.3
>Organization:
>Environment:
SunOS boron 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-4
>Description:
Very early in building GCC 2.95.3, I get the following error:
gcc  -DIN_GCC -DHAIFA  -DSVR4  -g -O2  -DHAVE_CONFIG_H    -I. -I../../src/gcc-2.95.3/gcc -I../../src/gcc-2.95.3/gcc/config -I../../src/gcc-2.95.3/gcc/../include  \
  -DTARGET_NAME=\"sparc-sun-solaris2.7\" \
  -c `echo ../../src/gcc-2.95.3/gcc/toplev.c | sed 's,^\./,,'`
In file included from ../../src/gcc-2.95.3/gcc/system.h:37,
                 from ../../src/gcc-2.95.3/gcc/toplev.c:30:
/usr/include/stdio.h:49: warning: empty declaration
/usr/include/stdio.h:74: warning: empty declaration
In file included from ../../src/gcc-2.95.3/gcc/system.h:129,
                 from ../../src/gcc-2.95.3/gcc/toplev.c:30:
/usr/include/sys/types.h:428: warning: empty declaration
../../src/gcc-2.95.3/gcc/toplev.c: In function `get_run_time':
../../src/gcc-2.95.3/gcc/toplev.c:1351: storage size of `tms' isn't known
make[1]: *** [toplev.o] Error 1
make[1]: Leaving directory `/home/emount/build-gcc/gcc'
make: *** [install-gcc] Error 2

I am running the following script to build and install, which has worked fine with gcc-2.95.2 in the past:

#! /bin/sh
../src/gcc-2.95.3/configure --prefix=/home/emount --enable-shared --enable-threads
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
make install


>How-To-Repeat:
#! /bin/sh
../src/gcc-2.95.3/configure --prefix=/home/emount --enable-shared --enable-threads
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
make install
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-04  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-04  8:46 c++/2484: Build problem on Solaris 5.7 emount

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).