BenitoJedai / nativeclient-sdk

Automatically exported from code.google.com/p/nativeclient-sdk
0 stars 1 forks source link

nativeclient-sdk examples don't work with glibc toolchain #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Platform (e.g. "pepper_14"): pepper_15
Toolchain variant (e.g. "newlib" or "glibc"): glibc
SDK revision 1208
Chrome 15.0.874.21 dev

What steps will reproduce the problem?
1. cd examples && ./scons --variant=glibc
2. Open hello_world_c example in Chrome

What is the expected output?
Working hello_world_c example. The other examples all fail in the same way.

What do you see instead?
In Chrome's log messages:
Plugin::ReportLoadError (error='ELF executable text/rodata segment has wrong 
starting address')

I see the same error with my own app compiled with the glibc toolchain.

Original issue reported on code.google.com by lan...@gmail.com on 1 Oct 2011 at 11:13

GoogleCodeExporter commented 8 years ago
I'll take this.

For now, please see the following document for instructions on creating your 
own nmf files that will work with glibc.

http://www.chromium.org/nativeclient/design-documents/nacl-manifest-file-format-
for-glibc 

Original comment by mball@google.com on 7 Oct 2011 at 1:40

GoogleCodeExporter commented 8 years ago
This is also being tracked in the NaCl issue tracker here:

http://code.google.com/p/nativeclient/issues/detail?id=2299

Original comment by mball@google.com on 10 Oct 2011 at 5:25

GoogleCodeExporter commented 8 years ago

Original comment by dsprin...@google.com on 28 Oct 2011 at 3:01

GoogleCodeExporter commented 8 years ago
Committed as SDK r1307

Original comment by mball@google.com on 31 Oct 2011 at 7:03