[Bug ld/29376] New: multiple definition of weak symbols on MinGW toolchain

2022-07-18 Thread bmeng.cn at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: bmeng.cn at gmail dot com Target Milestone: --- Created attachment 14216 --> https://sourceware.org/bugzilla/attachment.cgi?id=14216&action=edit a simplified case to show the linker problem of h

[Bug ld/29376] multiple definition of weak symbols on MinGW toolchain

2022-07-24 Thread bmeng.cn at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29376 --- Comment #2 from Bin Meng --- Using MSYS2 MinGW64 native toolchain x86_64-w64-mingw32-gcc (version 12.1.0), the attached test case can build successfully. Not sure if this issue is fixed in the MSYS2 toolchain, or is just simply the new GC

[Bug ld/29376] multiple definition of weak symbols on MinGW toolchain

2022-07-24 Thread bmeng.cn at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29376 --- Comment #3 from Bin Meng --- Please ignore above comments about the MSYS2 mingw native toolchain. There should be something wrong my test environment. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/24983] New: RISC-V GP linker relaxation is not performed with -nostdlib

2019-09-09 Thread bmeng.cn at gmail dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: bmeng.cn at gmail dot com Target Milestone: --- See the following test case $ cat test.c int a = 1; int main() { return a; } Building the test case with "-nostdlib"