| Summary: | [regression] -rpath appears to clear default library search path | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | binutils | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fweimer, jakub, klember, nickc, puiterwijk |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-21 16:15:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Seems to be new going from -5 to -6. I went ahead and untagged binutils-2.27-6.fc26 from rawhide as this was causing distro wide breakage, e.g. pretty much all of GNOME was failing to build. *** This bug has been marked as a duplicate of bug 1377949 *** *** Bug 1377799 has been marked as a duplicate of this bug. *** |
Description of problem: # cat conftest.c int main() { ; return 0; } # gcc -L/usr/lib64/mpich/lib -Wl,-rpath,/usr/lib64/mpich/lib -lmpi conftest.c /usr/bin/ld: warning: librt.so.1, needed by /usr/lib64/mpich/lib/libmpi.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpthread.so.0, needed by /usr/lib64/mpich/lib/libmpi.so, not found (try using -rpath or -rpath-link) /usr/lib64/mpich/lib/libmpi.so: undefined reference to `aio_error64.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `clock_gettime.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `pthread_mutexattr_init.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `aio_return64.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `pthread_create.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `clock_getres.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `pthread_mutexattr_destroy.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `pthread_mutexattr_setpshared.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `pthread_mutexattr_settype.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `aio_suspend64.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `aio_read64.5' /usr/lib64/mpich/lib/libmpi.so: undefined reference to `aio_write64.5' On F25 with binutils-2.26.1-1.fc25.x86_64 this works fine. Version-Release number of selected component (if applicable): binutils-2.27-6.fc26.x86_64