Bug 1100

Summary: improve __chk_fail behavior
Product: glibc Reporter: Roland McGrath <roland>
Component: libcAssignee: Roland McGrath <roland>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2    
Version: 2.3.5   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 852    

Description Roland McGrath 2005-07-18 03:11:58 UTC
This trunk patch should go into the 2.3 branch:

2005-02-11  Jakub Jelinek  <jakub@redhat.com>

	* debug/chk_fail.c (__chk_fail): Add a while (1) loop around
	__libc_message to kill GCC warning about noreturn function returning.

2005-01-26  Ulrich Drepper  <drepper@redhat.com>

	* debug/chk_fail.c (__chk_fail): Print program name in final message.
Comment 1 Sourceware Commits 2005-07-18 03:12:52 UTC
Subject: Bug 1100

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 03:12:48

Modified files:
	debug          : chk_fail.c 

Log message:
	2005-02-11  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #1100]
	* debug/chk_fail.c (__chk_fail): Add a while (1) loop around
	__libc_message to kill GCC warning about noreturn function returning.
	2005-01-26  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #1100]
	* debug/chk_fail.c (__chk_fail): Print program name in final message.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/chk_fail.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.2&r2=1.2.2.1

Comment 2 Roland McGrath 2005-07-19 03:30:19 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.