Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9EE910177 for ; Thu, 12 Sep 2013 12:23:11 +0000 (UTC) Received: (qmail 4634 invoked by uid 500); 12 Sep 2013 12:23:11 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 4458 invoked by uid 500); 12 Sep 2013 12:23:10 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 4451 invoked by uid 99); 12 Sep 2013 12:23:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 12:23:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 12:23:07 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0338B238889B; Thu, 12 Sep 2013 12:22:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1522547 - in /httpd/httpd/trunk: CMakeLists.txt README.cmake Date: Thu, 12 Sep 2013 12:22:46 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130912122247.0338B238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Thu Sep 12 12:22:46 2013 New Revision: 1522547 URL: http://svn.apache.org/r1522547 Log: specify base addresses for libhttpd.dll and modules; mention an issue about Perl compatibility of a support script Modified: httpd/httpd/trunk/CMakeLists.txt httpd/httpd/trunk/README.cmake Modified: httpd/httpd/trunk/CMakeLists.txt URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CMakeLists.txt?rev=1522547&r1=1522546&r2=1522547&view=diff ============================================================================== --- httpd/httpd/trunk/CMakeLists.txt (original) +++ httpd/httpd/trunk/CMakeLists.txt Thu Sep 12 12:22:46 2013 @@ -482,6 +482,9 @@ ELSE() CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/os/win32/modules.c ${PROJECT_BINARY_DIR}/ COPYONLY) ENDIF() +# for easy reference from .dll/.so builds +CONFIGURE_FILE(os/win32/BaseAddr.ref ${PROJECT_BINARY_DIR}/ COPYONLY) + ADD_EXECUTABLE(gen_test_char server/gen_test_char.c) GET_TARGET_PROPERTY(GEN_TEST_CHAR_EXE gen_test_char LOCATION) ADD_CUSTOM_COMMAND( @@ -690,7 +693,10 @@ FOREACH (mod ${MODULE_PATHS}) SET(install_modules ${install_modules} ${mod_name}) SET(install_modules_pdb ${install_modules_pdb} "${PROJECT_BINARY_DIR}/${mod_name}.pdb") SET(mod_extra_libs "${mod_name}_extra_libs") - SET_TARGET_PROPERTIES(${mod_name} PROPERTIES SUFFIX .so) + SET_TARGET_PROPERTIES(${mod_name} PROPERTIES + SUFFIX .so + LINK_FLAGS /base:@${PROJECT_BINARY_DIR}/BaseAddr.ref,${mod_name}.so + ) TARGET_LINK_LIBRARIES(${mod_name} ${${mod_extra_libs}} libhttpd ${APR_LIBRARIES} ${HTTPD_SYSTEM_LIBS}) # Extra defines? @@ -712,6 +718,9 @@ ENDFOREACH() ########### HTTPD LIBRARIES ############ ADD_LIBRARY(libhttpd SHARED ${LIBHTTPD_SOURCES}) +SET_TARGET_PROPERTIES(libhttpd PROPERTIES + LINK_FLAGS /base:@${PROJECT_BINARY_DIR}/BaseAddr.ref,libhttpd.dll +) SET(install_targets ${install_targets} libhttpd) SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/libhttpd.pdb) TARGET_LINK_LIBRARIES(libhttpd ${APR_LIBRARIES} ${PCRE_LIBRARIES} ${HTTPD_SYSTEM_LIBS}) Modified: httpd/httpd/trunk/README.cmake URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/README.cmake?rev=1522547&r1=1522546&r2=1522547&view=diff ============================================================================== --- httpd/httpd/trunk/README.cmake (original) +++ httpd/httpd/trunk/README.cmake Thu Sep 12 12:22:46 2013 @@ -278,9 +278,10 @@ Known Bugs and Limitations * no support for static support library builds; unclear if that is a requirement; if so: taking PCRE as an example, we'd need to detect that it is static and then turn on PCRE_STATIC for the libhttpd build -* module base addresses aren't set * program attributes like descriptive name and version aren't set for most binaries +* build/cpR_noreplace.pl doesn't declare what version of Perl is required + and doesn't work with File::Path that is missing make_path Generally: