[bind10-dev] Fw: building on FreeBSD 10
Shane Kerr
shane at isc.org
Mon Feb 13 10:51:06 UTC 2012
All,
I pulled this from a thread on the BIND 10 users' list.
The latest FreeBSD seems to have a patched version of g++ that breaks
our detection for old versions of g++. It doesn't actually fix enough
that our build completes though.
Any ideas how to resolve this so that FreeBSD 10 builds without pain?
--
Shane
Begin forwarded message:
Date: Sat, 11 Feb 2012 13:23:10 -0800 (PST)
From: "Waitman Gobble" <uzimac at da3m0n8t3r.com>
To: JINMEI Tatuya <jinmei at isc.org>
Cc: ISC BIND Users List <bind10-users at lists.isc.org>
Subject: Re: building on FreeBSD 10
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
-------------- next part --------------
_______________________________________________
bind10-users mailing list
bind10-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind10-users
More information about the bind10-dev
mailing list