How do I avioid a plugin to be loaded in lto1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm making a plugin and I'm trying to compile a file in this way:

gcc -o myprog -fplugin=./myPlugin.so -flto andres.c

and I'm having the following issue:

lto1: error: cannot load plugin: .../myPlugin.so
.../myPlugin.so: undefined symbol: parse_in
lto-wrapper: /home/andres/Escritorio/gcc-4.9.2/install/bin/gcc
returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status


I'd like to know if there's some way to avoid lto1 trying to load my plugin.

Regards,
Andrés.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux