GNU GRUB - Bugs: bug #53113, Correctly handle...
You are not allowed to post comments on this tracker with your current authentication level.
bug #53113: Correctly handle "memset@PLT" references in grub module object files
Submitter: | Brooks Moses <brooksmoses> | ||
Submitted: | Sat 10 Feb 2018 01:26:24 AM UTC | ||
Category: | Compilation | Severity: | Major |
Priority: | 5 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | Brooks Moses |
Open/Closed: | Open | Release: | 2.02 |
Release: | Reproducibility: | None | |
Planned Release: | None |
Sat 10 Feb 2018 02:46:14 AM UTC, comment #1: |
Brooks Moses <brooksmoses> |
Sat 10 Feb 2018 01:26:24 AM UTC, original submission:
A recent change to LLVM [1] by Rafael Avila de Espindola causes it to emit references to intrinsics such as memset as "memset@PLT" rather than simply "memset". Per discussion on this change [2], this is expected to be a non-change once the code is linked; the linker should just degrade this to a normal "memset" reference when "memset" is a locally-available symbol. (And, in practice, that indeed appears to be what standard Linux linkers do with it.)
|
Brooks Moses <brooksmoses> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-02-10 | brooksmoses | Attached File | - | Added 94_clang_link_support.patch, #43227 | |
Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-758e.
Corresponding source code
Recording an offline conversation with Vladimir(phcoder):
We can safely ignore the GLOBAL_OFFSET_TABLE symbol in the genmoddep.awk script (without concern that it will cause breakage when the module is actually loaded), because that symbol will get removed from the module file when the module file is stripped.
However, we should also add a check (probably to grub-module-checker) to confirm that this removal actually happened.