public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: ADAM Sulmicki <adam@cfar.umd.edu>
To: gcc-help@gcc.gnu.org
Subject: Re: building latest ( snapshot || cvs )
Date: Sat, 26 Feb 2000 17:54:00 -0000	[thread overview]
Message-ID: <Pine.SOL.3.95.1000226201706.19569O-200000@chia.umiacs.umd.edu> (raw)
In-Reply-To: <Pine.SOL.3.95.1000226120420.19569D-100000@chia.umiacs.umd.edu>

This is follow-up to my last email. 
	The bottom line is : 
		- I got the snapshot (2/21/00) to compile and it can run
		  it compiles hello.c fine (any update on status of
		  testsuite?).. see below on details.
		- the compilation of cvs tree fails on another error, see
		  attached file.

about the rusage stuff, I have them delcared in
	/usr/include/sys/resource.h 
which is from glibc I belive. In addiion they are in linux kernel headers
as well. However trying to just include said file in gcc.c gives me
other stuff being redefined. 

I guess it is something wrong with 'configure' and HAVE_SYS_RESOURCE_H

This or other way, I have manually defined RUSAGE_CHILDREN to be -1
and included declaration of struct 'rusage' and it comiled past it.

In case of the snapshot, it was the last problem (and I was able to
compile gcc).

In case of cvs tree, there was another problem, and I have no idea how to
get around this one.



On Sat, 26 Feb 2000, ADAM Sulmicki wrote:

> 
> Hello,
> 	I had been trying to build GCC from latest snapshot (20000221)
> 	as well as from today's (2/26/00) cvs tree. In each time
>  	I get exacatly the same error. I have checked gcc* mailing list
> 	but I did not come by any other report of this, so I'm kind of 
> 	perplexed as I immagine my system is pretty much standard
> 	Redhat 6.1 on x86, so someone else should have come by this
> 	by now.
> 
> system info:
> 
> 	Red Hat Linux release 6.1 (Cartman)
> 	Linux pepsi 2.3.42 #240 SMP Tue Feb 1 18:57:15 EST 2000 i686 unknown
> 	gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> 	gcc sources : either egcs-20000221 or cvs-2/28/00
> 
> build:
> 
>         mkdir egcs.obj ; cd egcs.obj
>         ../egcs/configure --enable-threads=posix --prefix=/usr/local/gcc
>         make bootstrap MAKE="make -j 2" -j 2
> 
> the error:
> 
> gcc -c  -DIN_GCC    -g -W -Wall -Wtraditional  -DHAVE_CONFIG_H    -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include ../../egcs/gcc/diagnostic.c
> ../../egcs/gcc/gcc.c: In function `execute':
> ../../egcs/gcc/gcc.c:2588: `prus' has an incomplete type
> ../../egcs/gcc/gcc.c:2589: `RUSAGE_CHILDREN' undeclared (first use in this function)
> ../../egcs/gcc/gcc.c:2589: (Each undeclared identifier is reported only once
> ../../egcs/gcc/gcc.c:2589: for each function it appears in.)
> ../../egcs/gcc/gcc.c:2590: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2590: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2591: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2591: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2594: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2594: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2595: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2595: invalid use of undefined type `struct rusage'
> gcc  -DIN_GCC    -g -W -Wall -Wtraditional  -DHAVE_CONFIG_H    -I. -I../../egcs/
> gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include  \
>   -DTARGET_NAME=\"i686-pc-linux-gnu\" \
>   -c `echo ../../egcs/gcc/toplev.c | sed 's,^\./,,'`
> ../../egcs/gcc/gcc.c: At top level:
> ../../egcs/gcc/gcc.c:190: storage size of `rus' isn't known
> ../../egcs/gcc/gcc.c:190: storage size of `prus' isn't known
> make[2]: *** [gcc.o] Error 1
> make[2]: Leaving directory
> `/usr/src/Development/Languages/gcc/cvs/egcs.obj/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory
> `/usr/src/Development/Languages/gcc/cvs/egcs.obj/gcc'
> make: *** [bootstrap] Error 2
> 
> any hints?
> 
> Adam
> 
> 
> 

WARNING: multiple messages have this Message-ID
From: ADAM Sulmicki <adam@cfar.umd.edu>
To: gcc-help@gcc.gnu.org
Subject: Re: building latest ( snapshot || cvs )
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <Pine.SOL.3.95.1000226201706.19569O-200000@chia.umiacs.umd.edu> (raw)
Message-ID: <20000401000000.PR1jUvIvVDmp3jcb1610OElePC6ez4Se4yjpcd0Rffk@z> (raw)
In-Reply-To: <Pine.SOL.3.95.1000226120420.19569D-100000@chia.umiacs.umd.edu>

This is follow-up to my last email. 
	The bottom line is : 
		- I got the snapshot (2/21/00) to compile and it can run
		  it compiles hello.c fine (any update on status of
		  testsuite?).. see below on details.
		- the compilation of cvs tree fails on another error, see
		  attached file.

about the rusage stuff, I have them delcared in
	/usr/include/sys/resource.h 
which is from glibc I belive. In addiion they are in linux kernel headers
as well. However trying to just include said file in gcc.c gives me
other stuff being redefined. 

I guess it is something wrong with 'configure' and HAVE_SYS_RESOURCE_H

This or other way, I have manually defined RUSAGE_CHILDREN to be -1
and included declaration of struct 'rusage' and it comiled past it.

In case of the snapshot, it was the last problem (and I was able to
compile gcc).

In case of cvs tree, there was another problem, and I have no idea how to
get around this one.



On Sat, 26 Feb 2000, ADAM Sulmicki wrote:

> 
> Hello,
> 	I had been trying to build GCC from latest snapshot (20000221)
> 	as well as from today's (2/26/00) cvs tree. In each time
>  	I get exacatly the same error. I have checked gcc* mailing list
> 	but I did not come by any other report of this, so I'm kind of 
> 	perplexed as I immagine my system is pretty much standard
> 	Redhat 6.1 on x86, so someone else should have come by this
> 	by now.
> 
> system info:
> 
> 	Red Hat Linux release 6.1 (Cartman)
> 	Linux pepsi 2.3.42 #240 SMP Tue Feb 1 18:57:15 EST 2000 i686 unknown
> 	gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> 	gcc sources : either egcs-20000221 or cvs-2/28/00
> 
> build:
> 
>         mkdir egcs.obj ; cd egcs.obj
>         ../egcs/configure --enable-threads=posix --prefix=/usr/local/gcc
>         make bootstrap MAKE="make -j 2" -j 2
> 
> the error:
> 
> gcc -c  -DIN_GCC    -g -W -Wall -Wtraditional  -DHAVE_CONFIG_H    -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include ../../egcs/gcc/diagnostic.c
> ../../egcs/gcc/gcc.c: In function `execute':
> ../../egcs/gcc/gcc.c:2588: `prus' has an incomplete type
> ../../egcs/gcc/gcc.c:2589: `RUSAGE_CHILDREN' undeclared (first use in this function)
> ../../egcs/gcc/gcc.c:2589: (Each undeclared identifier is reported only once
> ../../egcs/gcc/gcc.c:2589: for each function it appears in.)
> ../../egcs/gcc/gcc.c:2590: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2590: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2591: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2591: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2594: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2594: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2595: invalid use of undefined type `struct rusage'
> ../../egcs/gcc/gcc.c:2595: invalid use of undefined type `struct rusage'
> gcc  -DIN_GCC    -g -W -Wall -Wtraditional  -DHAVE_CONFIG_H    -I. -I../../egcs/
> gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include  \
>   -DTARGET_NAME=\"i686-pc-linux-gnu\" \
>   -c `echo ../../egcs/gcc/toplev.c | sed 's,^\./,,'`
> ../../egcs/gcc/gcc.c: At top level:
> ../../egcs/gcc/gcc.c:190: storage size of `rus' isn't known
> ../../egcs/gcc/gcc.c:190: storage size of `prus' isn't known
> make[2]: *** [gcc.o] Error 1
> make[2]: Leaving directory
> `/usr/src/Development/Languages/gcc/cvs/egcs.obj/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory
> `/usr/src/Development/Languages/gcc/cvs/egcs.obj/gcc'
> make: *** [bootstrap] Error 2
> 
> any hints?
> 
> Adam
> 
> 
> 

  reply	other threads:[~2000-02-26 17:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-26  9:14 ADAM Sulmicki
2000-02-26 17:54 ` ADAM Sulmicki [this message]
2000-02-26 18:18   ` Alexandre Oliva
2000-02-26 18:33     ` ADAM Sulmicki
2000-02-26 18:43       ` Alexandre Oliva
2000-02-26 19:07         ` ADAM Sulmicki
2000-04-01  0:00           ` ADAM Sulmicki
2000-04-01  0:00         ` Alexandre Oliva
2000-04-01  0:00       ` ADAM Sulmicki
2000-04-01  0:00     ` Alexandre Oliva
2000-04-01  0:00   ` ADAM Sulmicki
2000-04-01  0:00 ` ADAM Sulmicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.3.95.1000226201706.19569O-200000@chia.umiacs.umd.edu \
    --to=adam@cfar.umd.edu \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).