Skip to content

Instantly share code, notes, and snippets.

@sebastienblanc
Created September 6, 2019 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastienblanc/3d69c3b5d7ffdeeed4dc7afd3c27b521 to your computer and use it in GitHub Desktop.
Save sebastienblanc/3d69c3b5d7ffdeeed4dc7afd3c27b521 to your computer and use it in GitHub Desktop.
Error: Error compiling query code (in /tmp/SVM-7967788261001287877/PosixDirectives.c). Compiler command gcc /tmp/SVM-7967788261001287877/PosixDirectives.c -o /tmp/SVM-7967788261001287877/PosixDirectives output included error: /tmp/SVM-7967788261001287877/PosixDirectives.c:1822:101: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGRARP’?
method com.oracle.svm.core.posix.headers.Unistd._SC_XOPEN_XCU_VERSION()
C file contents around line 1822:
/tmp/SVM-7967788261001287877/PosixDirectives.c:1821: printf("NativeCodeInfo:PosixDirectives:ConstantInfo:_SC_XOPEN_XCU_VERSION:PropertyInfo:value=%lX\n", _SC_XOPEN_XCU_VERSION);
/tmp/SVM-7967788261001287877/PosixDirectives.c:1822: printf("NativeCodeInfo:PosixDirectives:ConstantInfo:SIOCGSTAMP:PropertyInfo:size=%lu\n", sizeof(SIOCGSTAMP));
/tmp/SVM-7967788261001287877/PosixDirectives.c:1823: printf("NativeCodeInfo:PosixDirectives:ConstantInfo:SIOCGSTAMP:PropertyInfo:signedness=$%s$\n", (IS_CONST_UNSIGNED(SIOCGSTAMP)) ? "UNSIGNED" : "SIGNED");
com.oracle.svm.core.util.UserError$UserException: Error compiling query code (in /tmp/SVM-7967788261001287877/PosixDirectives.c). Compiler command gcc /tmp/SVM-7967788261001287877/PosixDirectives.c -o /tmp/SVM-7967788261001287877/PosixDirectives output included error: /tmp/SVM-7967788261001287877/PosixDirectives.c:1822:101: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGRARP’?
method com.oracle.svm.core.posix.headers.Unistd._SC_XOPEN_XCU_VERSION()
C file contents around line 1822:
/tmp/SVM-7967788261001287877/PosixDirectives.c:1821: printf("NativeCodeInfo:PosixDirectives:ConstantInfo:_SC_XOPEN_XCU_VERSION:PropertyInfo:value=%lX\n", _SC_XOPEN_XCU_VERSION);
/tmp/SVM-7967788261001287877/PosixDirectives.c:1822: printf("NativeCodeInfo:PosixDirectives:ConstantInfo:SIOCGSTAMP:PropertyInfo:size=%lu\n", sizeof(SIOCGSTAMP));
/tmp/SVM-7967788261001287877/PosixDirectives.c:1823: printf("NativeCodeInfo:PosixDirectives:ConstantInfo:SIOCGSTAMP:PropertyInfo:signedness=$%s$\n", (IS_CONST_UNSIGNED(SIOCGSTAMP)) ? "UNSIGNED" : "SIGNED");
at com.oracle.svm.core.util.UserError.abort(UserError.java:114)
at com.oracle.svm.hosted.c.NativeLibraries.reportErrors(NativeLibraries.java:196)
at com.oracle.svm.hosted.NativeImageGenerator.processNativeLibraryImports(NativeImageGenerator.java:1512)
at com.oracle.svm.hosted.NativeImageGenerator.setupNativeLibraries(NativeImageGenerator.java:993)
at com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:827)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:520)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:440)
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Error: Image build request failed with exit status 1
@omeuerodrigofreitas
Copy link

@sebastienblanc
Copy link
Author

yes thanks , I saw the announcement of 19.2.1, that's great even if in the mean time I managed to build my own graalvm version ;)

@omeuerodrigofreitas
Copy link

omeuerodrigofreitas commented Sep 16, 2019

Wow. nice, fantastic :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment