Re: Build problems?

luporl <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <CAC7XEcKe9KedjFrN3P+=rDwTzMdiLmNLnmyrkfqHxWhqWwtn8g@mail.gmail.com>
On Sun, Jul 18, 2021 at 5:31 PM <[email protected]> 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


I think no one has had time to investigate it and find out what is
happening yet.
LLVM 11 worked fine.

Cheers,
Leandro
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.