[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22126] New: [2.29 Regression] ld --unresolved-symbols ignore-all
From: |
doko at debian dot org |
Subject: |
[Bug ld/22126] New: [2.29 Regression] ld --unresolved-symbols ignore-all doesn't create a reference to undefined symbols |
Date: |
Tue, 12 Sep 2017 14:28:43 +0000 |
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 ld/22126] New: [2.29 Regression] ld --unresolved-symbols ignore-all doesn't create a reference to undefined symbols,
doko at debian dot org <=