Re: PNaCl availability?

340 views
Skip to first unread message

Andrew Zitnay

unread,
Jan 19, 2013, 8:37:51 AM1/19/13
to native-cli...@googlegroups.com
Anyone out there?

On Monday, January 7, 2013 2:24:26 PM UTC-5, Andrew Zitnay wrote:
I'm pretty new to NaCl, but I've had no problems getting Chrome to run .nexe files.

I've started to look into PNaCl, because the idea of having a single binary rather than three is very desirable.  However, I have yet to successfully get any version of Chrome to run a .pexe file directly.

So, I'm assuming Chrome simply doesn't support this yet.  If I'm correct, does anyone have a guess as to when it will be supported?

If I'm incorrect, can someone point me to a working example of loading a .pexe file directly?

Fernando Carvalho

unread,
Jan 19, 2013, 10:29:28 AM1/19/13
to native-cli...@googlegroups.com
I haven't tried PNaCl yet, but I think that in order to run it, you
need to enable in chrome://flags/ Portable Native Client support.
Then you will be able to run it directly embed in a web page.
It seems to me that, for a reason that I don't know, Native Client
team, doesn't like to give hope about when their up coming features.
In my opinion, I would guess that in March or April release of Chrome,
we will get PNaCl enabled.
I'm, also, very eager to know when it will be available.
Hope to get it soon.
> --
> You received this message because you are subscribed to the Google Groups
> "Native-Client-Discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/native-client-discuss/-/qSG9UfLC5TUJ.
>
> 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.



--
Fernando

Andrew Zitnay

unread,
Jan 19, 2013, 11:47:48 AM1/19/13
to native-cli...@googlegroups.com
Thanks...  I've enabled the flag, but I've tried pretty much everything 
I can think of to get Chrome 26 (dev channel) to load the .pexe file 
directly, with no luck.

If I use pnacl-translate to convert the .pexe to .nexe files manually, 
the .nexe files load just fine.

Have you actually gotten this flag to work properly?
> native-client-discuss+unsub...@googlegroups.com.

Andrew Zitnay

unread,
Jan 19, 2013, 11:48:20 AM1/19/13
to native-cli...@googlegroups.com
I see now that you said you haven't tried it yet.

I'd be curious if anyone's gotten it working.

Bennet Yee (余仕斌)

unread,
Jan 19, 2013, 12:32:00 PM1/19/13
to Native Client Discuss

I'm not sure if the PNaCl translator binaries are shipped with chrome. Chrome won't be able to use the version that is in the SDK, I don't think. You might have to build chromium from sources-- possibly changing the build config-- in order to try it. NB: I've never tried this either.

plz xqz tpos, rplyng by fone


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.

Andrew Zitnay

unread,
Jan 19, 2013, 1:07:24 PM1/19/13
to native-cli...@googlegroups.com
That certainly sounds plausible...  I'm really only interested in PNaCl once it's usable by default from Chrome, so I probably won't go through all that.
> For more options, visit this group at
> http://groups.google.com/group/native-client-discuss?hl=en.



--
Fernando

Christian Stefansen

unread,
Jan 19, 2013, 1:29:56 PM1/19/13
to native-cli...@googlegroups.com
Hi Andrew,

Yes, you're right: Chrome does not support PNaCl yet. To be specific, it does not yet ship with the .pexe (LLVM bitcode) to native code translator. Here is the relavant snippet from the release notes (https://developers.google.com/native-client/dev/sdk/release-notes#pepper_24):

Chrome doesn't yet support .pexe files directly, but if you want to experiment with this early preview of PNaCl, the toolchain includes a tool to translate .pexe files into architecture-specific .nexe files. Take a look at the hello_world example to see how to build a .pexe file and translate it into multiple .nexe files. Note that PNaCl is currently restricted to the newlib C standard library – if your application uses glibc, you can't build it with PNaCl.

HTH,
Christian



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.



--
Christian Stefansen

Andrew Zitnay

unread,
Jan 19, 2013, 1:59:18 PM1/19/13
to native-cli...@googlegroups.com
Thanks for the official word...  I don't suppose you have any estimate for when Chrome might support .pexe files directly?
> For more options, visit this group at
> http://groups.google.com/group/native-client-discuss?hl=en.



--
Fernando

--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/native-client-discuss/-/XAMZKfzrk4EJ.

To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-discuss+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.



--
Christian Stefansen

Christian Stefansen

unread,
Jan 19, 2013, 2:01:12 PM1/19/13
to native-cli...@googlegroups.com
Hi Andrew,

The official estimate on PNaCl availability in Chrome is "in 2013". We'll let you (i.e., this group and native-client-announce) know when we have something more specific.

Best,
Christian



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.



--
Christian Stefansen
Reply all
Reply to author
Forward
0 new messages