https://sourceware.org/bugzilla/show_bug.cgi?id=28195
Bug ID: 28195 Summary: gold: Spurious "warning: wildcard match appears in both version" Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: i at maskray dot me CC: ian at airs dot com Target Milestone: --- cat > ./a.s <<eof .symver aa_2_29, aa@GLIBC_2.29 .globl aa_2_29 aa_2_29: nop .symver bb_2_30, aa@GLIBC_2.30 .globl bb_2_30 aa_2_30: nop eof cat > ./a.ver <<eof GLIBC_2.29 { local: *; }; GLIBC_2.30 { local: *; }; eof cc -c a.s % gold --version-script a.ver a.o -shared gold: warning: wildcard match appears in both version 'GLIBC_2.29' and 'GLIBC_2.30' in script The example is derived from glibc. I think the warning should be suppressed: GLIBC_2.29 { global: xxx; yyy; local: *; }; can be used to keep xxx@GLIBC_2.29 yyy@GLIBC_2.29 while localizing other *@GLIBC_2.29 non-default version symbols. It's perfectly fine for multiple version nodes to localize their non-default version symbols. -- You are receiving this mail because: You are on the CC list for the bug.