Hi Ben,
Thanks for pointing out the test. It does compile indeed.
I did create nmf & html files for the compiled at using :
$NACL_SDK_ROOT/tools/create_nmf.py testbitmap.nexe -o testbitmap.nmf -s .
$NACL_SDK_ROOT/tools/create_html.py testbitmap.nexe
But then the binary fails to load using sel_ldr.py :
$NACL_SDK_ROOT/tools/sel_ldr.py -v testbitmap.nexe
ROOT = $NACL_SDK_ROOT
SEL_LDR = $NACL_SDK_ROOT/tools/sel_ldr_x86_64
IRT = $NACL_SDK_ROOT/tools/irt_core_x86_64.nexe
HELPER = $NACL_SDK_ROOT/tools/nacl_helper_bootstrap_x86_64
LD.SO = $NACL_SDK_ROOT/toolchain/linux_x86_glibc/x86_64-nacl/lib/runnable-ld.so
['$NACL_SDK_ROOT/tools/nacl_helper_bootstrap_x86_64', '$NACL_SDK_ROOT/tools/sel_ldr_x86_64', '--r_debug=0xXXXXXXXXXXXXXXXX', '--reserved_at_zero=0xXXXXXXXXXXXXXXXX', '-q', '-a', '-B', '$NACL_SDK_ROOT/tools/irt_core_x86_64.nexe', '$NACL_SDK_ROOT/toolchain/linux_x86_glibc/x86_64-nacl/lib/runnable-ld.so', '--library-path', '$NACL_SDK_ROOT/toolchain/linux_x86_glibc/x86_64-nacl/usr/lib:$NACL_SDK_ROOT/lib/glibc_x86_64/Release:$NACL_SDK_ROOT/toolchain/linux_x86_glibc/x86_64-nacl/lib', 'testbitmap.nexe']
[138669,
2608871296:13:25:27.149953] BYPASSING ALL ACL CHECKS
[138669,
2608871296:13:25:27.150294] Native Client module will be loaded at base address 0x000035d000000000
testbitmap.nexe: error while loading shared libraries: testbitmap.nexe: cannot open shared object file: Error 38
Adding the --library-path ./lib64 doesn't help either.
Interestingly it seems to load fine in Chrome 43 (on Linux desktop), but as I mentioned in my second mail, the main function doesn't seem to be called.
I added a fprintf(stderr, "Start!\n"); statement in the app and that doesn't appear anywhere in the page.
Also nothing's being drawn in the area of the nacl plugin.
Are you seeing the same problem?
Thanks,
-
Lionel