building on FreeBSD 10

Waitman Gobble uzimac at da3m0n8t3r.com
Sat Feb 11 21:23:10 UTC 2012


JINMEI Tatuya <jinmei at isc.org> wrote ..
> I think figured it out.  We (in ./configure) disable -Werror for some
> versions of g++ due to a compiler bug.  All g++ versions on FreeBSD we
> are using for development and tests seemingly have this bug, so the
> offending warning (it happens) doesn't stop the build.
> 
> Since this doesn't happen with other (older/newer) versions of g++, I
> suspect this is another bug of g++, and, my guess is that your version
> of g++/FreeBSD internally fixes the first bug that would disable
> -Werror but doesn't fix the second.
> 
> So, my suggestion is to use a different version of g++.  You may also
> try to use clang++ (it works on one of our test machines running
> FreeBSD 8.1).
> 
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.

Hi,

Thanks so much for the update. I checked autoreconf --help and it has something about --warnings, I tried that and still have -Werror in Makefile, so I went through configure and removed all references to -Werror, then re- ./configure and it's not in the Makefile.. 

The build finished, I tried running bind10 and it actually appears to have started.. yay.


https://www.uzimac.com/bind10run.txt


However I have not yet taken the time to do any configuration or verify anything. :)

I'll research the bug and see what's up, thanks. Maybe clang/LLVM is a good alternative. I think I read some people are building FreeBSD with clang./


Also FYI the two "problem" header files in boost are identical between 1.48 release version and 1.49/trunk so I didn't bother rebuilding boost.

Have a great weekend!

-- 
Waitman Gobble
San Jose California USA



More information about the bind10-users mailing list