Author Topic: Linker warnings on Android  (Read 488 times)

saga

  • Posts: 2719
Linker warnings on Android
« on: 1 Jun '23 - 15:50 »
After upgrading to BASS 2.4.17 (using the latest "stuff" version), we get the following linker errors on Android aarch64:
Code: [Select]
ld: error: found local symbol '_bss_end__' in global part of symbol table in file bin/libbassmix.so
ld: error: found local symbol '__bss_start' in global part of symbol table in file bin/libbassmix.so
ld: error: found local symbol '__end__' in global part of symbol table in file bin/libbassmix.so
ld: error: found local symbol '__bss_start__' in global part of symbol table in file bin/libbassmix.so
ld: error: found local symbol '_edata' in global part of symbol table in file bin/libbassmix.so
ld: error: found local symbol '__bss_end__' in global part of symbol table in file bin/libbassmix.so
ld: error: found local symbol '_end' in global part of symbol table in file bin/libbassmix.so
From my understanding there is a way to silence these warnings and not treat them as fatal errors, so I will try to do that, but it does appear that this should be fixable by recompiling BASS (see e.g. https://stackoverflow.com/questions/55014879/local-symbol-bss-start-in-global-part-of-symbol-table-only-in-android-ndk). It's not an issue on armv7.

Ian @ un4seen

  • Administrator
  • Posts: 25866
Re: Linker warnings on Android
« Reply #1 on: 1 Jun '23 - 16:51 »
I recall this issue came up before with the BASS arm64-v8a library, and rebuilding it with a later NDK version fixed the issue:

   www.un4seen.com/forum/?topic=19757

It looks like the BASSmix release is still using an older NDK. Here's an updated build for you to try:

   www.un4seen.com/stuff/bassmix-android.zip

saga

  • Posts: 2719
Re: Linker warnings on Android
« Reply #2 on: 1 Jun '23 - 17:31 »
Thanks, it seems like this update fixes the issue indeed.