|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols |
Date: | Fri, 11 Feb 2022 00:04:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13964|0 |1 is obsolete| | --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 13971 --> https://sourceware.org/bugzilla/attachment.cgi?id=13971&action=edit The v2 patch I got /usr/gcc-12.0.1-x32/bin/gcc -B./ -o x main.o libfoo.so -Wl,-R,. ./ld: main.o: non-canonical reference to canonical protected function `internal_f' in libfoo.so ./ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |