From owner-freebsd-current Wed Feb 26 14: 0:12 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 6266F37B401 for ; Wed, 26 Feb 2003 14:00:10 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6429943FAF for ; Wed, 26 Feb 2003 14:00:07 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18o9as-0005Fl-00 for freebsd-current@freebsd.org; Thu, 27 Feb 2003 04:00:02 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18o9aq-0005EH-00 for freebsd-current@freebsd.org; Thu, 27 Feb 2003 04:00:00 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h1QLxTRV021101 for ; Thu, 27 Feb 2003 03:59:29 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h1QLxTbV021100 for freebsd-current@freebsd.org; Thu, 27 Feb 2003 03:59:29 +0600 (NS) Date: Thu, 27 Feb 2003 03:59:28 +0600 From: Max Khon To: freebsd-current@freebsd.org Subject: make buildworld TARGET_ARCH=foobar seems to be broken Message-ID: <20030227035928.A20789@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Status: No, hits=-0.9 required=5.0 tests=SPAM_PHRASE_00_01,SUPERLONG_LINE,USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: freebsd-current@freebsd.org 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 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