Re: GCC -pie patch (kinda) ....

2008-03-02 Thread Joseph S. Myers
On Sun, 2 Mar 2008, Michael Schmitz wrote: > > > elf-init.c:(.text+0x6e): undefined reference to `__fini_array_end' > > > elf-init.c:(.text+0x76): undefined reference to `__fini_array_start' > > > elf-init.c:(.text+0x8a): undefined reference to `__fini_array_start' > > > collect2: ld returned 1 ex

Re: GCC -pie patch (kinda) ....

2008-03-02 Thread Michael Casadevall
.debian.org Subject: Re: GCC -pie patch (kinda) Resent-Date: Sun, 2 Mar 2008 21:18:12 + (UTC) Resent-From: debian-68k@lists.debian.org elf-init.c:(.text+0x6e): undefined reference to `__fini_array_end' elf-init.c:(.text+0x76): undefined reference to `__fini_array_start' e

Re: GCC -pie patch (kinda) ....

2008-03-02 Thread Michael Schmitz
> > elf-init.c:(.text+0x6e): undefined reference to `__fini_array_end' > > elf-init.c:(.text+0x76): undefined reference to `__fini_array_start' > > elf-init.c:(.text+0x8a): undefined reference to `__fini_array_start' > > collect2: ld returned 1 exit status > > These errors generally (on whatever EL

Re: GCC -pie patch (kinda) ....

2008-03-02 Thread Joseph S. Myers
On Sat, 1 Mar 2008, Michael Casadevall wrote: > bc_nonshared.a(elf-init.oST): In function `__libc_csu_init': > elf-init.c:(.text+0x1c): undefined reference to `__init_array_start' > elf-init.c:(.text+0x26): undefined reference to `__init_array_end' > elf-init.c:(.text+0x44): undefined reference to

Re: GCC -pie patch (kinda) ....

2008-03-01 Thread Michael Schmitz
> Right now, I've developed a no-op patch, but its just a fugly way to work > around the problem, which I haven't fully idenified yet. The problem stems > from glibc, from csu/elf-init.c > > #ifdef HAVE_INITFINI_ARRAY > /* These magic symbols are provided by the linker. */ > extern void (*__preini

GCC -pie patch (kinda) ....

2008-03-01 Thread Michael Casadevall
As some of you are aware, I've recently voluteered (or been voluteered depending on how you look at it) to work on correcting some of the more outstanding bugs with binutils, and gcc. I've been working on debugging the -pie issue with GCC which creates the following compiler errors bc_nonshare