[llvm-bugs] [Bug 44698] New: Global initialization incompatibility with old objects
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 28 08:59:04 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44698
Bug ID: 44698
Summary: Global initialization incompatibility with old objects
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: dominik.strasser at onespin.com
CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org
Created attachment 23069
--> https://bugs.llvm.org/attachment.cgi?id=23069&action=edit
tarball containing material to reproduce
Linking running the attached project with lld produces a crashing object
whereas using ld yields a working one.
My suspicion is that lld does not pick up the global initialization function
which lacks the _sub_ infix.
0000000000000288 t _GLOBAL__I_outFilePtr // from old g++, crashes with lld
vs.
00000000000001af t _GLOBAL__sub_I_outFilePtr // from new g++, works with lld
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200128/6db99526/attachment.html>
More information about the llvm-bugs
mailing list