pkgsrc-Bugs archive

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

Re: firefox and rust build failure



MLH wrote:
> Christos wrote:
> > MLH wrote:
> > > Christos wrote:
> > > > 
> > > > Add DEBUG_ELF, perhaps it is a different issue.
> > > > 
> > > > christos
> > > 
> > > Ok, again, with -current amd64 and rustc both built today :
> > > 
> > > $ /usr/pkgnew/bin/rustc
> > > /bin/sh: Cannot execute ELF binary /usr/pkgnew/bin/rustc
> > > 
> > > [ 119.1513362] netbsd_elf64_signature: not netbsd
> > > [ 119.1513362] elf32_check_header: bad magic e_ident[EI_MAG0,EI_MAG3] 0x7f454c46, e_ident[EI_CLASS] 0x2
> > > [ 119.1513362] elf32_check_header: bad magic e_ident[EI_MAG0,EI_MAG3] 0x7f454c46, e_ident[EI_CLASS] 0x2
> > > [ 119.1513362] netbsd_elf64_signature: not netbsd
> > > [ 119.1513362] elf32_check_header: bad magic e_ident[EI_MAG0,EI_MAG3] 0x7f454c46, e_ident[EI_CLASS] 0x2
> > > [ 119.1513362] elf32_check_header: bad magic e_ident[EI_MAG0,EI_MAG3] 0x7f454c46, e_ident[EI_CLASS] 0x2
> >
> > Christos may be able to interpret that ...  in the meantime, what
> > does
> >        file /usr/pkgnew/bin/rustc
> > say?
> 
> $ file /usr/pkgnew/bin/rustc 
> /usr/pkgnew/bin/rustc: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
> dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 8.0, not
> stripped
> 
> Why does it say for NetBSD 8.0 ?
> /usr/libexec/ld.elf_so is -current

$ ll /usr/libexec/ld.elf_so
lrwxr-xr-x  1 root  wheel  18 Jun 14 20:46 /usr/libexec/ld.elf_so -> /libexec/ld
$ ll /libexec/ld.elf_so
-r-xr-xr-x  1 root  wheel  87256 Jun 14 19:54 /libexec/ld.elf_so
 


Home | Main Index | Thread Index | Old Index