This is still an issue for me. I can build the pnacl binaries but the newlib and glibc builds will hang. I've tried this on two Windows machines here at work and I get the same result. I've tried it outside my work network and it builds fine - could it be something with our network (??).
Also I've tried with a Linux box, no problems.
I'm trying to do a proof of concept of this technology and right now I don't have much to report to my bosses. Any help or ideas on things to try or how to debug this would be greatly appreciated.
Thanks,
On Wednesday, October 16, 2013 9:31:24 AM UTC-4, Don Winters wrote:
I have a Windows 7, 64 bit machine and I am trying to build the examples from the SDK. It should be straightforward but it seems the compiler just hangs. The output in my console window is as follows
c:\nacl_sdk\pepper_30\examples> make
c:/nacl_sdk/pepper_30/tools/make -C api all
make[1]: Entering directory 'c:/nacl_sdk/pepper_30/examples/api'
c:/nacl_sdk/pepper_30/tools/make -C audio all
make[2]: Entering directory 'c:/nacl_sdk/pepper_30/examples/api/audio'
CXX newlib/Debug/audio_x86_32.o
In task manager, i686-nacl-g++.exe just sits there using 0 CPU time but totally hung. I can't even kill it.
Am I missing something? Any ideas, suggestions as to how to get around this or what could possibly be going on?
Thanks
--
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 http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
Also, one workaround for me would be to just use the pnacl builds, but they don't seem to load in Chrome - I turned on the flag for pnacl support but still no joy. Is there a way to get the pnacl build to work in the Chrome browser?
This is actually not true. PNaCl is built in the same cygwin sandbox that the x86 nacl-gcc is (arm-nacl-gcc is built with MinGW).
----
khim, sorry, I missed this post - yes I can call "x86_64-nacl-gcc --help" from inside libexec. That works fine
The dump is about 14 Mb - too large to attach. How can I get it to you? Below is the relevant stack trace
There are other process, in Process Explorer is looks like the following are in the cmd shell
Process cmd.exe(4808)
Process make.exe(2356)
Process make.exe(5544)
Process make.exe(4964)
Process cmd.exe(6688)
Process i686-nacl-g++.exe(4348)
Process x86_64-nacl-g++.exe(2696)
Process i686-nacl-g++.exe(1528)
Process x86_64-nacl-g++.exe(2332)
but there is also a x86_64-nacl-as.exe running somewhere and resource monitor says it and PID 2332 (x86_64-nacl-g++.exe) are suspended. I don't see cc1.exe.
I've attached a debug dump zip file, I hope it helps.
Andrey,
I've got to run today, but I ran make -j1 (I believe that was the request) and I am looking at it with Process Explorer, Resource Monitor and Task Manager. The list from my previous post was from Process Explorer so there is nothing new to report there (maybe I am not using it right). But Resource Montitor is reporting that x86_64-nacl-as.exe is suspended. I don't know if that is helpful - I will look into this more tomorrow.
I guess it is a worst case scenario, item 2 is where it hangs.
Just to be clear, I created the dump using Visual Studio - attaching to the process and then dumping. I don't know if that has anything to do with the process being started in the debugger.
Well not everything hangs in that folder, but most do. c++.exe and g++.exe did not hang, everything else did.
I copied the files per your instructions below, I don't think I missed anything. There was some success.
It builds the 32 bit newlib nexe file for the audio sample (audio_x86_32.nexe) but it still hangs when it tries to build the 64 bit version.
Sorry, is this what you need? It is showing up as as.exe.
BTW, I have trouble getting gmail at work.
Also, it seems to me you need to be able to reproduce this to fix it. Is there any chance you guys could send us a laptop that our IT guys could image and we would send it back to you.
--
You received this message because you are subscribed to a topic in the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/native-client-discuss/BS98ol5ouKY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to native-client-di...@googlegroups.com.