bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37852: Build failure on MSYS2 (undefined reference to _chk functions


From: Eli Zaretskii
Subject: bug#37852: Build failure on MSYS2 (undefined reference to _chk functions)
Date: Tue, 22 Oct 2019 05:37:53 +0300

> Cc: 37852@debbugs.gnu.org, Richard Copley <rcopley@gmail.com>
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Mon, 21 Oct 2019 17:40:12 -0700
> 
> I installed the attached patch, to cause the problem to occur only if 
> one configures explicitly with --enable-gcc-warnings. This should fix 
> the problem that Richard reported.

Thanks.

> I don't understand MSYS2 well enough to suggest fixes for Emacs, other 
> than "don't configure with --enable-gcc-warnings and don't compile with 
> _FORTIFY_SOURCE defined".

Should we perhaps test for -lssp, and if it is found, add it to the
link command when we define _FORTIFY_SOURCE?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]