Date: Thu, 27 Feb 2003 01:40:22 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Max Khon <fjoe@iclub.nsu.ru> Cc: freebsd-current@freebsd.org Subject: Re: make buildworld TARGET_ARCH=foobar seems to be broken Message-ID: <20030226234022.GA77663@sunbay.com> In-Reply-To: <20030227035928.A20789@iclub.nsu.ru> References: <20030227035928.A20789@iclub.nsu.ru>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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: > > fjoe@husky:/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? > > fjoe@husky:/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools$./gengenrtl > ./gengenrtl: Exec format error. Binary file not executable. > fjoe@husky:/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 majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+XVBmUkv4P6juNwoRAlamAJ4q4/pkM7XyxVc+DQBm9WvAdU1PawCfVZwE SlL8RlYhA53oLyUG1ZLO1sw= =sqyQ -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226234022.GA77663>
