Re: www/firefox and mail/thunderbird fail to compile in FreeBSD 10-CUR/amd64 with CLANG

2012-04-29 Thread O. Hartmann
I realized that compiling mail/thunderbird and www/firefox on most recent FreeBSD 10-CURRENT/amd64 with CLANG/LLVM 3.1 doesn't work anymore. Compiling www/firefox and mail/thunderbird with gcc 4.6 works fine. Am 04/29/12 10:10, schrieb O. Hartmann: > On my FreeBSD 10 boxes, all compiled with CLAN

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-29 Thread Erich Dollansky
Hi, after failing to compile 9.0 and 10.0 on a fresh 9.0 installation, I compiled both 9.0 and 10.0 on a 8.3 machine without any problem. I will test the new kernel on the 9.0 machine later today. I was not able to pinpoint what causes the failure on the 9.0 machine. Erich On Saturday 28 Apri

Re: New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1);

2012-04-29 Thread O. Hartmann
Am 04/28/12 18:52, schrieb Dimitry Andric: > On 2012-04-28 13:12, Volodymyr Kostyrko wrote: >> O. Hartmann wrote: >>> Is there in "official" way to get this fixed with CLANG? I see that >>> files folder in graphics/dri is missing, so none of the fixes for both >>> the faulty source files >> >> I t

Re: lang/gcc46: error when compiling with CLANG

2012-04-29 Thread O. Hartmann
Am 04/29/12 14:18, schrieb Dimitry Andric: > On 2012-04-29 12:54, O. Hartmann wrote: >> On a FreeBSD 10-CURRENT/amd64 box the compilation/update of the port >> lang/gcc46 fails with the below shown error. >> >> Since the port compiles well on FreeBSD 9 and another FreeBSD 10 box >> (all amd64, CLAN

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-29 Thread Aleksandr Rybalko
On Sun, 29 Apr 2012 12:04:05 -0700 Adrian Chadd wrote: > .. and the output from the buildworld: > > cc -fpic -DPIC -O -pipe -G0 -march=mips32 > -I/usr/home/adrian/work/freebsd/svn/src/lib/libc/include > -I/usr/home/adrian/work/freebsd/svn/src/lib/libc/../../include > -I/usr/home/adrian/work/fre

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-29 Thread Adrian Chadd
.. and the output from the buildworld: cc -fpic -DPIC -O -pipe -G0 -march=mips32 -I/usr/home/adrian/work/freebsd/svn/src/lib/libc/include -I/usr/home/adrian/work/freebsd/svn/src/lib/libc/../../include -I/usr/home/adrian/work/freebsd/svn/src/lib/libc/mips -DNLS -DSOFTFLOAT -D__DBINTERFACE_PRIVATE

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-29 Thread Adrian Chadd
Hi Jason, Cross compiles are now failing for me when I enable MALLOC_PRODUCTION. I'm doing cross-builds using my environment at http://code.google.com/p/freebsd-wifi-build/ . All it requires is a checkout of -HEAD src, so you should be able to reproduce it by following the instructions for an exa

www/firefox or mail/thunderbird: Build on FreeBSD 10-CURRENT/amd64 CLANG doesn't work: ./jsapi.h:2105:1: error: 'JS_GetNegativeInfinityValue' has C-linkage specified, but returns user-defined type 'js

2012-04-29 Thread O. Hartmann
Both ports, www/firefox and mail/thunderbird, reject compiling/updating with almost the same error as shown below for www/firefox. This happens on all FreeBSD 10-CURRENT/amd64 boxes compiling with CLANG. FreeBSD 9 is fine. Are there any solutions? Is this problem "well known" and I missed somethi

Re: 10.0-CURRENT could not be built: make: don't know how to make blacklist.c. Stop

2012-04-29 Thread Bernhard Schmidt
On Sunday 29 April 2012 14:33:26 Lev Serebryakov wrote: > Hello, Bernhard. > You wrote 29 апреля 2012 г., 16:14:14: > > BS> Just noticed that myself a few minutes ago.. I'm about to commit > BS> attached fix in few minutes. Wanna give it a quick shot? > Yep, it helps :) Committed, sorry for the

Re: 10.0-CURRENT could not be built: make: don't know how to make blacklist.c. Stop

2012-04-29 Thread Lev Serebryakov
Hello, Bernhard. You wrote 29 апреля 2012 г., 16:14:14: BS> Just noticed that myself a few minutes ago.. I'm about to commit BS> attached fix in few minutes. Wanna give it a quick shot? Yep, it helps :) -- // Black Lion AKA Lev Serebryakov ___ freeb

Re: lang/gcc46: error when compiling with CLANG

2012-04-29 Thread Dimitry Andric
On 2012-04-29 12:54, O. Hartmann wrote: > On a FreeBSD 10-CURRENT/amd64 box the compilation/update of the port > lang/gcc46 fails with the below shown error. > > Since the port compiles well on FreeBSD 9 and another FreeBSD 10 box > (all amd64, CLANG built), I feel a bit confused since the setup i

Re: 10.0-CURRENT could not be built: make: don't know how to make blacklist.c. Stop

2012-04-29 Thread Bernhard Schmidt
On Sunday 29 April 2012 13:38:38 Lev Serebryakov wrote: > Hello, Current. > > > I'm trying to build fresh (several minutes ago) 10.0-CURRENT/i386 on > month-old 10.0-CURRENT/i386. And it fails in very beginning: > > ===> usr.sbin/wpa (depend) > ===> usr.sbin/wpa/wpa_supplicant (depend) > make:

10.0-CURRENT could not be built: make: don't know how to make blacklist.c. Stop

2012-04-29 Thread Lev Serebryakov
Hello, Current. I'm trying to build fresh (several minutes ago) 10.0-CURRENT/i386 on month-old 10.0-CURRENT/i386. And it fails in very beginning: ===> usr.sbin/wpa (depend) ===> usr.sbin/wpa/wpa_supplicant (depend) make: don't know how to make blacklist.c. Stop *** [depend] Error code 2 I've

lang/gcc46: error when compiling with CLANG

2012-04-29 Thread O. Hartmann
On a FreeBSD 10-CURRENT/amd64 box the compilation/update of the port lang/gcc46 fails with the below shown error. Since the port compiles well on FreeBSD 9 and another FreeBSD 10 box (all amd64, CLANG built), I feel a bit confused since the setup is almost the same on all boxes. The machine in que

Re: New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1);

2012-04-29 Thread O. Hartmann
Am 04/28/12 13:12, schrieb Volodymyr Kostyrko: > O. Hartmann wrote: >> Is there in "official" way to get this fixed with CLANG? I see that >> files folder in graphics/dri is missing, so none of the fixes for both >> the faulty source files > > I think the patch should go to graphics/libGL. > > c

www/firefox and mail/thunderbird fail to compile in FreeBSD 10-CUR/amd64 with CLANG

2012-04-29 Thread O. Hartmann
On my FreeBSD 10 boxes, all compiled with CLANG and using CLANG ( FreeBSD 10.0-CURRENT #0 r234500: Fri Apr 20 21:59:02 CEST 2012), compiling/updating Firefox to V12 and Thunderbird to V12 fails with the below shown error. Does someone have any clue what could trigger the problem? On FreeBSD 9-STA

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-29 Thread Adrian Chadd
Hi, So hm, how do I define MALLOC_PRODUCTION correctly when doing a cross-build? When doing a cross-build, I do this in my build script: env CROSS_BUILD_TESTING=YES MAKEOBJDIRPREFIX=${X_MAKEOBJDIRPREFIX} \ make ${BUILD_FLAGS} TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH}