This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 1253
  Fix run time errors in glibc with gcc-4.0 Last modified: 2005-11-04 21:43:41
     Query page      Enter new bug
Bug#: 1253   Hardware:   Reporter: Thomas Schwinge <tschwinge@gnu.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Roland McGrath <roland@gnu.org>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
glibc-gcc-4.0.Roland.patch Roland's patch to fix run time breakage on a glibc compiled with gcc-4.0 patch 2005-09-22 17:17 Edit | Diff
glibc-DL_ARGV_NOT_RELRO.patch Additionally needed patch patch 2005-09-22 17:18 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1253 depends on: Show dependency tree
Show dependency graph
Bug 1253 blocks: 852

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2005-08-26 23:05
http://sources.redhat.com/ml/libc-alpha/2005-06/msg00053.html

Needs to be fixed on HEAD and glibc-2_3-branch.

------- Additional Comment #1 From Thomas Schwinge 2005-09-22 17:17 -------
Created an attachment (id=666)
Roland's patch to fix run time breakage on a glibc compiled with gcc-4.0

------- Additional Comment #2 From Thomas Schwinge 2005-09-22 17:18 -------
Created an attachment (id=667)
Additionally needed patch

See <URL:http://lists.gnu.org/archive/html/bug-hurd/2005-09/msg00188.html>.

------- Additional Comment #3 From Thomas Schwinge 2005-09-22 17:28 -------
Subject: Re:  Fix run time errors in glibc with gcc-4.0

On Thu, Sep 22, 2005 at 05:17:36PM -0000, tschwinge at gnu dot org wrote:
> Created an attachment (id=666)
                            ^^^
>  --> (http://sourceware.org/bugzilla/attachment.cgi?id=666&action=view)
                                                         ^^^

Oh, my god.

;-)

------- Additional Comment #4 From cvs-commit@gcc.gnu.org 2005-10-16 09:53 -------
Subject: Bug 1253

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-10-16 09:52:58

Modified files:
	sysdeps/mach/hurd/i386: init-first.c 

Log message:
	2005-10-16  Roland McGrath  <roland@frob.com>
	
	[BZ #1253]
	* sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher.
	(_hurd_stack_setup): Don't declare with arguments and ellipsis.
	Use __builtin_frame_address and __builtin_return_address.
	(_dl_init_first): Likewise.
	* sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare
	as weak extern.
	(init): Check for it being undefined.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/i386/init-first.c.diff?cvsroot=glibc&r1=1.43&r2=1.44


------- Additional Comment #5 From cvs-commit@gcc.gnu.org 2005-10-16 09:57 -------
Subject: Bug 1253

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-10-16 09:57:43

Modified files:
	sysdeps/mach/hurd: dl-sysdep.h 

Log message:
	2005-10-16  Roland McGrath  <roland@frob.com>
	
	[BZ #1253]
	* sysdeps/mach/hurd/dl-sysdep.h
	[SHARED] (DL_ARGV_NOT_RELRO): New macro.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/dl-sysdep.h.diff?cvsroot=glibc&r1=1.1&r2=1.2


------- Additional Comment #6 From Roland McGrath 2005-10-16 09:58 -------
Please verify that the trunk changes I have committed cover these problems.
Then leave the bug open; I will commit the 2.3 branch after your report.

------- Additional Comment #7 From cvs-commit@gcc.gnu.org 2005-10-23 01:00 -------
Subject: Bug 1253

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-10-23 01:00:05

Modified files:
	sysdeps/mach/hurd: dl-sysdep.h 

Log message:
	2005-10-16  Roland McGrath  <roland@frob.com>
	
	[BZ #1253]
	* sysdeps/mach/hurd/dl-sysdep.h
	[SHARED] (DL_ARGV_NOT_RELRO): New macro.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/dl-sysdep.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.1&r2=1.1.4.1


------- Additional Comment #8 From cvs-commit@gcc.gnu.org 2005-10-23 01:00 -------
Subject: Bug 1253

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-10-23 01:00:09

Modified files:
	sysdeps/mach/hurd/i386: init-first.c 

Log message:
	2005-10-16  Roland McGrath  <roland@frob.com>
	
	[BZ #1253]
	* sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher.
	(_hurd_stack_setup): Don't declare with arguments and ellipsis.
	Use __builtin_frame_address and __builtin_return_address.
	(_dl_init_first): Likewise.
	[BZ #1249]
	* sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare
	as weak extern.
	(init): Check for it being undefined.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/i386/init-first.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.43&r2=1.43.4.1


------- Additional Comment #9 From Roland McGrath 2005-10-23 01:01 -------
These changes are now on both branches.

------- Additional Comment #10 From Roland McGrath 2005-11-04 21:43 -------
This bug should be fixed in the 2.3.6 release just made.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In