public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: HAVE_STDLIB_H
@ 1997-08-27 16:44 H.J. Lu
  1997-08-27 16:44 ` lots of trouble with rs6000-ibm-aix3.2.5 Jeffrey A Law
  1997-08-27 16:44 ` A top level patch Jeffrey A Law
  0 siblings, 2 replies; 6+ messages in thread
From: H.J. Lu @ 1997-08-27 16:44 UTC (permalink / raw)
  To: egcs

> 
>   In message <m0x3iMq-0004ecC@ocean.lucon.org>you write:
>   > If so, why not do
>   > 
>   > #ifdef HAVE_STDLIB_H
>   > #include <stdlib.h>
>   > #else
>   > void free PROTO((void *));
>   > #endif
> Because I don't have the time to go through every file and fix
> them.
> 
> Jeff

It will be in my next jumbo proto patch.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)

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

* Re: A top level patch
  1997-08-27 16:44 HAVE_STDLIB_H H.J. Lu
  1997-08-27 16:44 ` lots of trouble with rs6000-ibm-aix3.2.5 Jeffrey A Law
@ 1997-08-27 16:44 ` Jeffrey A Law
  1 sibling, 0 replies; 6+ messages in thread
From: Jeffrey A Law @ 1997-08-27 16:44 UTC (permalink / raw)
  To: egcs

  In message <m0x3YfX-0004edC@ocean.lucon.org>you write:
  > Here is a patch for the top level files.
  > 
  > Thanks.
  > 
  > 
  > -- 
  > H.J. Lu (hjl@gnu.ai.mit.edu)
  > ---
  > Mon Aug 25 17:31:49 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
  > 
  > 	* Makefile.in (local-distclean): Also remove mh-frag mt-frag.
  > 
  > 	* config.guess (dummy): Set to $$. Use $dummy.? instead of
  > 	dummy.? for parallel execution.
  > 
  > 	* configure (prefix): Initialized to NONE. Set to
  > 	${native_prefix} or default_prefix for Linux if it is NONE.
  > 	(default_prefix): New. Initialized to /usr/local.
  > 	(native_prefix): New. Initialized to /usr.
  > 	When making link, also check the current directory. The
  > 	configure scripts may create one.
  > 	
  > 	* configure.in (host_makefile_frag, target_makefile_frag):
  > 	Handle multiple config files.
  > 	(skipdirs): Add target-librx for Linux.
I will not install this because I don't have the time to figure out
what it does and you have not provided any description about what
this patch does.

Jim might install it, it's his decision.

jeff

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

* Re: lots of trouble with rs6000-ibm-aix3.2.5
  1997-08-27 16:44 HAVE_STDLIB_H H.J. Lu
@ 1997-08-27 16:44 ` Jeffrey A Law
  1997-08-27 16:44 ` A top level patch Jeffrey A Law
  1 sibling, 0 replies; 6+ messages in thread
From: Jeffrey A Law @ 1997-08-27 16:44 UTC (permalink / raw)
  To: egcs

  In message <199708271548.LAA05998@ahab.rutgers.edu>you write:
  > I started by trying "configure; make" on the IBM and got as far as:
  > 
  >         ./move-if-change tmp-attrtab.c insn-attrtab.c
  >         touch stamp-attrtab
  >         gcc  -DIN_GCC    -g -O2   -DHAVE_CONFIG_H     -I. -I. -I./config -c
  >  insn-attrtab.c
  > gcc: Internal compiler error: program cc1 got fatal signal 9
  > The error code from the last failed command is 1.
Note, compiling insn-attrtab can require huge amounts of memory,
especially when optimizing.

Make sure you don't have any soft memory limits and that you've
got plenty of swap space.

jeff

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

* Re: lots of trouble with rs6000-ibm-aix3.2.5
@ 1997-08-27 17:40 Kate Hedstrom
  0 siblings, 0 replies; 6+ messages in thread
From: Kate Hedstrom @ 1997-08-27 17:40 UTC (permalink / raw)
  To: egcs

>   > I started by trying "configure; make" on the IBM and got as far as:
>   > 
>   >         ./move-if-change tmp-attrtab.c insn-attrtab.c
>   >         touch stamp-attrtab
>   >         gcc  -DIN_GCC    -g -O2   -DHAVE_CONFIG_H     -I. -I. -I./config -c
>   >  insn-attrtab.c
>   > gcc: Internal compiler error: program cc1 got fatal signal 9
>   > The error code from the last failed command is 1.
> Note, compiling insn-attrtab can require huge amounts of memory,
> especially when optimizing.
> 
> Make sure you don't have any soft memory limits and that you've
> got plenty of swap space.

Sorry, it looks like I have egcs on my face for that.  I tried again on
a twin machine with more memory and got as far as:

        rm -f milli.exp
        cp ./config/rs6000/milli.exp ./milli.exp
        /d0/kate/gnu/egcs-970825/gcc/xgcc -B/d0/kate/gnu/egcs-970825/gcc/  -DIN_
GCC    -g -O2 -I./include  -I. -I. -I./config \
                -c ./objc/hash.c -o objc/hash.o
xgcc: Internal compiler error: program cc1 got fatal signal 6
The error code from the last failed command is 1.

Make Quitting.

So it made it through building gcc, g++, and g77.

Kate

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

* lots of trouble with rs6000-ibm-aix3.2.5
@ 1997-08-27 16:44 Kate Hedstrom
  0 siblings, 0 replies; 6+ messages in thread
From: Kate Hedstrom @ 1997-08-27 16:44 UTC (permalink / raw)
  To: egcs

I started by trying "configure; make" on the IBM and got as far as:

        ./move-if-change tmp-attrtab.c insn-attrtab.c
        touch stamp-attrtab
        gcc  -DIN_GCC    -g -O2   -DHAVE_CONFIG_H     -I. -I. -I./config -c insn-attrtab.c
gcc: Internal compiler error: program cc1 got fatal signal 9
The error code from the last failed command is 1.


This is with:

moby.rutgers.edu% gcc -v
Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.7.2.2.f.3a/specs
gcc version 2.7.2.2.f.3a


Craig - would you like me to try again with a vanilla 2.7.2.x gcc?

After this, I thought I would try the xlc compiler with LANGUAGES=c.
It goes a little better if you add the flags -D_POSIX_SOURCE -D_ALL_SOURCE,
but there are a fair number of other problems I haven't tracked down
yet.  I just wanted you to be aware that someone with more time and
experience should look into this if you want to support this architecture.

Kate

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

* Re: lots of trouble with rs6000-ibm-aix3.2.5
@ 1997-08-27 16:44 Ian Lance Taylor
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Lance Taylor @ 1997-08-27 16:44 UTC (permalink / raw)
  To: egcs

   Date: Wed, 27 Aug 1997 11:48:59 -0400 (EDT)
   From: Kate Hedstrom <kate@ahab.Rutgers.EDU>

   I started by trying "configure; make" on the IBM and got as far as:

	   ./move-if-change tmp-attrtab.c insn-attrtab.c
	   touch stamp-attrtab
	   gcc  -DIN_GCC    -g -O2   -DHAVE_CONFIG_H     -I. -I. -I./config -c insn-attrtab.c
   gcc: Internal compiler error: program cc1 got fatal signal 9

Signal 9 is SIGKILL, which in this case probably means that the
program got too big to be swapped and the system had to get rid of it
quickly.  Try increasing your swap space.

Ian

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

end of thread, other threads:[~1997-08-27 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-27 16:44 HAVE_STDLIB_H H.J. Lu
1997-08-27 16:44 ` lots of trouble with rs6000-ibm-aix3.2.5 Jeffrey A Law
1997-08-27 16:44 ` A top level patch Jeffrey A Law
  -- strict thread matches above, loose matches on Subject: below --
1997-08-27 17:40 lots of trouble with rs6000-ibm-aix3.2.5 Kate Hedstrom
1997-08-27 16:44 Ian Lance Taylor
1997-08-27 16:44 Kate Hedstrom

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