Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 13:16:58 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Oliver Pinter <oliver.pntr@gmail.com>
Cc:        "O. Hartmann" <o.hartmann@walstatt.org>, freebsd-stable@freebsd.org, Brooks Davis <brooks@FreeBSD.org>
Subject:   Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
Message-ID:  <3A76D5BA-4A37-4747-9DF8-B12C32015672@FreeBSD.org>
In-Reply-To: <CAPjTQNGJX3SeNefp-v32852otg2R=GZqh1NeDPZLrQaqkSLvyA@mail.gmail.com>
References:  <20130905233725.05106d2a@munin.geoinf.fu-berlin.de> <CAPjTQNGJX3SeNefp-v32852otg2R=GZqh1NeDPZLrQaqkSLvyA@mail.gmail.com>

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

--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 <oliver.pntr@gmail.com> wrote:
> On 9/5/13, O. Hartmann <o.hartmann@walstatt.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A76D5BA-4A37-4747-9DF8-B12C32015672>