GNU bug report logs - #37852
Build failure on MSYS2 (undefined reference to _chk functions)

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Mon, 21 Oct 2019 12:30:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 37852 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 37852 <at> debbugs.gnu.org
Subject: Re: bug#37852: Build failure on MSYS2 (undefined reference to _chk
 functions)
Date: Mon, 21 Oct 2019 19:01:20 +0300
> From: Richard Copley <rcopley <at> gmail.com>
> Date: Mon, 21 Oct 2019 15:04:34 +0100
> Cc: 37852 <at> debbugs.gnu.org
> 
>  or is this an option you
>  added manually?
> 
> No, I built in a clean checkout of master, with these commands:
> 
> ./autogen.sh
> ./configure --without-pop --without-dbus --without-gconf --without-gsettings "CFLAGS=-O2"
> make

Hmm... okay, could you please grep Makefiles in lib-src/ and src/, and
see if FORTIFY_SOURCE appears in any of them?  If not, I guess the
references to those _chk functions are coming from some libraries
linked into the programs we compile, and that probably means we need
to use -lssp for MinGW just in case?

Possibly relevant discussion:

  https://github.com/msys2/MINGW-packages/issues/5803




This bug report was last modified 5 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.