| Anonymous | Login | Signup for a new account | 2013-05-23 19:42 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0005089 | OCaml | OCaml general | public | 2010-06-28 14:49 | 2012-03-24 15:01 | |||
| Reporter | bacam | |||||||
| Assigned To | xleroy | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.12.0+beta1 or 3.12.0+rc1 | |||||||
| Target Version | Fixed in Version | 3.12.0+beta1 or 3.12.0+rc1 | ||||||
| Summary | 0005089: libbfd linking problems on Scientific Linux 5 systems | |||||||
| Description | On Scientific Linux 5.4/5.5 systems (and so probably RHEL 5 too) the linking of objinfo_helper fails due to undefined references in libbfd. Adding -liberty to the linking options makes it work, although I couldn't find any documentation saying what the right way to link older copies of libbfd is. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0005575) sergstesh (reporter) 2010-07-04 19:24 |
I confirm the bug. The culprit is this line in 'configure': 1577 echo "LIBBFD_LINK=-lbfd -ldl" >> Makefile . I've tried to build OCaml in the framework of my AppsFromScratch; I needed to change the line to become: echo "LIBBFD_LINK=-lbfd -ldl -liberty -lz" >> Makefile - please pay attention to '-lz' that was added too - without it I had undefined inflateInit_ and other symbols which are defined in 'libz'. |
|
(0005576) sergstesh (reporter) 2010-07-04 19:26 |
FWIW, the version of 'binutils' is 2.19.1 - maybe in the past 'libz' wasn't needed. |
|
(0005579) xleroy (administrator) 2010-07-06 13:24 |
Fixed as suggested. Works OK under Mandriva. Will see if it causes problems with other systems. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-06-28 14:49 | bacam | New Issue | |
| 2010-07-04 19:24 | sergstesh | Note Added: 0005575 | |
| 2010-07-04 19:26 | sergstesh | Note Added: 0005576 | |
| 2010-07-06 13:24 | xleroy | Note Added: 0005579 | |
| 2010-07-06 13:24 | xleroy | Assigned To | => xleroy |
| 2010-07-06 13:24 | xleroy | Status | new => resolved |
| 2010-07-06 13:24 | xleroy | Resolution | open => fixed |
| 2010-07-06 13:34 | xleroy | Fixed in Version | => 3.12.0+beta1 |
| 2012-03-24 15:01 | xleroy | Status | resolved => closed |
| Copyright © 2000 - 2011 MantisBT Group |