This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: current binutils cvs causes problems with libstdc++-v3


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]