search for: l1505

Displaying 1 result from an estimated 1 matches for "l1505".

Did you mean: 1505
2020 Feb 28
2
Demotion of shared symbols resolved from the dynamic linker.
....2: shared definition of __libc_stack_end <internal>: reference to __libc_stack_end The last line in the trace output shows where we demote the shared definition to an undefined symbol here: https://github.com/llvm/llvm-project/blob/c8bfed05e21f945b5ac71cd01d62e2854a8ddcf9/lld/ELF/Driver.cpp#L1505 I'm guessing the fix is that if `needsInterpSection()` is true then the dynamic linker should be marked as needed. Its going to end up in the DT_NEEDED anyway so the symbols can't become dangling references. In my case then, the demotion won't happen and everything works as expected. I...