Page MenuHomeFreeBSD

limit building GNU as to relevant targets
ClosedPublic

Authored by emaste on Jan 14 2020, 10:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 1 2024, 3:23 AM
Unknown Object (File)
Jan 31 2024, 2:30 AM
Unknown Object (File)
Dec 29 2023, 4:27 PM
Unknown Object (File)
Dec 24 2023, 3:55 AM
Unknown Object (File)
Dec 24 2023, 2:37 AM
Unknown Object (File)
Dec 24 2023, 2:37 AM
Unknown Object (File)
Dec 24 2023, 2:37 AM
Unknown Object (File)
Dec 24 2023, 2:20 AM

Details

Summary

GNU as 2.17.50 is currently required by amd64 and i386, so build there. It was previously built but known not to be needed on 32-bit arm, so no longer built there. It does not support 64-bit arm or RISC-V.

That leaves mips, powerpc, and sparc64. For now continue building it on those targets.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mips doesn't use it when building with clang. If you are using external GCC for mips you will also be using external as, so I think you can actually just delete it entirely for mips. You might want to ask the powerpc folks if powerpc is in the same boat. Given that GCC 4.2.1 is dead, we should really only be enabling this for platforms that need /usr/bin/as for the in-tree LLVM toolchain which is probably just x86? Even sparc64 can go since it requires external GCC at this point.

@emaste nope. powerpc* don't need GNU as. LLVM has everything we need.

Great, thanks. I will change this to build as on i386 and amd64 only and commit that soon.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2020, 7:16 PM
This revision was automatically updated to reflect the committed changes.

I've been using D18758 to get rid of gnu as on amd64 as well…