public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc/ libiberty.a make dependancies broken?
@ 2001-12-10 12:57 David O'Brien
  2001-12-10 13:40 ` DJ Delorie
  2001-12-10 14:35 ` Zack Weinberg
  0 siblings, 2 replies; 6+ messages in thread
From: David O'Brien @ 2001-12-10 12:57 UTC (permalink / raw)
  To: gcc

This worked 2001-11-20:

    ../egcs/configure --target=sparc-x-elf
    cd gcc
    gmake tconfig.h

But now it has a dependency problem on `../libiberty/libiberty.a'.
Anyone know if this is new breakage, or if I was lucky before?


HEADERS="auto-host.h ansidecl.h  sparc/sparc.h dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h defaults.h" DEFINES="POSIX" \
TARGET_CPU_DEFAULT="TARGET_CPU_sparc" \
/bin/sh /FBSD/egcs-repo/egcs/gcc/mkconfig.sh config.h
HEADERS="auto-host.h ansidecl.h  sparc/sparc.h dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h defaults.h" DEFINES="POSIX" \
TARGET_CPU_DEFAULT="TARGET_CPU_sparc" \
/bin/sh /FBSD/egcs-repo/egcs/gcc/mkconfig.sh hconfig.h
gcc -c -DIN_GCC -DCROSS_COMPILE   -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/FBSD/egcs-repo/egcs/gcc -I/FBSD/egcs-repo/egcs/gcc/. -I/FBSD/egcs-repo/egcs/gcc/config -I/FBSD/egcs-repo/egcs/gcc/../include /FBSD/egcs-repo/egcs/gcc/gengenrtl.c -o gengenrtl.o
gmake: *** No rule to make target `../libiberty/libiberty.a', needed by `gengenrtl'.  Stop.

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

* Re: gcc/ libiberty.a make dependancies broken?
  2001-12-10 12:57 gcc/ libiberty.a make dependancies broken? David O'Brien
@ 2001-12-10 13:40 ` DJ Delorie
  2001-12-10 13:42   ` David O'Brien
  2001-12-10 14:35 ` Zack Weinberg
  1 sibling, 1 reply; 6+ messages in thread
From: DJ Delorie @ 2001-12-10 13:40 UTC (permalink / raw)
  To: obrien; +Cc: gcc


> gmake: *** No rule to make target `../libiberty/libiberty.a', needed by `gengenrtl'.  Stop.

Intentional.  We added support for a build-side libiberty, and the
gen* programs link with it.  You must build the build-libiberty before
any of the gen* programs.

*Which* libiberty to build differs depending on the build; if
build==host, it's ../libiberty.  If build!=host, it's
../$build/libiberty.

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

* Re: gcc/ libiberty.a make dependancies broken?
  2001-12-10 13:40 ` DJ Delorie
@ 2001-12-10 13:42   ` David O'Brien
  2001-12-10 13:52     ` DJ Delorie
  2001-12-11 15:56     ` Richard Henderson
  0 siblings, 2 replies; 6+ messages in thread
From: David O'Brien @ 2001-12-10 13:42 UTC (permalink / raw)
  To: DJ Delorie; +Cc: gcc

On Mon, Dec 10, 2001 at 04:16:25PM -0500, DJ Delorie wrote:
> 
> > gmake: *** No rule to make target `../libiberty/libiberty.a', needed by `gengenrtl'.  Stop.
> 
> Intentional.  We added support for a build-side libiberty, and the

What is a "build-side" libiberty?


> *Which* libiberty to build differs depending on the build; if
> build==host, it's ../libiberty.  If build!=host, it's
> ../$build/libiberty.

This is for the configury change checker script.  Ie, it builds tconfig.h
from stock files and from a modified tree and diffs the two.  Previously
I only configured the gcc/ as it was much faster than running configure
from the top-level directory.  Note I usually do 20-35 targets at a time
(which means 40-70 runs of "configure+make tconfig.h").

What is the fastest way to configure+build tconfig.h with this change?

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

* Re: gcc/ libiberty.a make dependancies broken?
  2001-12-10 13:42   ` David O'Brien
@ 2001-12-10 13:52     ` DJ Delorie
  2001-12-11 15:56     ` Richard Henderson
  1 sibling, 0 replies; 6+ messages in thread
From: DJ Delorie @ 2001-12-10 13:52 UTC (permalink / raw)
  To: obrien; +Cc: gcc


> What is a "build-side" libiberty?

It's a libiberty built for the --build machine, to handle the cases
where build!=host.

> What is the fastest way to configure+build tconfig.h with this change?

You can configure+build libiberty separately, just like you are for
gcc.

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

* Re: gcc/ libiberty.a make dependancies broken?
  2001-12-10 12:57 gcc/ libiberty.a make dependancies broken? David O'Brien
  2001-12-10 13:40 ` DJ Delorie
@ 2001-12-10 14:35 ` Zack Weinberg
  1 sibling, 0 replies; 6+ messages in thread
From: Zack Weinberg @ 2001-12-10 14:35 UTC (permalink / raw)
  To: David O'Brien; +Cc: gcc

On Mon, Dec 10, 2001 at 12:55:54PM -0800, David O'Brien wrote:
> This worked 2001-11-20:
> 
>     ../egcs/configure --target=sparc-x-elf
>     cd gcc
>     gmake tconfig.h
> 
> But now it has a dependency problem on `../libiberty/libiberty.a'.
> Anyone know if this is new breakage, or if I was lucky before?

What DJ told you is all correct, however, I'd appreciate your
repeating that with "gmake --debug" and sending me the output (no need
to spam the whole list with it).  I don't believe it should be
necessary for tconfig.h to depend on gengenrtl; there may be a
dependency bug.

It may turn out to be legitimate - has been a long time since I was
digging in this area.

zw


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

* Re: gcc/ libiberty.a make dependancies broken?
  2001-12-10 13:42   ` David O'Brien
  2001-12-10 13:52     ` DJ Delorie
@ 2001-12-11 15:56     ` Richard Henderson
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Henderson @ 2001-12-11 15:56 UTC (permalink / raw)
  To: David O'Brien; +Cc: DJ Delorie, gcc

On Mon, Dec 10, 2001 at 01:38:46PM -0800, David O'Brien wrote:
> What is the fastest way to configure+build tconfig.h with this change?

cd libiberty; make -j4; cd ../gcc; make tconfig.h


r~

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

end of thread, other threads:[~2001-12-11 23:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-10 12:57 gcc/ libiberty.a make dependancies broken? David O'Brien
2001-12-10 13:40 ` DJ Delorie
2001-12-10 13:42   ` David O'Brien
2001-12-10 13:52     ` DJ Delorie
2001-12-11 15:56     ` Richard Henderson
2001-12-10 14:35 ` Zack Weinberg

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