Did you port the audioserver to 64 bit by now?
Do you know what dependency is stopping the audioserver to run with 64 bit?

Am Freitag, 25. Januar 2019 16:55:14 UTC+1 schrieb Glenn Kasten:
>
> As of now, the AOSP release of Android does not yet officially support 
> 64-bit audioserver.
> We are considering adding 64-bit option for audioserver in a future 
> release,
> but I can't give you a schedule of when that might happen.
> Even then, it may be limited to platforms that are capable of supporting it
> (for example due to dependencies on various libraries etc.).
>
> On Wednesday, January 23, 2019 at 6:14:25 PM UTC-8, Andrew Chen wrote:
>>
>> I want to build audioserver(/frameworks/av/media/audioserver) to 64-bit, 
>> and refer to the instructions in Android.mk 
>> (/frameworks/av/media/audioserver/Android.mk)
>>
>>
>> I add AUDIOSERVER_MULTILIB :=64 in device.mk, but it can't startup,  
>> check the log and find the following error. 
>>
>> 01-20 09:44:31.637 2581 2581 F linker : CANNOT LINK EXECUTABLE 
>> "/system/bin/audioserver": unsupported ELF TLS DT entry in 
>> "/system/lib64/libaudioflinger.so"
>>
>>
>> Also, use FILE command to check if it's 64 bit:
>>
>>
>> #audioserver
>>
>> console:/system/bin # file audioserver audioserver: ELF shared object, 
>> 64-bit LSB arm64, dynamic (/system/bin/linker64), for Android 28, 
>> BuildID=01599, stripped
>>
>>
>> #.so
>>
>> console:/system/lib64 # file libaudioflinger.so libaudioflinger.so: ELF 
>> shared object, 64-bit LSB arm64, for Android 28, BuildID=fd41f, stripped
>>
>>
>> in /frameworks/av/media/audioserver/Android.mk
>>
>> # If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to 
>> control# the LOCAL_MULTILIB for all audioserver exclusive libraries.# This 
>> is relevant for 64 bit architectures where either or both# 32 and 64 bit 
>> libraries may be built.## AUDIOSERVER_MULTILIB may be set as follows:#   32  
>>     to build 32 bit audioserver libraries and 32 bit audioserver.#   64      
>> to build 64 bit audioserver libraries and 64 bit audioserver.#   both    to 
>> build both 32 bit and 64 bit libraries,#           and use primary target 
>> architecture (32 or 64) for audioserver.#   first   to build libraries and 
>> audioserver for the primary target architecture only.#   <empty> to build 
>> both 32 and 64 bit libraries and 32 bit audioserver.
>>
>>
>> it should be work normally when specifying AUDIOSERVER_MULTILIB := 64
>>
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/cf715291-8e80-48c8-8d65-983561222f69%40googlegroups.com.

Reply via email to