pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48811: running go(1) throws exec format error



The following reply was made to PR pkg/48811; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Subject: Re: pkg/48811: running go(1) throws exec format error
Date: Thu, 15 May 2014 09:20:13 +0200

 On Wed, May 14, 2014 at 10:50:01PM +0000, Joerg Sonnenberger wrote:
 >  On Wed, May 14, 2014 at 03:45:00PM +0000, Thomas Klausner wrote:
 >  > >How-To-Repeat:
 >  > /usr/pkg/go/bin> ./go
 >  > zsh: exec format error: ./go
 >  
 >  readelf -l go?
 
 /usr/pkg/go/bin> readelf -l go
 
 Elf file type is EXEC (Executable file)
 Entry point 0x476d10
 There are 8 program headers, starting at offset 64
 
 Program Headers:
   Type           Offset             VirtAddr           PhysAddr
                  FileSiz            MemSiz              Flags  Align
   PHDR           0x0000000000000040 0x0000000000400040 0x0000000000400040
                  0x00000000000001c0 0x00000000000001c0  R E    1000
   INTERP         0x0000000000000be9 0x0000000000400be9 0x0000000000400be9
                  0x0000000000000017 0x0000000000000017  R      1
       [Requesting program interpreter: /usr/libexec/ld.elf_so]
   NOTE           0x0000000000000bd0 0x0000000000400bd0 0x0000000000400bd0
                  0x0000000000000019 0x0000000000000019  R      4
   LOAD           0x0000000000000040 0x0000000000400040 0x0000000000400040
                  0x0000000000270030 0x0000000000270030  R E    1000
   LOAD           0x0000000000271000 0x0000000000671000 0x0000000000671000
                  0x00000000004ecc48 0x00000000004ecc48  R      1000
   LOAD           0x000000000075e000 0x0000000000b5e000 0x0000000000b5e000
                  0x0000000000020340 0x0000000000040218  RW     1000
   DYNAMIC        0x000000000075e0c0 0x0000000000b5e0c0 0x0000000000b5e0c0
                  0x0000000000000110 0x0000000000000110  RW     8
   TLS            0x0000000000000000 0x0000000000000000 0x0000000000000000
                  0x0000000000000000 0x0000000000000010  R      8
 
  Section to Segment mapping:
   Segment Sections...
    00
    01     .interp
    02     .note.netbsd.ident
    03     .text .plt .interp .note.netbsd.ident
    04     .rodata .typelink .gosymtab .gopclntab .gnu.version_r .rela 
.gnu.version .hash .dynstr .rela.plt .shstrtab .dynsym
    05     .got .got.plt .dynamic .noptrdata .data .bss .noptrbss
    06     .dynamic
    07     .tbss
 
  Thomas
 


Home | Main Index | Thread Index | Old Index