[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <21114.4427.769890.875410@gargle.gargle.HOWL>
Date: Wed, 6 Nov 2013 10:52:11 +0100
From: Mikael Pettersson <mikpelinux@...il.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: Kees Cook <keescook@...omium.org>, Will Drewry <wad@...omium.org>,
Paul Moore <paul@...l-moore.com>,
Richard Weinberger <richard@....at>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...capital.net>,
libseccomp-discuss@...ts.sourceforge.net,
"linux-arm-kernel\@lists.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: ARM audit, seccomp, etc are broken wrt OABI syscalls
Russell King - ARM Linux writes:
> OABI compat was meant to allow a transition from OABI to EABI. While
> a lot of effort went in to the kernel side of that, which does allow
> OABI based userspace to boot with an EABI kernel, and allows OABI built
> test programs to run under an EABI kernel, actually being able to
> migrate userland is far from trivial - and something that I've never
> been able to do. Hence, virtually all my long-running ARM machines
> here are stuck with OABI, and I don't see that situation ever changing.
I did a live incremental upgrade from OABI to EABI on my systems years
ago. What I did was to first patch my OABI glibc to look for .so files
in oabi/ subdirectories. Then I moved all OABI .so files to oabi/
subdirectories, and deleted all OABI static .a libraries. After that
it was "simply" a matter of rebuilding everything as EABI, in the right
order. The main advantage over this compared to a bootstrap-from-scratch
(which I've done 4 times on different architectures) was that I had access
to fully functional utilities and build tools from the start.
I _might_ be able to locate the glibc patch I used; do you want it?
/Mikael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists