Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 14:45:01 -0500
From:      "Brandon Bergren" <bdragon@FreeBSD.org>
To:        "Mark Millard" <marklmi@yahoo.com>
Cc:        "FreeBSD PowerPC ML" <freebsd-ppc@freebsd.org>
Subject:   =?UTF-8?Q?Re:_head_-r365932_on_PowerMac_G5_(2_dual-core_sockets):_Crashe?= =?UTF-8?Q?s_before_login_prompt_if_powerd_is_enabled_in_/etc/rc.conf?=
Message-ID:  <92f57afb-33cb-4d38-be17-4b8c81cb9c89@www.fastmail.com>
In-Reply-To: <B4D16405-1B0C-4500-866F-75F32FED235A@yahoo.com>
References:  <52783D16-5DCA-45BC-9238-2518326454A1@yahoo.com> <6E99EE39-D2B8-415A-A5BF-823C0F0C22D6@yahoo.com> <cd9d2b72-219f-4550-a437-4ac3aa1da66d@www.fastmail.com> <AF27169A-00FC-4984-83C2-307EA885D7A1@yahoo.com> <11fe573a-24c3-47be-95ed-c601ec54f168@www.fastmail.com> <E23CF7F6-B69C-44C7-B356-4AB65E011268@yahoo.com> <B4D16405-1B0C-4500-866F-75F32FED235A@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, Sep 22, 2020, at 2:35 PM, Mark Millard wrote:
> 
> Seems to target 32 bit powerpc but the context I'm reporting is
> for powerpc64 overall. May be the mis-compiles are not limited
> to 32-bit powerpc variants?

DOH! You're right, 

Try a build with _MINUS_O forced to -O2 and see if that fixes things.

FWIW, there is a differential to change the default across the board @ https://reviews.freebsd.org/D26471 because the whole "inlines are not inlining" problem affects everything.

The change boils down to LLVM 11 changing their default of what -O "means" to be -O1 instead of -O2, which breaks a bunch of kernel assumptions regarding inlining.

-- 
  Brandon Bergren
  bdragon@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92f57afb-33cb-4d38-be17-4b8c81cb9c89>