Re: LLVM exit code 139 building git master on Xubuntu 22.04

2023-10-20 Thread Eike Rathke
Hi David,

On Thursday, 2023-10-19 19:35:37 +0100, David Gerard wrote:

> So rather than file a bug and wait, I first tried a newer version of
> clang, and clang-15 worked. Hooray!

Smells somewhat like one of these
https://github.com/llvm/llvm-project/issues/62362
https://github.com/llvm/llvm-project/issues/55567
https://github.com/llvm/llvm-project/issues/57142

  Eike

-- 
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A


signature.asc
Description: PGP signature


Re: LLVM exit code 139 building git master on Xubuntu 22.04

2023-10-19 Thread David Gerard
On Thu, 19 Oct 2023 at 07:26, Stephan Bergmann  wrote:
> On 10/18/23 23:08, David Gerard wrote:

> > I just tried again from a completely fresh git clone, and it's still
> > happening. Any ideas? Is there anything in the new C++20 conf that's
> > too new for llvm 14.0.0 Ubuntu version?

> Smells like a bug in that particular version of Clang.  I'd follow the
> printed instructions to report it, either directly upstream at LLVM or
> (presumably better) at Ubuntu first.


So rather than file a bug and wait, I first tried a newer version of
clang, and clang-15 worked. Hooray!

Here's what I did:

# Become root

sudo -s

# install clang-15

apt remove llvm-14 clang-14 libclang-cpp14 libclang1-14
apt autoremove
apt install clang-15 llvm-15 libclang-cpp15 libclang1-15

# put its binaries in the path - no, there doesn't seem to be a more elegant way

cd /usr/lib/llvm-15/bin
for f in *; do rm -f /usr/bin/$f; ln -s ../lib/llvm-15/bin/$f /usr/bin/$f; done

and then get out of root and ./autogen.sh


- d.


Re: LLVM exit code 139 building git master on Xubuntu 22.04

2023-10-19 Thread Stephan Bergmann

On 10/18/23 23:08, David Gerard wrote:

I just tried again from a completely fresh git clone, and it's still
happening. Any ideas? Is there anything in the new C++20 conf that's
too new for llvm 14.0.0 Ubuntu version?


Smells like a bug in that particular version of Clang.  I'd follow the 
printed instructions to report it, either directly upstream at LLVM or 
(presumably better) at Ubuntu first.




Re: LLVM exit code 139 building git master on Xubuntu 22.04

2023-10-18 Thread David Gerard
On Tue, 17 Oct 2023 at 21:33, David Gerard  wrote:

> I pulled from git master today to build LO and got LLVM exit code 139
> - an error code I can't find the meaning of, but it's apparently an
> internal error.

I just tried again from a completely fresh git clone, and it's still
happening. Any ideas? Is there anything in the new C++20 conf that's
too new for llvm 14.0.0 Ubuntu version?


- d.