On Monday, April 22, 2013 12:22:18 AM UTC-7, Bo Zhou wrote:

> Hi folks,
>
> I'm dealing with a strange problem about RenderScript. I made several 
> simple RenderScript module for computation, and all of them could be 
> executed on emulator and rooted device except unrooted 4.2 device, a mobile 
> phone, the LogCat showed the following info (modified),
>
> "Adreno200-EGL|Reconstruction Branch:"
>> "RenderScript|rsContextCreate dev=0x67994f38"
>> "RenderScript|0x6798e078 Launching threads, CPU(2)"
>> "ScriptC|Create script for resource = rgbtoyuv"
>> "bcc|CPU is krait2"
>> "*bcc|Unable to open 
>> /data/data/com.example.rgbtoyuv/cache/com.example.rgbtoyuv/rgbtoyuv.o in 
>> read mode. (reason: No such file or directory)*"
>>
> This cache directory looks peculiar to me, since the part after /cache/ 
should be "com.android.renderscript.cache" and not your 
"com.example.rgbtoyuv" again.

> "RenderScript|ScriptC sym lookup failed"
>>
>
This indicates that it couldn't find a function that you called. Did you 
declare something extern and not define it in your .rs file? It is also 
possible that this unrooted device has bugs where it is missing a core 
component of the Renderscript runtime/math libraries. Without knowing what 
device this is and seeing your actual .rs code, it is going to be hard for 
me to give you any extra information. I can tell you for a fact that 
"rooting" does nothing different for Renderscript, so that is purely a red 
herring in this case.

Steve

"bcc|Unable to compile"
>> "bcc LLVM error message: Failed to load emitted ELF relocatable file"
>
>
> Why the bcc said it could not load the .o file in unrooted device ? And I 
> also tested the program on a real rooted Nexus 7 it works fine, so is there 
> anyway we can solve this problem ? Thanks a lot ! 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to