Closed donaldsonjw closed 4 years ago
Thanks for the report @donaldsonjw ! Will see about getting a fix for this ASAP.
Looks like we can fix the root problem instead of passing/not passing the -fcommon option. This works with gcc 10.1 on Arch Linux as well as in older versions of gcc on github's CI.
@donaldsonjw If you are able, can you confirm this fix works for you as well?
I can confirm it works for me. Thanks.
In gcc 10, gcc now defaults to compiling with the -fno-common compiler option enabled. This causes multiple definition linker errors for a number of symbols including _argc and _argv. It can be fixed by passing -fcommon to gcc.