From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 16:29:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E78217DF for ; Tue, 23 Sep 2014 16:29:57 +0000 (UTC) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB0D66CB for ; Tue, 23 Sep 2014 16:29:57 +0000 (UTC) Received: from jaesungp-sslvpn-nc.jnpr.net ([66.129.239.11]) (authenticated bits=0) by mail.xcllnt.net (8.14.9/8.14.9) with ESMTP id s8NGTsa3029566 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 23 Sep 2014 09:29:55 -0700 (PDT) (envelope-from marcel@xcllnt.net) From: Marcel Moolenaar Content-Type: multipart/signed; boundary="Apple-Mail=_FE144C49-1625-4B8A-81A7-DDAADAF13556"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Poor state of the build infrastructure. Message-Id: <4496BEA3-9F6C-4F09-B8F6-68D97A331A60@xcllnt.net> Date: Tue, 23 Sep 2014 09:29:48 -0700 To: freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 16:29:58 -0000 --Apple-Mail=_FE144C49-1625-4B8A-81A7-DDAADAF13556 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Things have regressed from last I tried (which is a while). After a clean buildworld for PowerPC I can't install it: # make installworld TARGET_ARCH=3Dpowerpc TARGET=3Dpowerpc = __MAKE_CONF=3D/dev/null DESTDIR=3D/tank/scratch/powerpc mkdir -p /tmp/install.pjtGQ4J8 : make[2]: "/tank/scratch/marcelm/head/share/mk/bsd.compiler.mk" line 37: = Unable to determine compiler type for cc. Consider setting = COMPILER_TYPE. *** Error code 1 And look at share/mk/bsd.compiler.mk. Its comments with typos doesn't even fit 80 character. While technically speaking, not a problem, it does leave the impression of low quality. This has the unfortunate side-effect of deepening the low quality perception caused by not being able to do an installworld in the first place. So, ok. I add COMPILER_TYPE=3Dfuckthat to the command line and guess what: # make installworld TARGET_ARCH=3Dpowerpc TARGET=3Dpowerpc = __MAKE_CONF=3D/dev/null DESTDIR=3D/tank/scratch/powerpc = COMPILER_TYPE=3Dfuckthat mkdir -p /tmp/install.pFqalBOs : >>> Making hierarchy : >>> Installing everything : =3D=3D=3D> lib/csu/powerpc (install) install -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o = /tank/scratch/powerpc/usr/lib install: crt1.o: No such file or directory *** Error code 71 What??? Ok, let's check if things were build properly: % make buildenv __MAKE_CONF=3D/dev/null TARGET=3Dpowerpc = TARGET_ARCH=3Dpowerpc $ cd lib/csu/powerpc $ make : cc -O2 -pipe ... -c crti.S crti.S:34:13: error: unexpected token in memory operand stwu 1,-16(1) ^ crti.S:35:2: error: invalid instruction mnemonic 'mflr' mflr 0 ^~~~ crti.S:36:12: error: unexpected token in memory operand stw 31,12(1) ^ crti.S:37:11: error: unexpected token in memory operand stw 0,20(1) ^ crti.S:38:2: error: invalid instruction mnemonic 'mr' mr 31,1 ^~ crti.S:45:13: error: unexpected token in memory operand stwu 1,-16(1) ^ crti.S:46:2: error: invalid instruction mnemonic 'mflr' mflr 0 ^~~~ crti.S:47:12: error: unexpected token in memory operand stw 31,12(1) ^ crti.S:48:11: error: unexpected token in memory operand stw 0,20(1) ^ crti.S:49:2: error: invalid instruction mnemonic 'mr' mr 31,1 ^~ *** Error code 1 Grrr... $ which cc /usr/bin/cc $ cc -v FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix Selected GCC installation:=20 So, now even the very questionable but fundamentally non-broken make buildenv isn't working anymore. How is anyone going to develop for anything but the host this way. Granted we seriously sucked in this regard to begin with but we seem to have regressed to the point of having absolutely no working support whatsoever. What is going on here? Are we still in some kind of flux and people aren't done yet or is this the intended state by virtue of noone having anything left on there TODO list? --=20 Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_FE144C49-1625-4B8A-81A7-DDAADAF13556 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlQhn/wACgkQpgWlLWHuifb4DgCfd79AuI8kcRs0Wctc5bYth4mb Fs0AnRZ2rS8wCFEfJERPystcVsMaBcUb =w7WC -----END PGP SIGNATURE----- --Apple-Mail=_FE144C49-1625-4B8A-81A7-DDAADAF13556--