Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-05 Thread Ruslan Mahmatkhanov
Michel Talon wrote on 04.09.2011 11:29: Ruslan wrote: Hi, i maintain port (sysutils/rdup) that is failing with clang: I have looked at the problem, it is indeed in rdup source. If you look at rdup git history for rdup-tr.c you will see remove rdup_entry_c from the code, totally unnee

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-05 Thread Ruslan Mahmatkhanov
Ivan Klymenko wrote on 04.09.2011 11:12: В Sun, 04 Sep 2011 10:42:07 +0400 Ruslan Mahmatkhanov пишет: Roman Divacky wrote on 25.07.2011 19:59: Hi! Flz@ just run another exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-erro

Re: reasons for rewriting regular memory (was: [ANNOUNCE]: clang compiling ports, take 2)

2011-09-04 Thread perryh
Matthias Andree wrote: > > I agree, but I can think of another valid exception. System with > > Hamming correction on the memory, gets a single bit (correctable) > > error. Need to rewrite the memory contents to reset all the parity > > bits! > That's a matter of the EDAC stuff, not the business o

Re: reasons for rewriting regular memory (was: [ANNOUNCE]: clang compiling ports, take 2)

2011-09-04 Thread Matthias Andree
> I agree, but I can think of another valid exception. System with > Hamming correction on the memory, gets a single bit (correctable) > error. Need to rewrite the memory contents to reset all the parity > bits! That's a matter of the EDAC stuff, not the business of applications. _

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Bob Eager
On Sun, 04 Sep 2011 12:22:35 +0200 Matthias Andree wrote: > Am 04.09.2011 10:45, schrieb Ivan Klymenko: > > В Sun, 04 Sep 2011 09:34:33 +0200 > > Matthias Andree пишет: > > > >> Am 04.09.2011 09:12, schrieb Ivan Klymenko: > >> > >>> Maybe this will help: > >>> *rdup_entry = *rdup_entry; > >> >

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Matthias Andree
Am 04.09.2011 10:48, schrieb Mark Linimon: > On Sun, Sep 04, 2011 at 05:09:05AM +0200, Gerald Pfeifer wrote: >> Can you advise which value of __FreeBSD_version to use? The official >> list at >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html >> does n

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Matthias Andree
Am 04.09.2011 10:45, schrieb Ivan Klymenko: > В Sun, 04 Sep 2011 09:34:33 +0200 > Matthias Andree пишет: > >> Am 04.09.2011 09:12, schrieb Ivan Klymenko: >> >>> Maybe this will help: >>> *rdup_entry = *rdup_entry; >> >> This is just guessing and probably triggers the same warning unless >> it's v

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Ivan Klymenko
В Sun, 04 Sep 2011 09:34:33 +0200 Matthias Andree пишет: > Am 04.09.2011 09:12, schrieb Ivan Klymenko: > > > Maybe this will help: > > *rdup_entry = *rdup_entry; > > This is just guessing and probably triggers the same warning unless > it's volatile. > > Have the original author look at it. T

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Mark Linimon
On Sun, Sep 04, 2011 at 05:09:05AM +0200, Gerald Pfeifer wrote: > Can you advise which value of __FreeBSD_version to use? The official > list at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html > does not have a reference from what I can see. There is

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Matthias Andree
Am 04.09.2011 08:42, schrieb Ruslan Mahmatkhanov: > Roman Divacky wrote on 25.07.2011 19:59: >> Hi! >> >> >> Flz@ just run another exp-build with CC=clang and CXX=clang++. The >> results can be >> seen here: >> >> >> http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ >>

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Matthias Andree
Am 04.09.2011 09:12, schrieb Ivan Klymenko: > Maybe this will help: > *rdup_entry = *rdup_entry; This is just guessing and probably triggers the same warning unless it's volatile. Have the original author look at it. ___ freebsd-ports@freebsd.org maili

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Matthias Andree
Am 04.09.2011 05:09, schrieb Gerald Pfeifer: > On Mon, 25 Jul 2011, Matthias Andree wrote: >> Namely: if a port sets USE_GCC=4.2+ (for instance, sysutils/busybox does >> that), the Pointyhat build does not install GCC. I think the bug is in >> ports/Mk/bsd.gcc.mk which is unaware that there are ne

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Ivan Klymenko
В Sun, 04 Sep 2011 10:42:07 +0400 Ruslan Mahmatkhanov пишет: > Roman Divacky wrote on 25.07.2011 19:59: > > Hi! > > > > > > Flz@ just run another exp-build with CC=clang and CXX=clang++. The > > results can be seen here: > > > > > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.2

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-04 Thread Michel Talon
Ruslan wrote: > Hi, i maintain port (sysutils/rdup) that is failing with clang: I have looked at the problem, it is indeed in rdup source. If you look at rdup git history for rdup-tr.c you will see remove rdup_entry_c from the code, totally unneeded in this modification, the line rdup

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-03 Thread Ruslan Mahmatkhanov
Roman Divacky wrote on 25.07.2011 19:59: Hi! Flz@ just run another exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ Since the last run we've managed to fix the biggest offenders but that un

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-09-03 Thread Gerald Pfeifer
On Mon, 25 Jul 2011, Matthias Andree wrote: > Namely: if a port sets USE_GCC=4.2+ (for instance, sysutils/busybox does > that), the Pointyhat build does not install GCC. I think the bug is in > ports/Mk/bsd.gcc.mk which is unaware that there are newer clang-based > 9-CURRENT systems without gcc. >

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-07-26 Thread Matthias Andree
Am 25.07.2011 17:59, schrieb Roman Divacky: > Hi! > > > Flz@ just run another exp-build with CC=clang and CXX=clang++. The results > can be > seen here: > > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ > > > Since the last run we've managed to fix

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-07-26 Thread Florent Thoumie
On Mon, Jul 25, 2011 at 8:06 PM, George Liaskos wrote: > Hello! > > I added some jquery for sorting / searching at the latest clang exp run. > http://cybertron.gr/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/index.html > > I hope you 'll find it useful. The table should be sortable already, j

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-07-25 Thread Chuck Swiger
Hi-- On Jul 25, 2011, at 4:31 PM, Raphael Kubo da Costa wrote: >> http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ > > qt4-webkit seems to trigger a clang bug, but the description for clang > bug only says "See (TBA) for further information". Is there anything we > (

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-07-25 Thread Raphael Kubo da Costa
Roman Divacky writes: > Hi! > > Flz@ just run another exp-build with CC=clang and CXX=clang++. The results > can be > seen here: > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ qt4-webkit seems to trigger a clang bug, but the description for clang bug only say

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-07-25 Thread George Liaskos
On Mon, Jul 25, 2011 at 6:59 PM, Roman Divacky wrote: > Hi! > > > Flz@ just run another exp-build with CC=clang and CXX=clang++. The results > can be > seen here: > > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ > > > Since the last run we've managed to fix the

Re: [ANNOUNCE]: clang compiling ports, take 2

2011-07-25 Thread Diane Bruce
On Mon, Jul 25, 2011 at 05:59:20PM +0200, Roman Divacky wrote: > Hi! > > > Flz@ just run another exp-build with CC=clang and CXX=clang++. The results > can be > seen here: > > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ > It would be good to also

[ANNOUNCE]: clang compiling ports, take 2

2011-07-25 Thread Roman Divacky
Hi! Flz@ just run another exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ Since the last run we've managed to fix the biggest offenders but that uncovered others that need fixing. Th

Re: [ANNOUNCE]: clang compiling ports

2011-06-30 Thread Alberto Villa
On Thu, Jun 30, 2011 at 3:18 PM, Koop Mast wrote: > I need to review the patches mentioned on the end of that wiki page. But I > have currently a couple of deadlines I need to do work for, so that takes > priority atm. If I find anything that is still needed, I will let the > responsible people no

Re: [ANNOUNCE]: clang compiling ports

2011-06-30 Thread Mark Linimon
On Thu, Jun 30, 2011 at 08:19:05AM +, b. f. wrote: > Is there a new link for the new results? Or did you use the link above? same link. mcl ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubsc

Re: [ANNOUNCE]: clang compiling ports

2011-06-30 Thread Koop Mast
On 30-6-2011 14:42, Alberto Villa wrote: On Mon, Jun 20, 2011 at 5:37 PM, Roman Divacky wrote: It would be great if you could skim over the list to see if some of the ports you maintain are broken and possibly try to fix them. as of today, qt 4 builds successfully with clang :) A small intro

Re: [ANNOUNCE]: clang compiling ports

2011-06-30 Thread Alberto Villa
On Mon, Jun 20, 2011 at 5:37 PM, Roman Divacky wrote: > It would be great if you could skim over the list to see if some of the ports > you maintain are broken and possibly try to fix them. as of today, qt 4 builds successfully with clang :) > A small introduction into > the Clang+Ports can be r

Re: [ANNOUNCE]: clang compiling ports

2011-06-30 Thread Florent Thoumie
On Thu, Jun 30, 2011 at 9:19 AM, b. f. wrote: > Mark Linimon wrote: >> On Mon, Jun 20, 2011 at 06:21:26PM -0500, Mark Linimon wrote: >> > A permanent URL to this run is: >> > >> >     >> > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ >> > >> > That will stick aro

Re: [ANNOUNCE]: clang compiling ports

2011-06-30 Thread b. f.
Mark Linimon wrote: > On Mon, Jun 20, 2011 at 06:21:26PM -0500, Mark Linimon wrote: > > A permanent URL to this run is: > > > > > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ > > > > That will stick around even if we use amd64-9-exp for something else. > > I

Re: [ANNOUNCE]: clang compiling ports

2011-06-29 Thread Mark Linimon
On Mon, Jun 20, 2011 at 06:21:26PM -0500, Mark Linimon wrote: > A permanent URL to this run is: > > > http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ > > That will stick around even if we use amd64-9-exp for something else. I have updated the errorlog-classifi

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Matthias Andree
Am 21.06.2011 12:43, schrieb Baptiste Daroussin: > Just be aware that stable clang has some issue with the stable binutils, > to fix this make sure to use binutils from ports. > > To be able to test on stable: > export CC=clang > export CXX=clang++ > PATH=/usr/local/bin:${PATH} make -C myport > t

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Baptiste Daroussin
On Tue, 21 Jun 2011 12:39:18 +0200, Matthias Andree wrote: Am 21.06.2011 12:29, schrieb Alex Dupre: Matthias Andree ha scritto: I have patches for my ports, can I send them to anyone to test them? Do something similar to this: Thanks for the instructions, but currently I haven't a -current

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Matthias Andree
Am 21.06.2011 12:29, schrieb Alex Dupre: > Matthias Andree ha scritto: >>> I have patches for my ports, can I send them to anyone to test them? >> >> Do something similar to this: > > Thanks for the instructions, but currently I haven't a -current ready > for testing, this is the reason of my ques

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Alex Dupre
Matthias Andree ha scritto: I have patches for my ports, can I send them to anyone to test them? Do something similar to this: Thanks for the instructions, but currently I haven't a -current ready for testing, this is the reason of my question :-) -- Alex Dupre

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Matthias Andree
Am 21.06.2011 12:15, schrieb Alex Dupre: > Roman Divacky ha scritto: >> It would be great if you could skim over the list to see if some of >> the ports >> you maintain are broken and possibly try to fix them. > > I have patches for my ports, can I send them to anyone to test them? > Do somethin

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Alex Dupre
Roman Divacky ha scritto: It would be great if you could skim over the list to see if some of the ports you maintain are broken and possibly try to fix them. I have patches for my ports, can I send them to anyone to test them? -- Alex Dupre ___ freeb

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Florent Thoumie
On Tue, Jun 21, 2011 at 8:41 AM, Alexander Leidinger wrote: > Quoting Mark Linimon (from Mon, 20 Jun 2011 18:21:26 > -0500): > >> On Mon, Jun 20, 2011 at 05:37:53PM +0200, Roman Divacky wrote: >>> >>> Flz@ just ran an exp-build with CC=clang and CXX=clang++. The results can >>> be >>> seen here:

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Baptiste Daroussin
On Mon, 20 Jun 2011 17:37:53 +0200, Roman Divacky wrote: Hi! Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ A lot of these failures are trivial to fix (ie. not respecting CC setting

Re: [ANNOUNCE]: clang compiling ports

2011-06-21 Thread Alexander Leidinger
Quoting Mark Linimon (from Mon, 20 Jun 2011 18:21:26 -0500): On Mon, Jun 20, 2011 at 05:37:53PM +0200, Roman Divacky wrote: Flz@ just ran an exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ A permanent URL

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Mark Linimon
On Mon, Jun 20, 2011 at 05:37:53PM +0200, Roman Divacky wrote: > Flz@ just ran an exp-build with CC=clang and CXX=clang++. The results can be > seen here: > > http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ A permanent URL to this run is: http://pointyhat.freebsd.org/errorlogs/

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Pan Tsu
Pan Tsu writes: > Roman Divacky writes: > >> Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be >> seen here: >> >> http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ >> >> A lot of these failures are trivial to fix (ie. not respecting CC setting, >> et

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Stephen Montgomery-Smith
On 06/20/2011 02:44 PM, Stephen Montgomery-Smith wrote: On 06/20/2011 02:28 PM, Chuck Swiger wrote: On Jun 20, 2011, at 12:09 PM, Stephen Montgomery-Smith wrote: top_button_cross() probably should be declared as returning void. What's presumably happening is that it gets a default return type

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Pan Tsu
Roman Divacky writes: > Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be > seen here: > > http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ > > A lot of these failures are trivial to fix (ie. not respecting CC setting, > etc.) > and prevent a lot of o

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Stephen Montgomery-Smith
On 06/20/2011 02:28 PM, Chuck Swiger wrote: On Jun 20, 2011, at 12:09 PM, Stephen Montgomery-Smith wrote: top_button_cross() probably should be declared as returning void. What's presumably happening is that it gets a default return type of int since it doesn't otherwise specify a return type

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Chuck Swiger
On Jun 20, 2011, at 12:09 PM, Stephen Montgomery-Smith wrote: >> top_button_cross() probably should be declared as returning void. What's >> presumably happening is that it gets a default return type of int since it >> doesn't otherwise specify a return type, and then fails to have an explicit

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Stephen Montgomery-Smith
On 06/20/2011 12:59 PM, Chuck Swiger wrote: On Jun 20, 2011, at 9:35 AM, Stephen Montgomery-Smith wrote: What I would like is a primer on how to suppress all the warnings and errors created by K&R code. OK: http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics Yes, I did see that.

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Chuck Swiger
On Jun 20, 2011, at 9:35 AM, Stephen Montgomery-Smith wrote: > What I would like is a primer on how to suppress all the warnings and errors > created by K&R code. OK: http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics Of course, you can only suppress warnings; you cannot suppress act

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Stephen Montgomery-Smith
On 06/20/2011 11:22 AM, Niclas Zeising wrote: On 2011-06-20 17:37, Roman Divacky wrote: Hi! Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ A lot of these failures are trivial to fix

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Vitaly Magerya
Hi, Roman. Can you specify what environment and which make options where used? I'm somewhat confused because of log [1]: the Makefile basically does the compiling this way: ${MAKE} PROG=lemon NOMAN=1 NO_MAN=1 \ CFLAGS="-g ${CFLAGS}" \ -f /usr/share/mk/bsd.prog.mk Since bsd.pro

Re: [ANNOUNCE]: clang compiling ports

2011-06-20 Thread Niclas Zeising
On 2011-06-20 17:37, Roman Divacky wrote: > Hi! > > > Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be > seen here: > > > http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ > > > A lot of these failures are trivial to fix (ie. not respecting CC sett

[ANNOUNCE]: clang compiling ports

2011-06-20 Thread Roman Divacky
Hi! Flz@ just run an exp-build with CC=clang and CXX=clang++. The results can be seen here: http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ A lot of these failures are trivial to fix (ie. not respecting CC setting, etc.) and prevent a lot of other ports from building. It w