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
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
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.
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"