Bug 1100 - improve __chk_fail behavior
Summary: improve __chk_fail behavior
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.5
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks: libc236
  Show dependency treegraph
 
Reported: 2005-07-18 03:11 UTC by Roland McGrath
Modified: 2005-07-19 03:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.