Command line compiled successful, but end with "JVM terminated. Exit code=1" [message #1693740] |
Tue, 28 April 2015 04:51 |
Yue Dai Messages: 1 Registered: April 2015 |
Junior Member |
|
|
I get a task to write a command script to compile a project on linux.
This project already had lots of configurations, like use "MIn GW" for windows, which should not involved(the compile path should be invalid).
So I write script like this:
eclipse --launcher.suppressErrors\
-plugincustomization ${MBEMEA_ROOT}/eclipse_custom.ini\
-nosplash\
-application org.eclipse.cdt.managedbuilder.core.headlessbuild\
-import ${MBEMEA_ROOT}/GCPSWExt/HWFW\
-data ${MBEMEA_ROOT}/bamboo\
-build MBEMEA_HWFW/${BUILD_CONFIG}\
-cleanBuild MBEMEA_HWFW/${BUILD_CONFIG} 2> errorfile | tee ${TFILE}
The whole project contain several little projects in workspace. All of them could be compiled successful, but some projects will be finished with "JVM terminated. Exit code=1". I check the result, found the project had be compiled, everything is ok except the "JVM terminated".
The strange thing is even I specify the configuration, the eclipse still parse other configurations in project and couldn't get the path. I don't know how to disable this discover behavior, and not sure is it related to the "JVM terminated".
Below is the error output:
Unable to find full path for "C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin\arm-none-linux-gnueabi-g++.exe"
Unable to find full path for "armv7l-timesys-linux-gnueabi-gcc"
Unable to find full path for "armv7l-timesys-linux-gnueabi-g++"
Unable to find full path for "C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin\arm-none-linux-gnueabi-g++.exe"
Eclipse:
No exit data available.
Eclipse:
JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-XX:ErrorFile=/home/dy/eclipse/java_error_eclipse.log
-Xms40m
-Xmx512m
-jar /home/dy/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-launcher /home/dy/eclipse/eclipse
-name Eclipse
--launcher.library /home/dy/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /home/dy/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata e40018
-product org.eclipse.epp.package.cpp.product
-debug
-plugincustomization /home/dy/project/eagle/local/Software/eclipse_custom.ini
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
-import /home/dy/project/eagle/Framework/BSP/
-data /home/dy/project/eagle/local/Software/bamboo
-build GCPSW_BSP/GCP_LINUX_POKY_DEBUG
-cleanBuild GCPSW_BSP/GCP_LINUX_POKY_DEBUG
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-XX:ErrorFile=/home/dy/eclipse/java_error_eclipse.log
-Xms40m
-Xmx512m
-jar /home/dy/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
[Updated on: Wed, 29 April 2015 02:53] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05013 seconds