Page MenuHomeFreeBSD

Replace GNU assembler with llvm-as(1)
ClosedPublic

Authored by minsoochoo0122_proton.me on Nov 24 2023, 2:39 AM.
Tags
Referenced Files
Unknown Object (File)
Thu, Jan 30, 6:57 PM
Unknown Object (File)
Mon, Jan 27, 4:53 PM
Unknown Object (File)
Sun, Jan 26, 6:01 PM
Unknown Object (File)
Jan 22 2025, 11:22 AM
Unknown Object (File)
Jan 17 2025, 8:04 PM
Unknown Object (File)
Nov 22 2024, 10:38 PM
Unknown Object (File)
Nov 22 2024, 6:14 PM
Unknown Object (File)
Nov 20 2024, 11:12 PM
Subscribers

Details

Summary

Bugzilla
FreeBSD does not use GNU assembler in its base system. llvm-as(1) can be installed from ports or pkg.

Test Plan

make run

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

minsoochoo0122_proton.me edited the test plan for this revision. (Show Details)
minsoochoo0122_proton.me added a reviewer: docs.
minsoochoo0122_proton.me added a project: docs.
minsoochoo0122_proton.me added a subscriber: docs.

FreeBSD does not use GNU assembler in its base system. llvm-as(1) is now in the base system

llvm-as is in ports. It is not in base system.

zlei@:~ % freebsd-version -ku
14.0-RELEASE
14.0-RELEASE
zlei@:~ % which llvm-as
llvm-as: Command not found.

FYI, I have a larger set of changes for this chapter that is in progress locally. But thank you for handling this PR.

In D42744#975102, @zlei wrote:

FreeBSD does not use GNU assembler in its base system. llvm-as(1) is now in the base system

llvm-as is in ports. It is not in base system.

zlei@:~ % freebsd-version -ku
14.0-RELEASE
14.0-RELEASE
zlei@:~ % which llvm-as
llvm-as: Command not found.

Indeed. The assembler front-end shipped with the base system is clang(1). But it would be better to link to the devel/binutils package which provides GNU as(1).

I will make the whitespace tweaks before pushing.

documentation/content/en/books/developers-handbook/x86/_index.adoc
83
85
This revision is now accepted and ready to land.Nov 27 2023, 2:59 PM
This revision was automatically updated to reflect the committed changes.