This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: current binutils cvs causes problems with libstdc++-v3
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 24 May 2002 16:52:00 -0700
- Subject: Re: current binutils cvs causes problems with libstdc++-v3
- Organization: Wasabi Systems, Inc.
- References: <20020524001704.X22765@dr-evil.shagadelic.org> <20020524081751.B308@lucon.org>
On Fri, May 24, 2002 at 08:17:51AM -0700, H . J . Lu wrote:
> With the yesterday's binutils from CVS, I got
>
> ./header_cerrno.exe: file format elf32-i386
> ./header_cerrno.exe
> architecture: i386, flags 0x00000112:
> EXEC_P, HAS_SYMS, D_PAGED
> start address 0x080482e0
>
> Program Header:
> PHDR off 0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
> filesz 0x000000c0 memsz 0x000000c0 flags r-x
> INTERP off 0x000000f4 vaddr 0x080480f4 paddr 0x080480f4 align 2**0
> filesz 0x00000013 memsz 0x00000013 flags r--
> LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
> filesz 0x0000042c memsz 0x0000042c flags r-x
> LOAD off 0x0000042c vaddr 0x0804942c paddr 0x0804942c align 2**12
> filesz 0x0000011c memsz 0x00000120 flags rw-
> DYNAMIC off 0x0000043c vaddr 0x0804943c paddr 0x0804943c align 2**2
> filesz 0x000000e0 memsz 0x000000e0 flags rw-
> NOTE off 0x00000108 vaddr 0x08048108 paddr 0x08048108 align 2**2
> filesz 0x00000020 memsz 0x00000020 flags r--
>
> Can you find out why it failed on NetBSD?
>
> I do have some local changes. But I don't believe they will cause the
> difference here.
Try passing --disabled-shared to your gcc's configure. If I remove
--disable-shared, things work for me.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>