couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-1033) prevent excessive linking
Date Sat, 22 Jan 2011 09:26:43 GMT

    [ 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.


Mime
View raw message