[cmake-developers] [CMake 0011350]: get_prerequisites() on linux recursive behavior
Mantis Bug Tracker
mantis at public.kitware.com
Thu Oct 21 22:15:09 EDT 2010
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11350
======================================================================
Reported By: Clinton Stimpson
Assigned To:
======================================================================
Project: CMake
Issue ID: 11350
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2010-10-21 22:15 EDT
Last Modified: 2010-10-21 22:15 EDT
======================================================================
Summary: get_prerequisites() on linux recursive behavior
Description:
ldd on Linux is always recursive so the recursive flag in
get_prerequisites() function isn't honored.
to get direct dependencies only, one can do
"objdump -x some_binary | grep NEEDED"
get_prerequisites can run much faster if only makes one call to ldd to get
recursive dependencies. Also, one call to ldd would be better if
some_binary had rpaths in it but dependencies didn't.
Anyway, I noticed this when I wanted BundleUtilties to go faster.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-10-21 22:15 Clinton StimpsonNew Issue
======================================================================
More information about the cmake-developers
mailing list