Re: Compiling kernel with gcc43 [SOLVED]

2010-04-02 Thread Mario Lobo
On Thursday 01 April 2010 16:53:36 Pegasus Mc Cleaft wrote: On Thursday 01 April 2010 15:27:41 Oliver Fromme wrote: Mario Lobo l...@bsd.com.br wrote: [...] It's compiling right now. I'll post my findings and impressions on results and performance right after the next reboot.

Re: Compiling kernel with gcc43 [SOLVED] -ADDENDUM

2010-04-02 Thread Mario Lobo
Well, to tell the truth I wasn't that thrilled with the results. I didn't [snip] -- Compiling vbox/vbox-devel with gcc43 1) /usr/include/cam/cam.h needed #include stdio.h for FILE define, complained by: [snip] and

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Oliver Fromme
Mario Lobo l...@bsd.com.br wrote: [...] It's compiling right now. I'll post my findings and impressions on results and performance right after the next reboot. So, how is it going? Any benchmarks yet? I'm curious if the new gcc version will really make a significant difference.

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Pegasus Mc Cleaft
On Thursday 01 April 2010 15:27:41 Oliver Fromme wrote: Mario Lobo l...@bsd.com.br wrote: [...] It's compiling right now. I'll post my findings and impressions on results and performance right after the next reboot. So, how is it going? Any benchmarks yet? I'm curious if the

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Vlad Galu
On Thu, Apr 1, 2010 at 6:27 PM, Oliver Fromme o...@lurza.secnetix.de wrote: Mario Lobo l...@bsd.com.br wrote:   [...]   It's compiling right now.     I'll post my findings and impressions on results and performance right after   the next reboot. So, how is it going?  Any benchmarks yet?  

Re: Compiling kernel with gcc43

2010-03-25 Thread Mario Lobo
2010/3/24 Mario Lobo l...@bsd.com.br Hi; I followed the instructions from http://www.freebsd.org/doc/en/articles/custom-gcc/article.html to see if I can achieve some performance gain (8-STABLE r205630 amd64) and also get a more modern instruction set for my Phenom II (amdfam10), so I've

Re: Compiling kernel with gcc43

2010-03-25 Thread Ryan Stone
If you just want to try it out you could disable -Werror for your own build. The reason that gcc 4.3 fails where 4.2 works fine is that the gcc developers are adding new warnings with every compiler release, so until somebody takes the time to fix all of the new warnings you won't be able to

Re: Compiling kernel with gcc43

2010-03-25 Thread Mario Lobo
2010/3/25 Ryan Stone ryst...@gmail.com If you just want to try it out you could disable -Werror for your own build. The reason that gcc 4.3 fails where 4.2 works fine is that the gcc developers are adding new warnings with every compiler release, so until somebody takes the time to fix all

Re: Compiling kernel with gcc43

2010-03-25 Thread Ryan Stone
-Wnoerror should disable it, but I don't know enough about the FreeBSD build infrastructure to tell you where it needs to go. Worst comes to worst you can just delete all of the -Werrors. Disabling -Werror will not cause any problems. -Werror means treat warnings as errors. It's very useful

Re: Compiling kernel with gcc43

2010-03-25 Thread Andrius Morkūnas
On Thu, 25 Mar 2010 18:24:10 +0200, Mario Lobo l...@bsd.com.br wrote: Should I just dump the gcc43 idea and try this with clang/llvm? I've seen http://wiki.freebsd.org/BuildingFreeBSDWithClang. Anything else to watch out for when building world/kernel/ports? ClangBSD had little to no runtime

Re: Compiling kernel with gcc43

2010-03-25 Thread Garrett Cooper
On Thu, Mar 25, 2010 at 10:18 AM, Mario Lobo l...@bsd.com.br wrote: 2010/3/25 Ryan Stone ryst...@gmail.com If you just want to try it out you could disable -Werror for your own build.  The reason that gcc 4.3 fails where 4.2 works fine is that the gcc developers are adding new warnings with

Re: Compiling kernel with gcc43

2010-03-25 Thread Bruce Cran
On Thu, Mar 25, 2010 at 02:18:34PM -0300, Mario Lobo wrote: All right !! Thanks for replying ! There are a lot of locations throughout the source code where -Werror is enabled How can I disable -Werror globally? via src.conf ? will it do it for world/kernel? will this damage the resulting

Re: Compiling kernel with gcc43

2010-03-25 Thread Edward Tomasz Napierała
Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24: 2010/3/24 Mario Lobo l...@bsd.com.br Anyway,my question boils down to: Is there a way to build the kernel with gcc43, with minimal tweaking? Am i attempting something out of my league? This is what I use to compile kernel

Re: Compiling kernel with gcc43 [SOLVED]

2010-03-25 Thread Mario Lobo
On Thursday 25 March 2010 19:12:09 Edward Tomasz Napierała wrote: Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24: 2010/3/24 Mario Lobo l...@bsd.com.br Anyway,my question boils down to: Is there a way to build the kernel with gcc43, with minimal tweaking? Am i

Compiling kernel with gcc43

2010-03-24 Thread Mario Lobo
Hi; I followed the instructions from http://www.freebsd.org/doc/en/articles/custom-gcc/article.html to see if I can achieve some performance gain (8-STABLE r205630 amd64) and also get a more modern instruction set for my Phenom II (amdfam10), so I've done the following config settings: