Re: [lldb-dev] Issue with ThinLTO and gcc-9 [was: Re: [Release-testers] [9.0.0 Release] Release Candidate 3 is here]
On Mon, Sep 9, 2019 at 5:37 PM Sylvestre Ledru wrote: > > Hello, > > Le 30/08/2019 à 18:38, Hans Wennborg via Release-testers a écrit : > > Hello everyone, > > > > 9.0.0-rc3 was tagged today from the release_90 branch at r370450. In > > the Git monorepo, it's tagged as llvmorg-9.0.0-rc3. > I experienced an issue with lto. Initially not clang related but might be. > > For a few months, I have been building packages using ThinLTO ( > -DLLVM_ENABLE_LTO="Thin" ) and stage2. gcc for stage1. > > Debian unstable and the next Ubuntu updated to gcc-9. This version is stricter > on -flto (only accept understood values ([1]). > It caused the build to fail on polly with "No ffs implementation found" > (which is just > cmake failing with -flto=thin) [2] > This clearly makes sense. > So, I tried to use -DBOOTSTRAP_LLVM_ENABLE_LTO="Thin" to have only -flto=Thin > used in the stage2. > > However, this caused two issues: > * Some packages became much bigger (21M => 141M) > * Linking failed for some packages with: > /usr/bin/ld: /usr/lib/llvm-9/lib/libclangCodeGen.a: error adding symbols: > archive has no index; run ranlib to > one [3] > > I tried to play with clang cmake file [4] but I haven't been able to fix it. > > For now, I am forcing the usage of gcc-8 but this won't scale. > > Anyway, probably not a blocker for the 9 release but I prefer to report this > in case other are getting this issue. Thanks for raising it. I've never used our cmake files to bootstrap directly. Does it work if you do the steps manually: first invoke cmake and do a regular build with gcc 9, then invoke cmake separately for the second build, setting the flags to use the clang and lld from the first step, with thinlto? ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
[lldb-dev] [9.0.0 Release] Release Candidate 4 is here
Hello again, 9.0.0-rc4 was just tagged from the release_90 branch at r371490. In the Git monorepo, it's tagged as llvmorg-9.0.0-rc4. Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc4 Binaries will be added as they become available. There are not a lot of changes from rc3 to rc4, and there are again no open release blockers, so I'm hoping this will be the last release candidate and that we can tag the final release soon. Please file bug reports for any issues you find, marking them blocking of https://llvm.org/PR42474 Release testers, please run the test script, share your results, and upload binaries. Thanks, Hans ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Re: [lldb-dev] [9.0.0 Release] Release Candidate 4 is here
On Tue, Sep 10, 2019 at 12:26 PM Hans Wennborg wrote: > > Hello again, > > 9.0.0-rc4 was just tagged from the release_90 branch at r371490. In > the Git monorepo, it's tagged as llvmorg-9.0.0-rc4. > > Source code and docs are available at > https://prereleases.llvm.org/9.0.0/#rc4 Binaries will be added as they > become available. > > There are not a lot of changes from rc3 to rc4, and there are again no > open release blockers, so I'm hoping this will be the last release > candidate and that we can tag the final release soon. > > Please file bug reports for any issues you find, marking them blocking > of https://llvm.org/PR42474 > > Release testers, please run the test script, share your results, and > upload binaries. Windows is ready: $ sha256sum *9.0.0-rc4*.exe 3fbe759ff5fd0a6391ee2d02311b4a88dc025106a9477fa7f6d75c3f462a64b8 LLVM-9.0.0-rc4-win32.exe d3ce788ce0a006b129b86723a97d1608214ab0fc61df901f202017efca0d4c79 LLVM-9.0.0-rc4-win64.exe They were built with the attached batch file. build_llvm_900-rc4._bat_ Description: Binary data ___ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev