[Nickle] GCC 10 compatibility patch

Michel Alexandre Salim michel at michel-slm.name
Sun Feb 2 22:15:38 PST 2020


Hi Keith,

Fedora's upcoming 32 release will ship with GCC 10, which defaults to 
-fno-common to optimize global variable access.

As such, having multiple declarations of the same variables now cause a 
link failure -- I've attached the patch I'm using for the Fedora package 
of Nickle; all test cases pass fine with it applied.

Best regards,

-- 
Michel Alexandre Salim
profile: https://keybase.io/michel_slm
GPG key: 96A7 A6ED FB4D 2113 4056 3257 CAF9 AD10 ACB1 BEF2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-GCC-10.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
URL: <http://keithp.com/pipermail/nickle/attachments/20200203/3f34ddc1/attachment.bin>


More information about the Nickle mailing list