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)
Wed, May 8, 9:20 AM
Unknown Object (File)
Wed, May 8, 9:20 AM
Unknown Object (File)
Wed, May 8, 6:50 AM
Unknown Object (File)
Wed, May 8, 6:50 AM
Unknown Object (File)
Wed, May 8, 6:49 AM
Unknown Object (File)
Apr 26 2024, 1:05 PM
Unknown Object (File)
Apr 7 2024, 8:03 AM
Unknown Object (File)
Feb 22 2024, 4:09 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.