Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 1997 18:13:25 +0100
From:      roberto@keltia.freenix.fr (Ollivier Robert)
To:        hackers@FreeBSD.ORG
Subject:   Re: g++, STL and -frepo on FreeBSD-2.2-Beta
Message-ID:  <19970202181325.OW45132@keltia.freenix.fr>
In-Reply-To: <199702021539.KAA21607@chai.plexuscom.com>; from Bakul Shah on Feb 2, 1997 10:39:52 -0500
References:  <Pine.BSF.3.95.970131231640.15472A-100000@gargoyle.bazzle.com> <199702021539.KAA21607@chai.plexuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Bakul Shah:
> > 	I do know that if you build g++ with John Polstra's ELF patches
> > and the -frepo patches.  Then template repository works as advertised.
> 
> Where do I find John's ELF patches?

<URL:ftp://ftp.polstra.com/pub/FreeBSD/elfkit/elfkit-1.2.1.tar.gz>;

Works fine although it would be nice to have gdb recognizing ELF
binaries...

213 [18:11] roberto@keltia:/build/mutt-0.60> gdb ./mutt
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation,
Inc...

"/work/build/mutt-0.60/./mutt": not in executable format: File format not
recognized

208 [18:10] roberto@keltia:/build/mutt-0.60> elf-objdump --private-headers
mutt 

mutt:     file format elf32-i386

Program Header:
    PHDR off    0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
         filesz 0x000000a0 memsz 0x000000a0 flags r-x
  INTERP off    0x000000d4 vaddr 0x080480d4 paddr 0x080480d4 align 2**0
         filesz 0x00000019 memsz 0x00000019 flags r--
    LOAD off    0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
         filesz 0x0002a593 memsz 0x0002a593 flags r-x
    LOAD off    0x0002a598 vaddr 0x08073598 paddr 0x08073598 align 2**12
         filesz 0x0000230c memsz 0x00005109 flags rw-
 DYNAMIC off    0x0002c814 vaddr 0x08075814 paddr 0x08075814 align 2**2
         filesz 0x00000090 memsz 0x00000090 flags rw-

Dynamic Section:
  NEEDED      libncurses.so
  NEEDED      libc.so.1
  INIT        0x80496d0
  FINI        0x806bee4
  HASH        0x80480f0
  STRTAB      0x8048e58
  SYMTAB      0x8048548
  STRSZ       0x478
  SYMENT      0x10
  DEBUG       0x0
  PLTGOT      0x807561c
  PLTRELSZ    0x3d8
  PLTREL      0x11
  JMPREL      0x80492f8
  REL         0x80492d0
  RELSZ       0x28
  RELENT      0x8

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
  FreeBSD keltia.freenix.fr 3.0-CURRENT #37: Mon Jan 27 23:21:10 CET 1997



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970202181325.OW45132>