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)
Fri, Mar 20, 7:10 PM
Unknown Object (File)
Fri, Mar 13, 12:20 AM
Unknown Object (File)
Sat, Mar 7, 6:53 PM
Unknown Object (File)
Sat, Mar 7, 7:06 AM
Unknown Object (File)
Sat, Mar 7, 2:57 AM
Unknown Object (File)
Fri, Mar 6, 7:06 AM
Unknown Object (File)
Tue, Mar 3, 1:32 PM
Unknown Object (File)
Sun, Mar 1, 6:57 AM
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.