Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181210205924.GA2771@pi3.com.pl>
Date: Mon, 10 Dec 2018 21:59:24 +0100
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: ./scripts/gcc-plugins/randomize_layout_plugin.so:
 undefined symbol: _ZN8opt_pass14set_pass_paramEjb

Hi,

It looks like you have problems with gcc. Two plugins which you gcc uses has 
problems with resolving some internal functions (C++):

 - structleak_plugin.so can't resolve _ZN8opt_pass14set_pass_paramEjb
 - randomize_layout_plugin.so cam't resolve _ZN8opt_pass14set_pass_paramEjb

Because of that GCC fails to run. It is not LKRG problem.

Best regards,
Adam

On Mon, Dec 10, 2018 at 07:48:16PM +0100, bryn1u85 wrote:
> Hey guys,
> 
> During compliation im getting some error:
> 
> [root@...alhost lkrg-0.5]# make
> > make -C /lib/modules/4.19.8/build M=/root/lkrg-0.5 modules
> > make[1]: Wejście do katalogu `/usr/src/kernels/4.19.8'
> >   CC [M]  /root/lkrg-0.5/src/modules/ksyms/p_resolve_ksym.o
> > cc1: error: cannot load plugin ./scripts/gcc-plugins/structleak_plugin.so
> > ./scripts/gcc-plugins/structleak_plugin.so: undefined symbol:
> > _ZN8opt_pass14set_pass_paramEjb
> > cc1: error: cannot load plugin
> > ./scripts/gcc-plugins/latent_entropy_plugin.so
> > ./scripts/gcc-plugins/latent_entropy_plugin.so: undefined symbol:
> > _ZN8opt_pass14set_pass_paramEjb
> > cc1: error: cannot load plugin
> > ./scripts/gcc-plugins/randomize_layout_plugin.so
> > ./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol:
> > _ZN8opt_pass14set_pass_paramEjb
> > make[2]: *** [/root/lkrg-0.5/src/modules/ksyms/p_resolve_ksym.o] Błąd 1
> > make[1]: *** [_module_/root/lkrg-0.5] Błąd 2
> > make[1]: Opuszczenie katalogu `/usr/src/kernels/4.19.8'
> > make: *** [all] Błąd 2
> > [root@...alhost lkrg-0.5]#
> 
> 
> What am i doing wrong ?

-- 
pi3 (pi3ki31ny) - pi3 (at) itsec pl
http://pi3.com.pl

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.