Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
On Sep 5, 2013, at 23:46, Oliver Pinter oliver.p...@gmail.com wrote: On 9/5/13, O. Hartmann o.hartm...@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. The port is at llvm-3.3_2 and is supposed to be updated to llvm-3.3_4. On FreeBSD 10.0-CURRENT there is no problem compiling the port. [...] 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) == 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 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/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 signature.asc Description: Message signed with OpenPGP using GPGMail
Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
On Sep 6, 2013, at 13:16, Dimitry Andric d...@freebsd.org wrote: On Sep 5, 2013, at 23:46, Oliver Pinter oliver.p...@gmail.com wrote: On 9/5/13, O. Hartmann o.hartm...@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. The port is at llvm-3.3_2 and is supposed to be updated to llvm-3.3_4. On FreeBSD 10.0-CURRENT there is no problem compiling the port. [...] 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) == 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 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/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. :-( Note: the workaround I've used in head is http://svnweb.freebsd.org/changeset/base/250616 . This simply does -DCLOCK_PROCESS_CPUTIME_ID=15 on the command line of lib/Support/Process.cpp, which is ugly, but works fine, unless somebody changes the define again. :-) -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
On 9/6/13, Dimitry Andric d...@freebsd.org wrote: On Sep 6, 2013, at 13:16, Dimitry Andric d...@freebsd.org wrote: On Sep 5, 2013, at 23:46, Oliver Pinter oliver.p...@gmail.com wrote: On 9/5/13, O. Hartmann o.hartm...@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. The port is at llvm-3.3_2 and is supposed to be updated to llvm-3.3_4. On FreeBSD 10.0-CURRENT there is no problem compiling the port. [...] 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) == 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 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/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. :-( Note: the workaround I've used in head is http://svnweb.freebsd.org/changeset/base/250616 . This simply does -DCLOCK_PROCESS_CPUTIME_ID=15 on the command line of lib/Support/Process.cpp, which is ugly, but works fine, unless somebody changes the define again. :-) thanks! ;) -Dimitry ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
On Sep 6, 2013, at 13:16, Dimitry Andric d...@freebsd.org wrote: On Sep 5, 2013, at 23:46, Oliver Pinter oliver.p...@gmail.com wrote: On 9/5/13, O. Hartmann o.hartm...@walstatt.org wrote: ... /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' ... 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. :-( Fortunately, re@ gave me permission to merge it into releng/9.2 (see r255308), so the change will make it into 9.2-RELEASE! -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
On Fri, 6 Sep 2013 18:36:59 +0200 Dimitry Andric d...@freebsd.org wrote: On Sep 6, 2013, at 13:16, Dimitry Andric d...@freebsd.org wrote: On Sep 5, 2013, at 23:46, Oliver Pinter oliver.p...@gmail.com wrote: On 9/5/13, O. Hartmann o.hartm...@walstatt.org wrote: ... /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' ... 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. :-( Fortunately, re@ gave me permission to merge it into releng/9.2 (see r255308), so the change will make it into 9.2-RELEASE! -Dimitry That is great. Thanks a lot. Oliver signature.asc Description: PGP signature
devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
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. The port is at llvm-3.3_2 and is supposed to be updated to llvm-3.3_4. On FreeBSD 10.0-CURRENT there is no problem compiling the port. [...] 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) == 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue
On 9/5/13, O. Hartmann o.hartm...@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. The port is at llvm-3.3_2 and is supposed to be updated to llvm-3.3_4. On FreeBSD 10.0-CURRENT there is no problem compiling the port. [...] 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) == 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 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181817 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org