Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 76239 invoked from network); 22 Jan 2011 09:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jan 2011 09:27:12 -0000 Received: (qmail 81916 invoked by uid 500); 22 Jan 2011 09:27:11 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 81665 invoked by uid 500); 22 Jan 2011 09:27:08 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 81653 invoked by uid 99); 22 Jan 2011 09:27:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jan 2011 09:27:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jan 2011 09:27:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0M9QhGN028808 for ; Sat, 22 Jan 2011 09:26:44 GMT Message-ID: <32948207.124051295688403839.JavaMail.jira@thor> Date: Sat, 22 Jan 2011 04:26:43 -0500 (EST) From: "Filipe Manana (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-1033) prevent excessive linking In-Reply-To: <15400116.79661295522323599.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985081#action_12985081 ] Filipe Manana commented on COUCHDB-1033: ---------------------------------------- I don't see my ICU linked to spidermonkey: $ ldd src/couchdb/priv/.libs/couch_icu_driver.so linux-gate.so.1 => (0xb7726000) libm.so.6 => /lib/libm.so.6 (0xb76e5000) libicuuc.so.42 => /usr/lib/libicuuc.so.42 (0xb75a1000) libicudata.so.42 => /usr/lib/libicudata.so.42 (0xb665a000) libicui18n.so.42 => /usr/lib/libicui18n.so.42 (0xb64a1000) libpthread.so.0 => /lib/libpthread.so.0 (0xb6487000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb6455000) libc.so.6 => /lib/libc.so.6 (0xb62f8000) /lib/ld-linux.so.2 (0xb7727000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb620c000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb61f0000) However there are some other unused dependencies: $ ldd -u src/couchdb/priv/.libs/couch_icu_driver.so Unused direct dependencies: /lib/libm.so.6 /usr/lib/libicuuc.so.42 /usr/lib/libicudata.so.42 /usr/lib/libicui18n.so.42 /lib/libpthread.so.0 /lib/libcrypt.so.1 > prevent excessive linking > ------------------------- > > Key: COUCHDB-1033 > URL: https://issues.apache.org/jira/browse/COUCHDB-1033 > Project: CouchDB > Issue Type: Improvement > Components: Build System > Reporter: Randall Leeds > Priority: Minor > Fix For: 1.2 > > Original Estimate: 3h > Remaining Estimate: 3h > > configure.ac currently constructs a massive CPPFLAGS used for all compilation. As a result, unnecessary linking occurs. For example, the ICU driver is linked to SpiderMonkey. > I believe it would be good practice to prevent this sort of needless linking. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.