Skip to content

Don't use lld when building with GCC#21

Open
slipher wants to merge 1 commit into
masterfrom
slipher/no-lld
Open

Don't use lld when building with GCC#21
slipher wants to merge 1 commit into
masterfrom
slipher/no-lld

Conversation

@slipher

@slipher slipher commented Jun 22, 2026

Copy link
Copy Markdown
Member

Pushing this change lying around before I forget how the rebasing stuff works.

I would also change the readme to say LLVM or GCC but will avoid conflicting with #20.

This was described as a hack for building on Ubuntu Precise.

Now LLVM is not a dependency when building with GCC (--no-clang on scons
command line).

@illwieckz illwieckz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@illwieckz

Copy link
Copy Markdown
Member

As a side note, this is already done in my CMake branch:

	# The -rpath-link argument is needed on Ubuntu/Precise to
	# avoid linker warnings about missing ld.linux.so.3.
	# TODO(sbc): remove this once we stop supporting Precise
	# as a build environment.
	# We (Dæmon) don't support Precise.
	# set_linker_flag("-fuse-ld=lld")

The CMake implementation is a by-hand translation, line by line, of the original SCons code. So I actually read everything from SCons that was re-implemented in CMake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants