[OpenIndiana-discuss] Switch ARCH to 64-bit

Aurélien Larcher aurelien.larcher at gmail.com
Fri Oct 26 16:42:34 UTC 2018


On Fri, Oct 26, 2018 at 6:29 PM Stephan Althaus <
Stephan.Althaus at duedinghausen.eu> wrote:

> Hello!
>
> root at oi:/home/steven$ isainfo -k
> amd64
>

Therefore you are running the 64-bit kernel, what is the exact issue?

i386pc can be either 32-bit or 64-bit, the actual bitness is deduced from
isainfo, and 32-bit binaries run on 64-bit kernel (that's why we deliver
both versions for libraries).

>
>
> On 26.10.18 17:55, Aurélien Larcher wrote:
> > On Fri, Oct 26, 2018 at 5:51 PM Stephan Althaus <
> > Stephan.Althaus at duedinghausen.eu> wrote:
> >
> >> Hello!
> >>
> >>
> >> While i am experimenting with pkgsrc
> >> i stumbled over the fact, that my machine is only 32bit,
> >> whereas the ELF header of some brogs shows 64bt
> >>
> >> i'm confused
> >>
> >> while bmake in net/nmap
> >>
> >> pkg_add: SunOS/x86_64 5.11 (pkg) vs. SunOS/i386 5.11 (this host)
> >>
> >>
> >> BUT programs are 64bit
> >>
> >>
> >> root at oi:/tank/pkgsrc/pkgsrc/net/nmap# elfdump -e `which mc`
> >> ELF Header
> >>     ei_magic:   { 0x7f, E, L, F }
> >>     ei_class:   ELFCLASS64          ei_data:       ELFDATA2LSB
> >>     ei_osabi:   ELFOSABI_SOLARIS    ei_abiversion: EAV_SUNW_CURRENT
> >>     e_machine:  EM_AMD64            e_version:     EV_CURRENT
> >>     e_type:     ET_EXEC
> >>     e_flags:                     0
> >>     e_entry:              0x440230  e_ehsize:     64  e_shstrndx: 33
> >>     e_shoff:              0x1436c0  e_shentsize:  64  e_shnum: 34
> >>     e_phoff:                  0x40  e_phentsize:  56  e_phnum:     7
> >> root at oi:/tank/pkgsrc/pkgsrc/net/nmap#
> >>
> >>
> >> Finally, i would like to switch to 64bit - if theres something to
> swittch..
> >>
> > What does isainfo -k report?
> >
> >>
> >> Thanks for any hints,
> >> Stephan
> >>
> >>
> >>
> >> _______________________________________________
> >> openindiana-discuss mailing list
> >> openindiana-discuss at openindiana.org
> >> https://openindiana.org/mailman/listinfo/openindiana-discuss
> >>
> >
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings


More information about the openindiana-discuss mailing list