Project

General

Profile

Bug #609

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

Added by Dmitry Moskalchuk about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
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 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

#1

Updated by Dmitry Moskalchuk about 6 years ago

  • Status changed from Open to In Progress
  • Assignee set to Dmitry Moskalchuk
#2

Updated by Ilya Konstantinov almost 6 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.

#3

Updated by Dmitry Moskalchuk almost 6 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).

#4

Updated by Dmitry Moskalchuk almost 6 years ago

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

Fixed in upcoming v10 release

Also available in: Atom PDF