Mail archive
alpine-devel

Re: [alpine-devel] Change to -march=i586 for x86?

From: Timo Teras <timo.teras_at_iki.fi>
Date: Wed, 27 May 2015 15:45:43 +0300

On Wed, 27 May 2015 14:27:57 +0200
Natanael Copa <ncopa_at_alpinelinux.org> wrote:

> Hi,
>
> We currently build our x86 build with -march=i486. There was some old
> soekris and alix(?) board that had cpu with 486 instruction set.

ALIX is i586, but no PAE.

> There are issues with mesa:
>
> [ 12956.121] (EE) AIGLX error: dlopen
> of /usr/lib/xorg/modules/dri/i915_dri.so failed (Error
> relocating /usr/lib/xorg/modules/dri/i915_dri.so:
> __sync_val_compare_and_swap_8: symbol not found)
>
> This is because 64bit atomic ops are not available for i486.
>
> mono and some other package (sems?) had similar issue. There are
> probably more.
>
> I think we want drop i486 support and move to -march=i586 or newer and
> I think we want do that sooner than later.

Agreed. I think edge should be moved to i586 during next gcc bump, or
even perhaps immediately.

> The question is: What 32 bit architecture should we aim for? i586?
> i686? Do we need/want support non PAE hardware?
>
> What are the lowest boards people are using nowdays?

I use still ALIX in some installs. So I'd want non-PAE support.

Thanks,
Timo


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed May 27 2015 - 15:45:43 UTC