Skip to main content

2 posts tagged with "x32"

View All Tags

Anatomy of erlang and elixir packages for YP/OE

· 8 min read
João Henrique Ferreira de Freitas
Maintainer of meta-erlang

Usually, when designing a linux distribution using YP/OE we want a slim image with only what we need to run a specific application (or applications). In this post we'll discuss a bit about erlang and elixir packages that meta-erlang layer provides.

It's important to know how the packages are divided into smaller ones in order to offer a better composition when creating linux distributions with YP/OE.

Exploring x32 psABI for Erlang/OTP

· 4 min read
João Henrique Ferreira de Freitas
Maintainer of meta-erlang

Intro

According to Wikipedia X32 ABI page:

The x32 ABI is an application binary interface (ABI) and one of the interfaces of the Linux kernel. The x32 ABI provides 32-bit integers, long and pointers (ILP32) on Intel and AMD 64-bit hardware. The ABI allows programs to take advantage of the benefits of x86-64 instruction set (larger number of CPU registers, better floating-point performance, faster position-independent code, shared libraries, function parameters passed via registers, faster syscall instruction) while using 32-bit pointers and thus avoiding the overhead of 64-bit pointers.

So, I'm wondering if it would be possible to enable x32 support in Erlang/OTP build. That way, I could make a Yocto image for x32 that runs on x86-64 machines.