Dear group members:I'm studying the native client source code for my research project. I find that IRT is loaded into dynamic text region. Is there any reason IRT.nexe needs to be backed by shared memory? Can I load IRT.nexe into static text region? In my use case, I only supports static linking and don't need to support JIT.
Yes, I can mmap() files with MAP_PRIVATE.I'm interested in using NaCl without irt. As a off browser environment, I don't need to support PPAPI and imc calls. But I do need support for pthread. Is that a possible option?
Hi Mark,After building some application successfully with libnacl_sys_private and libpthread_private, I encounter one application which gives out signal 4 immediately at startup. I trace through the program execution. It fails at __libnacl_fatal. I think it fails in libnacl_irt_init which calls the __libnacl_mandatory_irt_query. As I don't have irt loaded in, the __nacl_irt_query is NULL which calls the __libnacl_fatal. It's quiet strange that their behavior are different. Is there anything I forget to do?
We figure out a solution. The problem we have is on c++ application built with clang-newlib toolchain. We find that we need to put c++ before libnacl_sys_private in the link order. Not sure why but we find that after multiple trials.
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.