https://sourceware.org/bugzilla/show_bug.cgi?id=22126
Bug ID: 22126 Summary: [2.29 Regression] ld --unresolved-symbols ignore-all doesn't create a reference to undefined symbols Product: binutils Version: 2.29 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: doko at debian dot org Target Milestone: --- this is a test case from the 'adequate' testsuite trying to construct a binary with an unresolved symbol. This worked with 2.28, and works in 2.29 on non-x86 architectures. $ cat undef.c extern void this_symbol_might_be_undefined(void); int main(int argc, char **argv) { this_symbol_might_be_undefined(); return 0; } $ gcc -no-pie -fno-PIE -Wl,--unresolved-symbols,ignore-all -o my-us1 undef.c $ nm my-us1 |grep this_symbol U this_symbol_might_be_undefined with ld 2.29, the undefined reference is not emitted, but it is emitted on arm, aarch64, powerpc, s390x -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils