Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement --dynamic-linker <argument> override option #23607

Closed
emaste opened this issue Apr 14, 2015 · 4 comments
Closed

implement --dynamic-linker <argument> override option #23607

emaste opened this issue Apr 14, 2015 · 4 comments
Labels
bugzilla Issues migrated from bugzilla lld

Comments

@emaste
Copy link
Member

emaste commented Apr 14, 2015

Bugzilla Link 23233
Resolution FIXED
Resolved on Apr 19, 2015 19:18
Version unspecified
OS FreeBSD
Blocks #23588

Extended Description

Required for the FreeBSD base system build.

GNU ld description:
--dynamic-linker file
Set the name of the dynamic linker. This is only meaningful when
generating dynamically linked ELF executables. The default dynamic
linker is normally correct; don't use this unless you know what you
are doing.

@llvmbot
Copy link
Collaborator

llvmbot commented Apr 19, 2015

A quick scan of the code shows up this is already implemented in HEAD, is it failing for you in some way?

@emaste
Copy link
Member Author

emaste commented Apr 20, 2015

Failing command line is:

/tank/emaste/src/freebsd/tools_bin/ld -Bdynamic -T /tank/emaste/src/freebsd/sys/conf/ldscript.amd64 --no-warn-mismatch --warn-common --export-dynamic --dynamic-linker /red/herring -o kernel.debug -X locore.o cam.o cam_compat.o ...

It seems -dynamic-linker works, but --dynamic-linker (two dashes) does not.

@llvmbot
Copy link
Collaborator

llvmbot commented Apr 20, 2015

r235282.

@emaste
Copy link
Member Author

emaste commented Apr 20, 2015

Update title based on fix: the form is --dynamic-linker /red/herring in the FreeBSD build; --dynamic-linker=/red/herring and -dynamic-linker /red/herring were already supported, but -- and no = was not.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla lld
Projects
None yet
Development

No branches or pull requests

2 participants