[OpenIndiana-discuss] Switch ARCH to 64-bit

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


On Fri, Oct 26, 2018 at 6:46 PM Aurélien Larcher <aurelien.larcher at gmail.com>
wrote:

>
>
> On Fri, Oct 26, 2018 at 6:35 PM Stephan Althaus <
> Stephan.Althaus at duedinghausen.eu> wrote:
>
>> Hello!
>>
>> And some additional info:
>>
>> root at oi:~# psrinfo -pv
>> The physical processor has 4 cores and 8 virtual processors (0-7)
>>    The core has 2 virtual processors (0 4)
>>    The core has 2 virtual processors (1 5)
>>    The core has 2 virtual processors (2 6)
>>    The core has 2 virtual processors (3 7)
>>      x86 (GenuineIntel 106E5 family 6 model 30 step 5 clock 1600 MHz)
>>        Intel(r) Core(tm) i7 CPU       Q 720  @ 1.60GHz
>>
>> root at oi:~# uname -a
>> SunOS oi 5.11 illumos-dd891561fb i86pc i386 i86pc
>>
>
> I think the confusion comes that you expected the same convention as for
> e.g. Linux.
>
> Solaris has had a different convention: i386pc is the general architecture
> for x86 systems, then the actual supported ISAs are given by isainfo, and
> the current kernel ISA given by isainfo -k.
>
> The amd64 ISA is seen as an extension of i386 ISA within the i386pc
> architecture, not as a separate architecture.
>

Also the ISA reported by uname -a is the lowest common denominator so that
portability/compatiblity is ensured.

>
>
>>
>> On 26.10.18 18:29, Stephan Althaus wrote:
>> > Hello!
>> >
>> > root at oi:/home/steven$ isainfo -k
>> > amd64
>> >
>> >
>> > 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
>>
>>
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
>
> --
> ---
> Praise the Caffeine embeddings
>


-- 
---
Praise the Caffeine embeddings


More information about the openindiana-discuss mailing list