[fpc-devel] LLVM code generator
Jonas Maebe
jonas at freepascal.org
Mon Dec 3 18:18:56 CET 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181203/6b705c70/attachment.html>
More information about the fpc-devel
mailing list