Bug#217889: libc6-dev should conflict with old versions of binutils
On Tue, Nov 04, 2003 at 02:58:48AM +0900, GOTO Masanori wrote:
> At Mon, 27 Oct 2003 19:20:27 -0500,
> Brian Sammon wrote:
> > When I had
> > ii binutils 2.11.92.0.12.3-6
> > ii libc6-dev 2.3.2-9
> > I couldn't compile (link?) anything. I got the following error:
> > /usr/lib/libc_nonshared.a(elf-init.oS): In function ~_libc_csu_init':
> > elf-init.oS(.text+0x1d): undefined reference to ~_init_array_end'
> > elf-init.oS(.text+0x23): undefined reference to ~_init_array_start'
> > elf-init.oS(.text+0x43): undefined reference to ~_init_array_start'
> > /usr/lib/libc_nonshared.a(elf-init.oS): In function ~_libc_csu_fini':
> > elf-init.oS(.text+0x7a): undefined reference to ~_fini_array_end'
> > elf-init.oS(.text+0x80): undefined reference to ~_fini_array_start'
> > elf-init.oS(.text+0xa3): undefined reference to ~_fini_array_start'
> > collect2: ld returned 1 exit status
> >
> > I believe that 2.11.92.0.12.3-6 is from an earlier release of woody.
> > Upgrading binutils to the 2.12.90.0.1-4 (the latest from woody) made the
> > problem go away.
> >
> > I don't fully understand the problem, so I didn't search the glibc changelog
> > to figure out where this was fixed, but it was somewhere between
> > 2.11.92.0.12.3-6 and 2.12.90.0.1-4.
>
> /usr/lib/libc_nonshared.a ? Is this really used when you compile
> "anything" like?:
>
> main() {}
Yes, it is. See /usr/lib/libc.so.
I think this is reasonable...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: