HomeFreeBSD

MFH: r513490 r514194 r515213

Description

MFH: r513490 r514194 r515213

Fix build with EXTRAS disabled.

clangd is part of EXTRAS, not CLANG.

PR: 240826
Reported by: rozhuk.im@gmail.com

Rollup of fixes since the 9.0.0 release.

  • Change the default -march for i386 from i486 to i586. This avoids the need for libatomics and had been the defacto default for some time. [0]
  • Add -m(no)-spe to clang. (powerpc)
  • Deduce MIPS specific ELF header flags from emulation. (mips)
  • Fix a variety of assertions and compile/link errors including crashes with CPUTYPE=haswell. [1]
  • Switch back to https for downloads. [2]

The new patches were initially committed to FreeBSD src by dim@.

PR: 240918 [0], 240759 [1], 240870 [2]
Reported by: jbeich [0,1], Miyashita Touka <imagin8r@protonmail.com> [2]

Fix build without CLANG enabled. [0]

Fix LLD build where PREFIX != LOCALBASE. [1]

powerpc64: add configure option to select ELFv2 ABI [2]

In preparation for compiler+ABI change in PowerPC64, this change adds a
configure option to select ELFv2 as default powerpc64 ABI when compiling
llvm90.

The new option automatically set when ELFv2 environment is detected
(when PPC_ABI=ELFv2)

PR: 241400 [1], 241410 [0]
Submitted by: Alfredo Dal'Ava JĂșnior [2]
Differential Revision: https://reviews.freebsd.org/D22100 [2]

Approved by: portmgr (blanket for build and reliability fixes)

Details

Provenance
brooksAuthored on
Parents
rP515934: - Update to r4323
Branches
Unknown
Tags
Unknown