Bug 26234
Summary: | find-requires should not include ld.so.preload contents | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | redhat-bugs |
Component: | rpm-build | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-02-21 18:17:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
redhat-bugs
2001-02-05 22:26:57 UTC
Changing component. There are two problems that I can see with using objdump -p rather than ldd: 1) objdump -p output does not include /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) 2) objdump -p may not work with a.out executables. Yes, there are possible workarounds for both problems. I still don't believe that rpm defaults can possibly Get It Right for all build systems, and so it's not worth attempting. If you really want to eliminate LD_PRELOAD dependencies, then write your own find-requires and filter out the unwanted dependencies: #!/bin/sh /usr/lib/rpm/find-requires | sed -e 's/whatever//' and configure your build system by doing (assuming above script is in /etc/rpm/my-find-requires): echo "%_find_requires /etc/rpm/my-find-requires" A per-package configuration is also possible. 'Tain't hard ... |