Re: Build problems?

From: <tuexen_at_freebsd.org>
Date: Mon, 19 Jul 2021 12:21:32 UTC
> On 19. Jul 2021, at 13:53, luporl <luporl@freebsd.org> wrote:
> 
> 
> 
> On Sun, Jul 18, 2021 at 5:31 PM <tuexen@freebsd.org> wrote:
> Dear all,
> 
> is the current main branch working? After an installworld, cc is not working anymore
> and crashes on my power64 build.
> 
> Best regards
> Michael
> 
> Hello,
> 
> It is not, something is wrong with LLVM 12 on PowerPC64. Clang is crashing before main:
> 
> 
> Starting program: /usr/bin/cc
>  
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000011530708 in _GLOBAL__sub_I_cc1_main.cpp ()
> at /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/DenseMap.h:371
> 371 }
> (gdb) bt
> #0 0x0000000011530708 in _GLOBAL__sub_I_cc1_main.cpp ()
> at /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/DenseMap.h:371
> #1 0x00000008163266b8 in objlist_call_init (list=<optimized out>,
> lockstate=0xfffffbfffe170) at /usr/src/libexec/rtld-elf/rtld.c:2890
> #2 0x0000000816324b40 in _rtld (sp=<optimized out>, exit_proc=0x0,
> objp=<optimized out>) at /usr/src/libexec/rtld-elf/rtld.c:841
> #3 0x0000000816321af0 in _rtld_start ()
> at /usr/src/libexec/rtld-elf/powerpc64/rtld_start.S:86
Thanks for confirming.
I think CI does not hit this problem:
https://ci.freebsd.org/job/FreeBSD-main-powerpc64-build/
> 
> 
> I think no one has had time to investigate it and find out what is happening yet.
> LLVM 11 worked fine.
Yepp.

Best regards
Michael
> 
> Cheers,
> Leandro
>