[haiku-development] Gnash port to haiku - libsupc++ issues

  • From: Chirayu Desai <chirayudesai1@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 15 Dec 2014 17:54:13 +0000

Hello everyone,

I'm a participant of Google Code-In 2014, and am currently work on the task
[0].
I was able to get it built, but I'm unable to get it to load.

Output:
> LIBRARY_PATH=$LIBRARY_PATH:/boot/system/lib/x86/gnash gnash
runtime_loader: /boot/system/lib/x86/libavcodec.so.54.23.100: Failed to get
gcc version.
runtime_loader: /boot/system/lib/x86/libavformat.so.54.6.100: Failed to get
gcc version.
runtime_loader: /boot/system/lib/x86/libavutil.so.51.54.100: Failed to get
gcc version.
runtime_loader: /boot/system/lib/x86/libswscale.so.2.1.100: Failed to get
gcc version.
runtime_loader: /boot/system/lib/x86/libsupc++.so: Could not resolve symbol
'___tls_get_addr'
resolve symbol "___tls_get_addr" returned: -2147478780
runtime_loader: /boot/system/lib/x86/libsupc++.so: Troubles relocating:
Symbol not found


I poked around a bit with help of my mentors, and one thing I noticed was
libsupc++.so did not have any 'NEEDED' entries in the dynamic section, and
libroot.so provides the missing symbol (and is present in the NEEDED
section alongwith the other necessary libraries in other libraries, and
generally on other systems too, libc.so is indeed present from what I've
seen, which is what confused me more)

I would love some help to get thi working.

A prebuilt package is available for testing at [1] (sha256sum
ea8c46bb5c512b9f7f93d8159e0fe179f0c027c026aed0d19e7a16246c548f3)
The recipe is available at [2]:

[0]:
http://www.google-melange.com/gci/task/view/google/gci2014/5796360523612160
[1]: http://cdesai.in/dl/haiku/gnash_x86-0.8.10-2-x86_gcc2.hpkg
[2]:
https://bitbucket.org/haikuports/haikuports/pull-request/321/wip-do-not-merge-gnash

Thanks!

Other related posts:

  • » [haiku-development] Gnash port to haiku - libsupc++ issues - Chirayu Desai