> --
> You received this message because you are subscribed to the Google Groups
> "Native-Client-Discuss" group.
> To post to this group, send email to native-cli...@googlegroups.com.
> To unsubscribe from this group, send email to
> native-client-di...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/native-client-discuss?hl=en.
.. maybe you took the SDL library linked with newlib toolchain and
using it with a glibc toolchain? that is not supposed to work
--
Egor Pasko
yeah, "linux_x86" contains the glibc toolchain (i.e. compiler and
libraries), the "linux_x86_newlib" contains the newlib toolchain.
Those two are generally incompatible. There are multiple differences
between those: in download size (newlib is smaller), amount of
features (glibc is more complete, easier to port existing apps), etc.
As a developer you'd need to pay attention to differences in the NaCl
manifest file for those [1].
try "x86_64-nacl-objdump -t" from toolchain to see the symbols in your
SDL library, if it contains "_impure_ptr", you can be sure, it was
linked with newlib toolchain
[1] http://www.chromium.org/nativeclient/design-documents/nacl-manifest-file-format-for-glibc
--
Egor Pasko
--
Egor Pasko