Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226234022.GA77663>