Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33252 - [binutils] libbfd.a -fvisibility=hidden breaks swig
Attached to Project:
Arch Linux
Opened by Younes Manton (ymanton) - Monday, 31 December 2012, 08:23 GMT
Last edited by Allan McRae (Allan) - Thursday, 03 January 2013, 12:53 GMT
Opened by Younes Manton (ymanton) - Monday, 31 December 2012, 08:23 GMT
Last edited by Allan McRae (Allan) - Thursday, 03 January 2013, 12:53 GMT
|
DetailsDescription:
The libbfd.a component is built with -fvisibility=hidden, apparently making some APIs declared in bfd.h unavailable in the resulting .a file. This breaks swig, which sees these APIs in the header and generates the corresponding wrapping code, and therefore requires the symbols to be resolvable when the module is loaded. Additional info: * package version(s) * config and/or log files etc. Introduced by commit 152d9b3eecd2f7209e3504deacc78d73f69d449f Steps to reproduce: |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 03 January 2013, 12:53 GMT
Reason for closing: Fixed
Additional comments about closing: binutils-2.23.1-3 in [testing]
Thursday, 03 January 2013, 12:53 GMT
Reason for closing: Fixed
Additional comments about closing: binutils-2.23.1-3 in [testing]
For example, bfd_ecoff_get_gp_value is a function declared in bfd.h but the object file containing the definition is not included in libbfd.a.
[ymanton@novo wrappers]$ python2 testbfd.py
Traceback (most recent call last):
File "testbfd.py", line 1, in <module>
import bfd
File "/home/ymanton/Dev/wrappers/bfd.py", line 26, in <module>
_bfd = swig_import_helper()
File "/home/ymanton/Dev/wrappers/bfd.py", line 22, in swig_import_helper
_mod = imp.load_module('_bfd', fp, pathname, description)
ImportError: /home/ymanton/Dev/wrappers/_bfd.so: undefined symbol: bfd_ecoff_get_gp_value