Most likely, some of your sources have modification date
pointing to the future, or your computer's date is old.
On Thu, Feb 27, 2003 at 03:59:28AM +0600, Max Khon wrote:
hi, there!
Seems that for some reason gengenrtl is not built when doing 'make build-tools'
in gnu/usr.bin/cc/cc_tools. As a result 'make buildworld TARGET_ARCH=foobar'
is broken.
Below is the output of 'make buildworld TARGET_ARCH=alpha' of recent
HEAD on 4.7-STABLE/i386
=== gnu/usr.bin/cc/cc_tools
cc -O -pipe -mcpu=ev4 -mtune=ev5 -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\
-I/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -static
-DGENERATOR_FILE-c /usr/fbsd/HEAD/contrib/gcc/gengenrtl.c
cc -O -pipe -mcpu=ev4 -mtune=ev5 -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\
-I/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -static
-DGENERATOR_FILE -o gengenrtl gengenrtl.o
-O -pipe -mcpu=ev4 -mtune=ev5 -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\
-I/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -static
-DGENERATOR_FILE -o gengenrtl gengenrtl.o
./gengenrtl genrtl.c
./gengenrtl: 6: Syntax error: ) unexpected
*** Error code 2
Stop in /usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools.
*** Error code 1
Stop in /usr/fbsd/HEAD/gnu/usr.bin/cc.
*** Error code 1
Stop in /usr/fbsd/HEAD/gnu/usr.bin.
*** Error code 1
Stop in /usr/fbsd/HEAD/gnu.
*** Error code 1
Stop in /usr/fbsd/HEAD.
*** Error code 1
Stop in /usr/fbsd/HEAD.
*** Error code 1
Stop in /usr/fbsd/HEAD.
Running file in object directory shows the following:
[EMAIL PROTECTED]:/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools$file gen* |
grep '^gen[a-z]*:'
genattr:ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
statically linked, not stripped
genattrtab: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
statically linked, not stripped
[...]
gengenrtl: ELF 64-bit LSB executable, Alpha (unofficial), version 1 (FreeBSD),
statically linked, not stripped
[...]
genrecog: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
statically linked, not stripped
By the way why gengenrtl is executed at all?
[EMAIL PROTECTED]:/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools$./gengenrtl
./gengenrtl: Exec format error. Binary file not executable.
[EMAIL PROTECTED]:/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools$env FOO=bar
./gengenrtl
./gengenrtl: 6: Syntax error: ) unexpected
(the shell is tcsh)
/fjoe
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message
--
Ruslan Ermilov Sysadmin and DBA,
[EMAIL PROTECTED] Sunbay Software AG,
[EMAIL PROTECTED] FreeBSD committer,
+380.652.512.251Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
pgp0.pgp
Description: PGP signature