On 2018-12-02 17:25, Marģers . via fpc-devel wrote:
>> ** Linux: you may also have to specify the library path to libgcc_s.
>> E.g. on Ubuntu 16.04:
>> make LOCALOPT="-dllvm -Fullvm -Fl/usr/lib/gcc/x86_64-linux-gnu/5"
>> OPT="-Fullvm -Fl/usr/lib/gcc/x86_64-linux-gnu/5" all -j 4 FPMAKEOPT="-T
>> 4"
>
> compilation does not work for me with those options. I keep getting following
> error
>
> Fatal: Cannot open whole program optimization feedback file
> "/home/blabla/src/llvm/compiler/pp1.wpo"
> Fatal: Compilation aborted
> Makefile:3912: recipe for target 'system.ppu' failed
>
> Problem is LOCALOPT. As soon it is as parameter for make, then wpo files are
> not created.
Strange. You can add NOWPOCYCLE=1 to disable the cycle with wpo.
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel