From owner-freebsd-stable@FreeBSD.ORG Fri Sep 6 11:17:15 2013 Return-Path: Delivered-To: freebsd-stable@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 ESMTP id 627B558A; Fri, 6 Sep 2013 11:17:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 23CB522BF; Fri, 6 Sep 2013 11:17:15 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::7c61:722b:7bc8:5bde] (unknown [IPv6:2001:7b8:3a7:0:7c61:722b:7bc8:5bde]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1E15F5C44; Fri, 6 Sep 2013 13:17:12 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_A78DFC7E-B8D9-4DC4-9B4E-A4799D344C3C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue From: Dimitry Andric In-Reply-To: Date: Fri, 6 Sep 2013 13:16:58 +0200 Message-Id: <3A76D5BA-4A37-4747-9DF8-B12C32015672@FreeBSD.org> References: <20130905233725.05106d2a@munin.geoinf.fu-berlin.de> To: Oliver Pinter X-Mailer: Apple Mail (2.1508) Cc: "O. Hartmann" , freebsd-stable@freebsd.org, Brooks Davis X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 11:17:15 -0000 --Apple-Mail=_A78DFC7E-B8D9-4DC4-9B4E-A4799D344C3C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 5, 2013, at 23:46, Oliver Pinter wrote: > On 9/5/13, O. Hartmann wrote: >> On a laptop, running FreeBSD 9.2-PRERELEASE #0 r255170: Tue Sep 3 >> 11:54:29 CEST 2013 amd64, compiling/updating port devel/llvm33 fails >> with the error shown below. >>=20 >> The port is at llvm-3.3_2 and is supposed to be updated to >> llvm-3.3_4. >>=20 >> On FreeBSD 10.0-CURRENT there is no problem compiling the port. >>=20 >> [...] >> llvm[1]: Compiling Signals.cpp for Release build >> In file included from Process.cpp:85: >> = /usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Unix/Process.inc:75:= 23: >> error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' if >> (::clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &TS) =3D=3D 0) ^ >> 1 error generated. >> gmake[1]: *** >> = [/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Release/Process.o] >> Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: = Leaving >> directory `/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support' >> gmake: *** [all] Error 1 >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/181817 This is because David Xu MFC'd his time.h changes to stable/9, but did = not merge r245428, for some reason. There was quite a large window = where -current was broken in this respect. I will merge the fix to stable/9 tonight, but I don't think it will make = it into 9.2-RELEASE, so we will still need a workaround for the port, = for the life of 9.2. :-( -Dimitry --Apple-Mail=_A78DFC7E-B8D9-4DC4-9B4E-A4799D344C3C 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----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iEYEARECAAYFAlIpubUACgkQsF6jCi4glqPvOQCg0s9lPPdTWo7CKhB58CuUc5gt /EQAoK8TRj4JPuIac4rtE00X6qbQt2fO =9r/E -----END PGP SIGNATURE----- --Apple-Mail=_A78DFC7E-B8D9-4DC4-9B4E-A4799D344C3C--