similar to: CMake Cache PGO error

Displaying 20 results from an estimated 1000 matches similar to: "CMake Cache PGO error"

2016 Jul 12
3
Not able to use PGO with LLVM+Clang built from source
Hello, When I try to use -fprofile-instr-generate with clang (which is built from source) I am getting following error : ld: file not found: /Users/Mr.Pandya/My_Stuff/Active/llvm/build/bin/../lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation) I am not building compiler RT with LLVM. Am I missing any thing
1999 Nov 26
1
memory.profile() messes up the vector heap on Alpha/Linux?
Hello, I have been trying to debug a problem with R-0.90.0 (this bug was in 0.65.1, too). The following code results in seg faults. It doesn't seg-fault on Linux/intel. > memory.profile() > gc() As long as I don't execute memory.profile(), there is no problem with garbage collection. So I think that memory.profile() screws up the heap in some way. When it seg-faults, it dies in
2012 Sep 06
1
[LLVMdev] Cross-compiling llvm/clang osx -> win32
Hi, I'm trying to compile llvm/clang so that: it is compiled on osx 10.6, it runs on osx, but it outputs win32 objects. More exactly, I'm building an app which generates a .c file that doesn't include or link with anything, and I'd like to be able to make a win32 .dll of it on osx. Below is what I'm getting. Full log is here: http://pastebin.com/KsPGvAfW It fails while
2016 Dec 12
1
failing bootstrap: C++11 or greater is required but the compiler does not support c++11
FTR, I've disabled libcxx checkout on that particular bot <http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fuzzer> to make it green. The problem remains, of course. :( On Sun, Dec 11, 2016 at 7:23 AM, James Knight <jyknight at google.com> wrote: > On Dec 11, 2016, at 3:33 AM, Eric Fiselier via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > So it
2016 Dec 11
2
failing bootstrap: C++11 or greater is required but the compiler does not support c++11
On Dec 11, 2016, at 3:33 AM, Eric Fiselier via llvm-dev <llvm-dev at lists.llvm.org> wrote: > So it seems that libatomic went missing between build #1379 and #1380, so I don't think this is related to the -std=c++11 failure. Instead it seems likely that the compile test for -std=c++11 is failing due to mis-configuring -latomic. > > Can you confirm the bot has libatomic
2018 Jan 29
2
Using PGO and -O3
Hello all, clang-related PGO documentation recommends using PGO with -O2 (for example: https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization). The question is: is there any reason why exactly -O2 is used in examples? Are there any factors which can cause problems when using PGO with -O3? Thanks in advance for your advice! -- Best Regards, Victor Leschuk | Software Engineer
2018 Jan 29
0
Using PGO and -O3
It means using PGO with -O2 and above (including -O3). David On Sun, Jan 28, 2018 at 6:48 PM, Victor Leschuk via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hello all, > > clang-related PGO documentation recommends using PGO with -O2 (for > example: > https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization). > The question is: is there any reason why
2018 Jan 31
1
Using PGO and -O3
Maybe we should update the documentation to state this directly? Currently its a little bit confusing. On 01/29/2018 05:51 AM, Xinliang David Li wrote: > It means using PGO with -O2 and above (including -O3). > > David > > On Sun, Jan 28, 2018 at 6:48 PM, Victor Leschuk via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > >
2018 Oct 01
2
How to build LLVM linked to libc++abi?
Thanks a lot, but tried it and I get this: CMake Error at projects/libcxx/CMakeLists.txt:361 (message): LIBCXX_ENABLE_STATIC_ABI_LIBRARY is not supported on OS X Why is it not supported? If I manually embed libc++abi.a inside libc++.a it seems to work. Thanks! ardi On Mon, Oct 1, 2018 at 4:20 AM Petr Hosek <phosek at chromium.org> wrote: > > You can use
2018 Feb 26
1
Current PGO status
Hello David and all involved =) On 02/05/2018 09:38 AM, Xinliang David Li wrote: > ThinLTO also works well with PGO. Could you please let me know if there are any problems which prevent using PGO with FullLTO? Thanks in advance! -- Best Regards, Victor Leschuk | Software Engineer | Access Softek
2014 Dec 10
2
[LLVMdev] Code Owner for PGO and Branch Weights
I’d like to nominate code owners for: PGO (CodeGenPGO, ProfileData, llvm.instprof): Justin Bogner Branch Weights and BlockFrequency: Duncan Smith -Andy
2019 Mar 29
2
Minimal PGO for ORC JIT
Hi all, I need to do dynamic profiling in ORC JIT between the runs. Is it possible to re-use parts of the static pgo code in llvm for the purpose given that JIT uses llvm codegen. Or I need to write my own implementation to support profile guide optimization in JIT ? Please tell me if you want information. -- Have a great day! PreeJackie -------------- next part -------------- An HTML
2020 Apr 28
2
Android kernel PGO with LLVM
Hello, I'm working on Android kernel profile-guided optimization to figure out whether pgo can improve the performance of Android kernel. I have tried to added '-fprofile-generate' option to build Android kernel(msm-4.19). But error occurs during building: "undefined reference to '__llvm_profile_instrument_target'". I have tried to add
2014 Dec 11
2
[LLVMdev] Code Owner for PGO and Branch Weights
It'd certainly make sense to say Diego owns the sample profiling parts and I the instrumentation profiling. Either of us should be sufficient for the parts that overlap. Chandler Carruth <chandlerc at google.com> writes: > Seems fine to me. Not sure if there is part of this that you want to > explicitly call out as owned by Diego. > > On Thu, Dec 11, 2014 at 12:38 AM, Andrew
2018 Feb 05
0
Current PGO status
On Sun, Feb 4, 2018 at 9:59 PM, Victor Leschuk <vleschuk at accesssoftek.com> wrote: > Hello David! > > I have recently started acquaintance with PGO in LLVM/clang and found > your e-mail thread: > http://lists.llvm.org/pipermail/llvm-dev/2016-May/099395.html . Here you > posted a nice list of optimizations that use profiling and of those > which could be using but
2018 Feb 05
3
Current PGO status
Hello David! I have recently started acquaintance with PGO in LLVM/clang and found your e-mail thread: http://lists.llvm.org/pipermail/llvm-dev/2016-May/099395.html . Here you posted a nice list of optimizations that use profiling and of those which could be using but don't. However that thread is about 2 years old. Could you please kindly let me know if there were any significant changes in
2018 Feb 20
0
clang-cl with PGO hits linker errors
I'm attempting to build Firefox on Windows using clang-cl with -fprofile-instr-generate (*), but I'm running into some linker errors that I haven't been able to make sense of. lld-link.exe: error: duplicate symbol: __profc_?width at ios_base@std@@QEBA_JXZ in minidump-analyzer.obj and in ..\google-breakpad\src\processor\basic_code_modules.obj lld-link.exe: error: duplicate symbol:
2018 Jan 19
0
PGO in jit
Hi, Is it possible to use PGO in orc jit? I want to compile some module with instrumentation, collect statistics and then compile this module again without instrumentation using collected data, within same process. What is the proper way to do it? Thanks, Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Feb 05
0
[LLVMdev] [Help] LLVM Runtime optimization and PGO reoptimization
Dear experts, Could you please let me know where I can find more information on LLVM runtime optimization and PGO repotimization ? I found 3.5 Runtime Path Profiling & Reoptimization in the paper "LLVM: A compilation framework for lifelong program analysis and transformation". I would like to get some more detailed information and apply it to our code. I am not using llvm -
2014 May 12
3
[LLVMdev] Questions about LLVM PGO and autoFDO
Hi, all Recently I'm trying to use LLVM PGO and autoFDO. However I have some problems in the process. LLVM source code is updated on April 9th. Operating system is SUSE x86_64 1. Problems in instrumentation based PGO: clang -O2 -fprofile-instr-generate test.c -o a.out ./a.out (then default.profraw is generated) clang -O2 -fprofile-instr-use=default.profraw test.c -o a.out