Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284518 - sci-libs/hdf5-1.8.3: forced as-needed breaks libhdf5_hl.so
Summary: sci-libs/hdf5-1.8.3: forced as-needed breaks libhdf5_hl.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 17:58 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2009-09-11 02:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
test file (test.c,115 bytes, text/plain)
2009-09-10 17:59 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details
fixing hdf5-1.8.3-as-needed.patch (hdf5-1.8.3-as-needed.diff,755 bytes, patch)
2009-09-10 17:59 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-10 17:58:22 UTC
libhdf5_hl is build without dependency on libhdf5.la. As a result simple test program fails to compile.

Step to reproduce:
1. compile attached test.c with 'gcc -o test -Wl,--as-needed test.c -lhdf5_hl -lhdf5 -lm -lz'
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-10 17:59:00 UTC
Created attachment 203696 [details]
test file
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-10 17:59:34 UTC
Created attachment 203698 [details, diff]
fixing hdf5-1.8.3-as-needed.patch
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-11 02:30:14 UTC
fixed. Thanks!