[tlbuild] Compiling asy with recent gcc

Ken Brown kbrow1i at gmail.com
Thu Mar 5 23:22:04 CET 2020


Cygwin has recently updated its compiler from gcc-7.4.x to gcc-9.2.0.  When
I build asy with this compiler it crashes in the sort2 test. Running the
test under gdb shows that there's a null pointer dereference in GC_free
(hhdr is null). If I build without optimization, the problem doesn't occur.

I've worked around this by reverting to gcc-7.4, but I'd rather see the
problem fixed. I don't know if it's an asy bug or a gcc bug or a gc bug or
a Cygwin bug or something else. Has anyone else succeeded in building asy
with gcc-9.2?

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tlbuild/attachments/20200305/71c93ee1/attachment.html>


More information about the tlbuild mailing list.