Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHsHv-YUYQ3Yx=iRX2q0qTcL8uPA_DicpvTf4j86XHSFFXGcpQ@mail.gmail.com>
Date: Wed, 17 Jul 2019 20:47:41 +0200
From: "bryn1u85 ." <m.bryn1u@...il.com>
To: lkrg-users@...ts.openwall.com, Adam Zabrocki <pi3@....com.pl>
Subject: cc1: error: incompatible gcc/plugin versions - during compilation

Hi guys,

I have got some weird issue during compilation from newest source from
bitbucket.

> [root@...ton lkrg-main]# make -j8
> make -C /lib/modules/5.1.10/build M=/root/lkrg-main modules
> make[1]: Wejście do katalogu `/usr/src/kernels/5.1.10'
>   CC [M]  /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.o
>   CC [M]  /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o
>   CC [M]  /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o
>   CC [M]  /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
>   CC [M]  /root/lkrg-main/src/modules/kmod/p_kmod.o
> make[3]: *** [/root/lkrg-main/src/modules/ksyms/p_resolve_ksym.o] Błąd 1
> make[3]: *** Oczekiwanie na niezakończone zadania....
>   CC [M]  /root/lkrg-main/src/modules/database/CPU.o
>   CC [M]  /root/lkrg-main/src/modules/database/arch/x86/p_x86_metadata.o
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
>   CC [M]
>  /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
> make[3]: *** [/root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o] Błąd
> 1
> make[3]: *** [/root/lkrg-main/src/modules/comm_channel/p_comm_channel.o]
> Błąd 1
> make[3]: ***
> [/root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o] Błąd 1
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> make[3]: *** [/root/lkrg-main/src/modules/kmod/p_kmod.o] Błąd 1
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
> make[3]: *** [/root/lkrg-main/src/modules/database/CPU.o] Błąd 1
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/stackleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/structleak_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/latent_entropy_plugin.so
> cc1: error: incompatible gcc/plugin versions
> cc1: error: incompatible gcc/plugin versions
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
> cc1: error: fail to initialize plugin
> ./scripts/gcc-plugins/randomize_layout_plugin.so
> make[3]: ***
> [/root/lkrg-main/src/modules/database/arch/x86/p_x86_metadata.o] Błąd 1
> make[3]: ***
> [/root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o]
> Błąd 1
> make[2]: *** [_module_/root/lkrg-main] Błąd 2
> make[1]: *** [sub-make] Błąd 2
> make[1]: Opuszczenie katalogu `/usr/src/kernels/5.1.10'
> make: *** [all] Błąd 2
> [root@...ton lkrg-main]#
> *[root@...ton lkrg-main]# gcc -v*
> Using built-in specs.
> COLLECT_GCC=gcc
>
> COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
> Target: x86_64-redhat-linux
> Configured with: ../configure --enable-bootstrap
> --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-8/root/usr
> --mandir=/opt/rh/devtoolset-8/root/usr/share/man
> --infodir=/opt/rh/devtoolset-8/root/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
> --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin
> --enable-initfini-array
> --with-isl=/builddir/build/BUILD/gcc-8.3.1-20190311/obj-x86_64-redhat-linux/isl-install
> --disable-libmpx --enable-gnu-indirect-function --with-tune=generic
> --with-arch_32=x86-64 --build=x86_64-redhat-linux
> Thread model: posix
> *gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) *
> [root@...ton lkrg-main]#
>
>
Before update lkrg source everything worked fine Today i just wanted to
update to the newest version and during commpilation i got issue.
Someone can help ?

Thanks !

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.