Subject: Re: build probs - egcs genrtl
To: None <current-users@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: current-users
Date: 03/07/1999 09:14:52
This is getting curiouser and curiouser.  I just tried again with a
newly compiled make and with this morning's sup.

The make failure is during the egcs "make depend" pass.  The directory
has just been cleaned of all extraneous files by the previous "make
cleandir" and now make is expecting an output file by the name of
/usr/src/gnu/usr.bin/egcs/common/gengenrtl be around and executable.

    depend ===> gnu/usr.bin/egcs
    depend ===> gnu/usr.bin/egcs/common
    cc -O  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../arch  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../arch/i386  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config  -DIN_GCC -DNETBSD_NATIVE -DHAVE_CONFIG_H -DPREFIX=\"/usr\"  -DDEFAULT_TARGET_VERSION=\"egcs-1.1.1\"  -DDEFAULT_TARGET_MACHINE=\"i386-netbsd\"  -DSTANDARD_STARTFILE_PREFIX=\"/usr/lib/\"  -DSTANDARD_EXEC_PREFIX=\"/usr/libexec/\"  -DTOOLDIR_BASE_PREFIX=\"/usr/libexec/\" -DTARGET_NAME=\"i386-netbsd\" -c -o gengenrtl.lo /v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/gengenrtl.c
    cc -O  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../arch  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../arch/i386  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc  -I/v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config  -DIN_GCC -DNETBSD_NATIVE -DHAVE_CONFIG_H -DPREFIX=\"/usr\"  -DDEFAULT_TARGET_VERSION=\"egcs-1.1.1\"  -DDEFAULT_TARGET_MACHINE=\"i386-netbsd\"  -DSTANDARD_STARTFILE_PREFIX=\"/usr/lib/\"  -DSTANDARD_EXEC_PREFIX=\"/usr/libexec/\"  -DTOOLDIR_BASE_PREFIX=\"/usr/libexec/\" -DTARGET_NAME=\"i386-netbsd\"  -o /v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/gengenrtl gengenrtl.lo
    /v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/gengenrtl tmp-genrtl.h tmp-genrtl.c
    /v/src/netbsd/NetBSD-current/usr/src/gnu/usr.bin/egcs/common/gengenrtl: not found
    *** Error code 1

I can't immediately see why make isn't building this file if it needs
it.  

A "make gengenrtl" indicates that make thinks its there (or phoney?).

    $ make gengenrtl
    `gengenrtl' is up to date.
    $ ll
    total 283
      4 -rw-rw-r--  1 wolfgang  wheel    3645 Feb 25 04:09 Makefile
      4 -rw-r--r--  1 wolfgang  wheel    3947 Mar  7 08:56 gencheck.lo
     13 -rw-r--r--  1 root      wheel   13202 Mar  7 08:51 gengenrtl.lo
    144 -rwxr-xr-x  1 root      wheel  139050 Nov 30 02:50 haifa-sched.so*
      2 -rw-r--r--  1 wolfgang  wheel    1504 Mar  7 08:56 obstack.lo
    112 -rwxr-xr-x  1 root      wheel   98919 Nov 30 02:27 sparc.so*
      0 -rw-r--r--  1 wolfgang  wheel       0 Mar  7 08:56 tmp-tree-check.h
    $ make depend
    /usr/src/gnu/usr.bin/egcs/common/gengenrtl tmp-genrtl.h tmp-genrtl.c
    /usr/src/gnu/usr.bin/egcs/common/gengenrtl: not found
    *** Error code 1

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
DGPS signals via the Internet  http://www.wsrcc.com/wolfgang/gps/dgps-ip.html