public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2
@ 1997-12-16 23:23 Alexandre Oliva
  1997-12-16 23:35 ` Jeffrey A Law
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 1997-12-16 23:23 UTC (permalink / raw)
  To: egcs

Hi there!

I've configured egcs-971216 --enable-haifa --enable-shared
--with-gnu-as (from binutils-2.8.1.0.18), but then, at the first
stage, the build process aborted.  The bootstrap compiler (gcc) is
egcs-1.0.

gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o genattrtab \
 genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac ` -lmld -lmalloc
/usr/bin/ld:
Unresolved:
frame_pointer_rtx
hard_frame_pointer_rtx
arg_pointer_rtx
stack_pointer_rtx
pc_rtx
collect2: ld returned 1 exit status
make[2]: *** [genattrtab] Error 1
make[2]: Leaving directory `/n/temp1/gcctest/src/escher/egcsh/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/n/temp1/gcctest/src/escher/egcsh/gcc'
make: *** [bootstrap] Error 2

A haifa-disabled build completed successfully.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

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

* Re: Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2
  1997-12-16 23:23 Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2 Alexandre Oliva
@ 1997-12-16 23:35 ` Jeffrey A Law
  1997-12-17  6:59   ` amylaar
  1997-12-17 13:18   ` Alexandre Oliva
  0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-12-16 23:35 UTC (permalink / raw)
  To: egcs

  In message < ork9d4l9s4.fsf@grupiara.dcc.unicamp.br >you write:
  > Hi there!
  > 
  > I've configured egcs-971216 --enable-haifa --enable-shared
  > --with-gnu-as (from binutils-2.8.1.0.18), but then, at the first
  > stage, the build process aborted.  The bootstrap compiler (gcc) is
  > egcs-1.0.
  > 
  > gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o genattrtab \
  >  genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo ob
  > stack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "
  > " in ?*) echo  ;; esac ` -lmld -lmalloc
  > /usr/bin/ld:
  > Unresolved:
  > frame_pointer_rtx
  > hard_frame_pointer_rtx
  > arg_pointer_rtx
  > stack_pointer_rtx
  > pc_rtx
  > collect2: ld returned 1 exit status
  > make[2]: *** [genattrtab] Error 1
  > make[2]: Leaving directory `/n/temp1/gcctest/src/escher/egcsh/gcc'
  > make[1]: *** [bootstrap] Error 2
  > make[1]: Leaving directory `/n/temp1/gcctest/src/escher/egcsh/gcc'
  > make: *** [bootstrap] Error 2
What object are the references comming from?

Those should be #defines in rtl.h.

Jeff

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

* Re: Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2
  1997-12-16 23:35 ` Jeffrey A Law
@ 1997-12-17  6:59   ` amylaar
  1997-12-17 13:18   ` Alexandre Oliva
  1 sibling, 0 replies; 5+ messages in thread
From: amylaar @ 1997-12-17  6:59 UTC (permalink / raw)
  To: Jeffrey A Law; +Cc: egcs

>   > Unresolved:
>   > frame_pointer_rtx
>   > hard_frame_pointer_rtx
>   > arg_pointer_rtx
>   > stack_pointer_rtx
>   > pc_rtx
>   > collect2: ld returned 1 exit status
>   > make[2]: *** [genattrtab] Error 1
>   > make[2]: Leaving directory `/n/temp1/gcctest/src/escher/egcsh/gcc'
>   > make[1]: *** [bootstrap] Error 2
>   > make[1]: Leaving directory `/n/temp1/gcctest/src/escher/egcsh/gcc'
>   > make: *** [bootstrap] Error 2
> What object are the references comming from?
> 
> Those should be #defines in rtl.h.

The #defines will only have effect if all source files are compiled after
the #defines have been added.  Maybe it's a case of some old object files
(older than rtl.h) lying around?

Of course that would point to missing dependencies in
the Makefile.

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

* Re: Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2
  1997-12-16 23:35 ` Jeffrey A Law
  1997-12-17  6:59   ` amylaar
@ 1997-12-17 13:18   ` Alexandre Oliva
  1997-12-17 13:50     ` Jeffrey A Law
  1 sibling, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 1997-12-17 13:18 UTC (permalink / raw)
  To: egcs

Jeffrey A Law writes:

>> I've configured egcs-971216 --enable-haifa --enable-shared
>> --with-gnu-as (from binutils-2.8.1.0.18), but then, at the first
>> stage, the build process aborted.  The bootstrap compiler (gcc) is
>> egcs-1.0.

>> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o genattrtab \
>> genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo ob
>> stack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "
>> " in ?*) echo  ;; esac ` -lmld -lmalloc
>> /usr/bin/ld:
>> Unresolved:
>> frame_pointer_rtx
>> hard_frame_pointer_rtx
>> arg_pointer_rtx
>> stack_pointer_rtx
>> pc_rtx
>> collect2: ld returned 1 exit status

It must have been caused by disk full or something like that, because,
after removing rtlanal.o, it was rebuilt and then genattrtab linked
successfully.

Sorry for wasting bandwidth.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

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

* Re: Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2
  1997-12-17 13:18   ` Alexandre Oliva
@ 1997-12-17 13:50     ` Jeffrey A Law
  0 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-12-17 13:50 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: egcs

  In message < orwwh3fzbg.fsf@grupiara.dcc.unicamp.br >you write:
  > It must have been caused by disk full or something like that, because,
  > after removing rtlanal.o, it was rebuilt and then genattrtab linked
  > successfully.
OK.  Just so folks know -- I did check the dependencies for genattrtab.o,
and they include rtl.h...

jeff

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

end of thread, other threads:[~1997-12-17 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-16 23:23 Cannot build haifa-enabled egcs-971216 on mips-sgi-irix5.2 Alexandre Oliva
1997-12-16 23:35 ` Jeffrey A Law
1997-12-17  6:59   ` amylaar
1997-12-17 13:18   ` Alexandre Oliva
1997-12-17 13:50     ` Jeffrey A Law

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