From owner-freebsd-current Wed Feb 26 15:40:34 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE5937B401 for ; Wed, 26 Feb 2003 15:40:30 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6552243FB1 for ; Wed, 26 Feb 2003 15:40:27 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (root@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with SMTP id h1QNeOJf078127 for ; Thu, 27 Feb 2003 01:40:24 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id h1QNeMHR078105 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 27 Feb 2003 01:40:23 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id h1QNeMGW078100; Thu, 27 Feb 2003 01:40:22 +0200 (EET) Date: Thu, 27 Feb 2003 01:40:22 +0200 From: Ruslan Ermilov To: Max Khon Cc: freebsd-current@freebsd.org Subject: Re: make buildworld TARGET_ARCH=foobar seems to be broken Message-ID: <20030226234022.GA77663@sunbay.com> References: <20030227035928.A20789@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20030227035928.A20789@iclub.nsu.ru> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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! >=20 > 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=3Dfo= obar' > is broken. >=20 > Below is the output of 'make buildworld TARGET_ARCH=3Dalpha' of recent > HEAD on 4.7-STABLE/i386 >=20 > =3D=3D=3D> gnu/usr.bin/cc/cc_tools > cc -O -pipe -mcpu=3Dev4 -mtune=3Dev5 -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFI= X=3D\"/usr\" -I/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_t= ools -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.bi= n/cc/cc_tools/../../../../contrib/gcc/config -static -DGENERATOR_FILE -c= /usr/fbsd/HEAD/contrib/gcc/gengenrtl.c > cc -O -pipe -mcpu=3Dev4 -mtune=3Dev5 -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFI= X=3D\"/usr\" -I/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_t= ools -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.bi= n/cc/cc_tools/../../../../contrib/gcc/config -static -DGENERATOR_FILE -= o gengenrtl gengenrtl.o > -O -pipe -mcpu=3Dev4 -mtune=3Dev5 -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX= =3D\"/usr\" -I/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_to= ols -I/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/fbsd/HEAD/g= nu/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 >=20 > Stop in /usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools. > *** Error code 1 >=20 > Stop in /usr/fbsd/HEAD/gnu/usr.bin/cc. > *** Error code 1 >=20 > Stop in /usr/fbsd/HEAD/gnu/usr.bin. > *** Error code 1 >=20 > Stop in /usr/fbsd/HEAD/gnu. > *** Error code 1 >=20 > Stop in /usr/fbsd/HEAD. > *** Error code 1 >=20 > Stop in /usr/fbsd/HEAD. > *** Error code 1 >=20 > Stop in /usr/fbsd/HEAD. >=20 > Running file in object directory shows the following: >=20 > 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 (FreeBS= D), statically linked, not stripped > genattrtab: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBS= D), 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 (FreeBS= D), statically linked, not stripped >=20 > By the way why gengenrtl is executed at all? >=20 > fjoe@husky:/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools$./gengenr= tl > ./gengenrtl: Exec format error. Binary file not executable. > fjoe@husky:/usr/obj/alpha/usr/fbsd/HEAD/gnu/usr.bin/cc/cc_tools$env FOO= =3Dbar ./gengenrtl > ./gengenrtl: 6: Syntax error: ")" unexpected >=20 > (the shell is tcsh) >=20 > /fjoe >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message --=20 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 --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+XVBmUkv4P6juNwoRAlamAJ4q4/pkM7XyxVc+DQBm9WvAdU1PawCfVZwE SlL8RlYhA53oLyUG1ZLO1sw= =sqyQ -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message