Re: [alpine-devel] Change to -march=i586 for x86?
On Wed, 27 May 2015 15:45:43 +0300
Timo Teras <timo.teras_at_iki.fi> wrote:
> 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.
Would be nice to fix it asap yes.
We need a workaround for v3.2. I might do: CFLAGS="$CFLAGS -march=i586"
for mesa for now. I don't know how to solve it otherwise.
> > 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.
good. then we keep kernel non-PAE. Alternatively we could have a
separate non-PAE kernel config, but i would prefer not for now.
Received on Wed May 27 2015 - 17:31:00 GMT