Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2021 21:00:41 +0200
From:      tuexen@freebsd.org
To:        Julio Merino <julio@meroh.net>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Segfaults everywhere on stable/13 after recent upgrade
Message-ID:  <F78E4735-FE2F-4FBD-AD4A-F92B14DBD792@freebsd.org>
In-Reply-To: <CADyfeQWJg7=-8OVU-icCjmbwHtat8cPBEqqCERpZU6v_wukv8w@mail.gmail.com>
References:  <CADyfeQWJg7=-8OVU-icCjmbwHtat8cPBEqqCERpZU6v_wukv8w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 15. Aug 2021, at 20:28, Julio Merino <julio@meroh.net> wrote:
> 
> Hi all,
> 
> I have a G5 running stable/13. A couple of weeks ago, I did the regular
> fetch, rebuild world, and reinstall... and almost all new userland binaries
> started crashing.I thought the crashes would be due to a kernel/userland
> incompatibility, but after rebooting with the new kernel, the problem
> persisted.
> 
> It took me some effort to recover the machine into a usable state. I had to
> revert the source tree to right before clang was updated to 12.0.1 on June
> 13th, as I think this is the problematic change, and rebuild + reinstall
> from there.
> 
> I just updated the tree again to the most recent stable/13, done another
> buildworld, and I have confirmed that most binaries are still broken in the
> same way:
> 
> root@g5:/usr/obj/usr/src/powerpc.powerpc64 # ./bin/echo/echo
> Segmentation fault (core dumped)
> root@g5:/usr/obj/usr/src/powerpc.powerpc64 # gdb ./bin/echo/echo
> ...
> Reading symbols from ./bin/echo/echo...
> Reading symbols from
> /usr/obj/usr/src/powerpc.powerpc64/bin/echo/echo.debug...
> (gdb) run
> Starting program: /usr/obj/usr/src/powerpc.powerpc64/bin/echo/echo
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000010011058 in main (argc=1, argv=0xfffffbfffeab8) at
> /usr/src/bin/echo/echo.c:77
> 77      {
> (gdb)
> 
> The stacktraces I get out of the binaries are meaningless. You can see echo
> crashing upon entering main. ls crashes on a local variable assignment. But
> cp gets further along and is able to print its own usage message before
> crashing.
> 
> Anybody knows what might be going on?
I think clang is broken... At least when I tried to do an installworld, cc
crashes when started. I reported it to this list on on July 18th.

Best regards
Michael
> 
> Thanks!
> 
> -- 
> jmmv.dev




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F78E4735-FE2F-4FBD-AD4A-F92B14DBD792>