BIND 10 #480: clang++/FreeBSD doesn't compile BIND 10 with optimization
BIND 10 Development
do-not-reply at isc.org
Sat Jan 8 03:37:08 UTC 2011
#480: clang++/FreeBSD doesn't compile BIND 10 with optimization
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner: jreed
Type: defect | Status: new
Priority: minor | Milestone: feature
Component: build | backlog item
system | Resolution:
Keywords: | Sensitive: 0
Estimated Number of Hours: 0.0 | Add Hours to Ticket: 0
Billable?: 1 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
I found a heuristic workaround. If I divided CCSessionTest::checkCommand
into two sub testcases (covering the same set of tests) it compiled and
tests passed. Maybe the resulting macro/template expansion is too big for
clang++.
This is an ad hoc hack, but this is the only case (at least so far) we
have this problem, so I propose adopting this workaround and moving
forward for now.
I'm attaching a proposed diff (no branch at the moment).
I'm giving this ticket Jelte, because all reviewers should check for the
change is to confirm it doesn't change the tests in semantics.
I'm not intending to add a changelog entry for this change.
--
Ticket URL: <http://bind10.isc.org/ticket/480#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list