Project

General

Profile

Actions

Bug #609

closed

dlopen failed: cannot locate symbol "__swsetup" referenced by "libUnrealEngine3.so"...

Added by Dmitry M. over 10 years ago. Updated about 10 years ago.

Status:
Completed
Priority:
Normal
Assignee:
Category:
libcrystax
Target version:
Start date:
08/19/2014
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
android-L
CrystaX NDK Version:

Description

"Here":https://answers.unrealengine.com/questions/85750/game-crash-on-android-l-firmware-problems-with-lib.html is original report

This happens because Bionic doesn't contain function __swsetup in Android L anymore:

$ nm /opt/android/android-ndk-r9d/platforms/android-19/arch-arm/usr/lib/libc.so | grep __swsetup | wc -l
1
$ nm /opt/android/android-ndk-r9d/platforms/android-19/arch-arm/usr/lib/libc.so | grep __swsetup
000095a4 T __swsetup
$ nm /opt/android/android-ndk-r10/platforms/android-L/arch-arm/usr/lib/libc.so | grep __swsetup | wc -l
0
$ nm /opt/android/android-ndk-r10/platforms/android-L/arch-arm/usr/lib/libc.so | grep __swsetup

libcrystax should be fixed appropriately

Actions #1

Updated by Dmitry M. over 10 years ago

  • Status changed from Open to In Progress
  • Assignee set to Dmitry M.
Actions #2

Updated by Ilya K. about 10 years ago

A lot of the stdio code has to be changed, now that they're:
a) hiding OpenBSD stdio internals
b) considering hiding and modifying struct FILE on LP64

See:
a) https://android-review.googlesource.com/#/c/110662/
b) https://github.com/android/platform_bionic/commit/f2cea021ab2c6d7d7feeb40cca098aa132605876
etc.

Actions #3

Updated by Dmitry M. about 10 years ago

Ilya Konstantinov wrote:

A lot of the stdio code has to be changed, now that they're:
a) hiding OpenBSD stdio internals
b) considering hiding and modifying struct FILE on LP64

Thank you for pointing to that. We already figured out it and in upcoming release we provide fully independent stdio implementation in libcrystax, which require just very basic support from Bionic (such as write(), read() etc).

Actions #4

Updated by Dmitry M. about 10 years ago

  • Status changed from In Progress to Completed
  • % Done changed from 0 to 100

Fixed in upcoming v10 release

Actions

Also available in: Atom PDF