[Bug 1867173] Re: FTBFS with llvm-10

2020-04-07 Thread Ulrich Weigand
Huh, sorry. Must have been a mis-click, I just wanted to subscribe to the bug I think. I've removed the flag now. ** Information type changed from Public Security to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-07 Thread Christian Ehrhardt 
Hi Seth, I see no security aspect either. Ulrich marked it as such, maybe he can speak up. Otherwise I think this is fine to be considered a non-security issue. ** Changed in: postgresql-12 (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-06 Thread Seth Arnold
Hello, I don't quickly spot why this bug is marked security; is there a security component here that I am overlooking? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867173 Title: FTBFS

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-03 Thread Frank Heimes
** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Changed in: ubuntu-z-systems Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867173

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-03 Thread Launchpad Bug Tracker
This bug was fixed in the package llvm-toolchain-10 - 1:10.0.0-1ubuntu2 --- llvm-toolchain-10 (1:10.0.0-1ubuntu2) focal; urgency=medium * Apply D76596.diff, proposed backport from the trunk. LP: #1867173. -- Matthias Klose Thu, 02 Apr 2020 11:56:42 +0200 ** Changed in:

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-02 Thread Christian Ehrhardt 
Old version: ubuntu@s1lp05:~$ dpkg -S /usr/lib/llvm-10/bin/llvm-lto llvm-10: /usr/lib/llvm-10/bin/llvm-lto ubuntu@s1lp05:~$ dpkg -l llvm-10 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-02 Thread Matthias Klose
** Changed in: llvm-toolchain-10 (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867173 Title: FTBFS with llvm-10 To manage notifications about this bug

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-02 Thread Jonas Paulsson
I tried it, and it seems to fix this test case at least. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867173 Title: FTBFS with llvm-10 To manage notifications about this bug go to:

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-01 Thread Ulrich Weigand
It seems this was a known common-code issue that is fixed in mainline not in LLVM 10. There's already a bug to port it to 10.0.1 (PR45272) with a back ported patch https://reviews.llvm.org/D76596. Can you try whether this fixes the problem? -- You received this bug notification because you are

[Bug 1867173] Re: FTBFS with llvm-10

2020-04-01 Thread Jonas Paulsson
I think I found a bug that I would guess is causing this crash: https://bugs.llvm.org/show_bug.cgi?id=45384 ** Bug watch added: bugs.llvm.org/ #45384 https://bugs.llvm.org/show_bug.cgi?id=45384 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-31 Thread Jonas Paulsson
I tracked this down to a single commit that if reverted stops the test case from segfaulting: 2d5820c. This is a patch that improves CorrelatedValuePropagation to also handle And instructions. I am currently working on finding the exact bug - I am not yet sure if the bug is actually in that pass

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-26 Thread Christian Ehrhardt 
llvm in Focal is currently at: 10.0.0~+rc5-1ubuntu1 Which should roughly be the RC5 tag plus d21664cce1db8debe2528f36b1fbd2b8af9c9401 On [1] you can find produced binaries, also the sources if you extract the tarballs and the build logs. I think the cmake call is the following, but please have

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-25 Thread Jonas Paulsson
I tried it on trunk (9adc7fc) built with gcc, and then also built a second time with itself, but it did not show up. It would help me if I could get the right cmake line, and the git commit ID. I used: cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" -DCMAKE_BUILD_TYPE="Release"

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-25 Thread Christian Ehrhardt 
Note: running the same against llvm-9 fails (probably because the former build steps were done with llvm-10) /usr/lib/llvm-9/bin/llvm-lto -thinlto -thinlto-action=thinlink -o postgres.index.bc postgres/access/brin/brin.bc error: can't create module summary index for buffer: Invalid summary

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-25 Thread Christian Ehrhardt 
** Attachment added: "build dir with all artifacts" https://bugs.launchpad.net/ubuntu/+source/postgresql-12/+bug/1867173/+attachment/5341460/+files/postgresql-12-12.2.tar.xz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-25 Thread Christian Ehrhardt 
This is the full build directory. to reach the error in there do: $ postgresql-12-12.2/build/tmp_install/usr/lib/postgresql/12/lib/bitcode $ /usr/lib/llvm-10/bin/llvm-lto -thinlto -thinlto-action=thinlink -o postgres.index.bc postgres/access/brin/brin.bc I extracted the same on x86 and tried it

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-24 Thread Jonas Paulsson
I would be happy to help on this but not sure where to start - to run /usr/lib/llvm-10/bin/llvm-lto -thinlto -thinlto-action=thinlink -o postgres.index.bc postgres/access/brin/brin.bc , I would need the input brin.bc file, but I don't have it... -- You received this bug notification because

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-24 Thread Ulrich Weigand
** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867173 Title: FTBFS with llvm-10 To manage notifications about this bug go to:

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-13 Thread Frank Heimes
** Tags added: s390x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867173 Title: FTBFS with llvm-10 To manage notifications about this bug go to:

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-12 Thread Christian Ehrhardt 
Attaching a core dump out of gdb matching this issue. ** Attachment added: "core.41655.xz" https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-10/+bug/1867173/+attachment/5336188/+files/core.41655.xz ** Changed in: postgresql-12 (Ubuntu) Status: New => Incomplete -- You

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-12 Thread Christian Ehrhardt 
It doesn't need all the arguments and can be shortened to: /usr/lib/llvm-10/bin/llvm-lto -thinlto -thinlto-action=thinlink -o postgres.index.bc postgres/access/brin/brin.bc Stack dump: 0. Program arguments: /usr/lib/llvm-10/bin/llvm-lto -thinlto -thinlto-action=thinlink -o postgres.index.bc

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-12 Thread Christian Ehrhardt 
Log file out of the build process that fails. At the end is the command to /usr/lib/llvm-10/bin/llvm-lto that crashes #0 0x03ff7faab14a (/usr/lib/s390x-linux-gnu/libLLVM-10.so.1+0x9ab14a) Segmentation fault ** Attachment added: "s390-llvm10-pg12-crash.txt"

[Bug 1867173] Re: FTBFS with llvm-10

2020-03-12 Thread Christian Ehrhardt 
Here a backtrace in GDB, let me know if I can check anything for you there: ubuntu@s1lp05:~/postgresql-12-12.2/build/tmp_install/usr/lib/postgresql/12/lib/bitcode$ gdb /usr/lib/llvm-10/bin/llvm-ltoGNU gdb (Ubuntu 9.1-0ubuntu1) 9.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: