lburgazzoli commented on issue #537: Upgrade to Quarkus 1.1.0.CR1 and fix 
various upgrade issues
URL: https://github.com/apache/camel-quarkus/pull/537#issuecomment-564168701
 
 
   ```
   mvn clean install -Dnative -rf :camel-quarkus-integration-test-bean
   ```
   
   Fails with:
   
   ```
   Fatal error: java.lang.RuntimeException: java.lang.RuntimeException: host C 
compiler or linker does not seem to work: java.lang.RuntimeException: returned 1
   
   Running command: cc -v -o 
/project/camel-quarkus-integration-test-bean-1.0.0-SNAPSHOT-runner -z 
noexecstack -Wl,--gc-sections -Wl,--dynamic-list 
-Wl,/tmp/SVM-7870806881164755349/exported_symbols.list -Wl,-x 
-L/tmp/SVM-7870806881164755349 -L/opt/graalvm/jre/lib 
-L/opt/graalvm/jre/lib/svm/clibraries/linux-amd64 
/tmp/SVM-7870806881164755349/camel-quarkus-integration-test-bean-1.0.0-SNAPSHOT-runner.o
 /opt/graalvm/jre/lib/svm/clibraries/linux-amd64/libffi.a 
/opt/graalvm/jre/lib/svm/clibraries/linux-amd64/liblibchelper.a 
/opt/graalvm/jre/lib/svm/clibraries/linux-amd64/libjvm.a 
/opt/graalvm/jre/lib/svm/clibraries/linux-amd64/libstrictmath.a 
/opt/graalvm/jre/lib/libzip.a /opt/graalvm/jre/lib/libnet.a 
/opt/graalvm/jre/lib/libjava.a /opt/graalvm/jre/lib/libnio.a 
/opt/graalvm/jre/lib/libsunec.a /opt/graalvm/jre/lib/libsunec.a -lm -lpthread 
-ldl -lpthread -lz -lrt -lstdc++
   
   Using built-in specs.
   COLLECT_GCC=cc
   COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
   OFFLOAD_TARGET_NAMES=nvptx-none
   OFFLOAD_TARGET_DEFAULT=1
   Target: x86_64-redhat-linux
   Configured with: ../configure --enable-bootstrap 
--enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-shared --enable-threads=posix --enable-checking=release 
--enable-multilib --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-linker-build-id --with-gcc-major-version-only 
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl 
--disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver 
--enable-gnu-indirect-function --enable-cet --with-tune=generic 
--with-arch_32=x86-64 --build=x86_64-redhat-linux
   Thread model: posix
   gcc version 8.3.1 20190507 (Red Hat 8.3.1-4) (GCC) 
   
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/
   
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/
   COLLECT_GCC_OPTIONS='-v' '-o' 
'/project/camel-quarkus-integration-test-bean-1.0.0-SNAPSHOT-runner' '-z' 
'noexecstack' '-L/tmp/SVM-7870806881164755349' '-L/opt/graalvm/jre/lib' 
'-L/opt/graalvm/jre/lib/svm/clibraries/linux-amd64' '-mtune=generic' 
'-march=x86-64'
    /usr/libexec/gcc/x86_64-redhat-linux/8/collect2 -plugin 
/usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so 
-plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper 
-plugin-opt=-fresolution=/tmp/ccJfrNDn.res -plugin-opt=-pass-through=-lgcc 
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc 
-plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id 
--no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker 
/lib64/ld-linux-x86-64.so.2 -o 
/project/camel-quarkus-integration-test-bean-1.0.0-SNAPSHOT-runner -z 
noexecstack /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o 
/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o 
/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o -L/tmp/SVM-7870806881164755349 
-L/opt/graalvm/jre/lib -L/opt/graalvm/jre/lib/svm/clibraries/linux-amd64 
-L/usr/lib/gcc/x86_64-redhat-linux/8 
-L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 
-L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. --gc-sections 
--dynamic-list /tmp/SVM-7870806881164755349/exported_symbols.list -x 
/tmp/SVM-7870806881164755349/camel-quarkus-integration-test-bean-1.0.0-SNAPSHOT-runner.o
 /opt/graalvm/jre/lib/svm/clibraries/linux-amd64/libffi.a 
/opt/graalvm/jre/lib/svm/clibraries/linux-amd64/liblibchelper.a 
/opt/graalvm/jre/lib/svm/clibraries/linux-amd64/libjvm.a 
/opt/graalvm/jre/lib/svm/clibraries/linux-amd64/libstrictmath.a 
/opt/graalvm/jre/lib/libzip.a /opt/graalvm/jre/lib/libnet.a 
/opt/graalvm/jre/lib/libjava.a /opt/graalvm/jre/lib/libnio.a 
/opt/graalvm/jre/lib/libsunec.a /opt/graalvm/jre/lib/libsunec.a -lm -lpthread 
-ldl -lpthread -lz -lrt -lstdc++ -lgcc --as-needed -lgcc_s --no-as-needed -lc 
-lgcc --as-needed -lgcc_s --no-as-needed 
/usr/lib/gcc/x86_64-redhat-linux/8/crtend.o 
/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o
   /opt/graalvm/jre/lib/libjava.a(Proxy.o): In function 
`Java_java_lang_reflect_Proxy_defineClass0':
   
/opt/jprt/T/P1/225159.buildslave/s/jdk/src/share/native/java/lang/reflect/Proxy.c:97:
 undefined reference to `VerifyFixClassname'
   
/opt/jprt/T/P1/225159.buildslave/s/jdk/src/share/native/java/lang/reflect/Proxy.c:97:
 undefined reference to `VerifyFixClassname'
   collect2: error: ld returned 1 exit status
   
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at 
java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
        at java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)
        at 
com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:462)
        at 
com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:315)
        at 
com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:454)
        at 
com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:115)
   Caused by: java.lang.RuntimeException: host C compiler or linker does not 
seem to work: java.lang.RuntimeException: returned 1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to