[Bug gold/28871] gold: --no-define-common is incompatible with GNU ld

2022-02-08 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=28871 --- Comment #3 from Fangrui Song --- The semantics are different. % ld.bfd -r --no-define-common a.o -o a.ro && readelf -Ws a.ro ld.bfd: --no-define-common may not be used without -shared % ld.bfd -shared --no-define-common a.o -o a.so && re

[Bug gold/28871] gold: --no-define-common is incompatible with GNU ld

2022-02-08 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28871 --- Comment #2 from Cary Coutant --- I do not see how gold's --no-define-common is incompatible with ld's. According to the ld manual, and from looking at the original ld patch, they seem to do exactly the same thing, which is in fact the oppo

[Bug gold/28871] gold: --no-define-common is incompatible with GNU ld

2022-02-08 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=28871 --- Comment #1 from Fangrui Song --- https://sourceware.org/pipermail/binutils/2022-February/119689.html [PATCH] gold: Remove GNU ld incompatible --[no-]define-common [BZ #28871] -- You are receiving this mail because: You are on the CC list