devel/ace (ace-5.5.2_2) build works OK if aio(4) is not loaded, but if aio kernel module is loaded, build fails when it attempts to compile tests/Proactor_Test.cpp. This failure occurs because of inconsistency between code in POSIX_CB_Proactor.h (which leaves class ACE_POSIX_CB_Proactor undefined if defined (__FreeBSD__)) and code in Proactor_Test.cpp (which assumes it is defined). There is an identical situation with Proactor_Test_IPV6.cpp as well. In the default case where kernel module aio(4) is not loaded, the ACE configure script does not detect the presence of aio and therefore leaves ACE_HAS_AIO_CALLS undefined. In this case, the test code in Proactor_Test.cpp and Proactor_Test_IPV6.cpp is not compiled, and there is no build failure. Fix: The attached patch qualifies the relevant code blocks with "!defined(__FreeBSD__)" to make them consistent with POSIX_CB_Proactor.h. Patch attached with submission follows: How-To-Repeat: # kldload aio # cd /usr/ports/devel/ace # make clean && make
Responsible Changed From-To: freebsd-ports-bugs->sem Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: sem->freebsd-ports-bugs Return to the pool
Responsible Changed From-To: freebsd-ports-bugs->amdmi3 I'll take it.
State Changed From-To: open->closed Committed. Thanks!
amdmi3 2009-03-20 01:01:51 UTC FreeBSD ports repository Modified files: devel/ace Makefile Added files: devel/ace/files patch-tests Log: - Fix build when aio.ko is loaded - While here, fix build on CURRENT PR: 129363 Submitted by: "G. Paul Ziemba" <p-fbsd-bugs at ziemba dot us> Revision Changes Path 1.22 +5 -5 ports/devel/ace/Makefile 1.1 +25 -0 ports/devel/ace/files/patch-tests (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"