This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: ports, please report on trunk status
- From: Daniel Jacobowitz <drow at false dot org>
- To: Roland McGrath <roland at redhat dot com>
- Cc: libc-ports at sources dot redhat dot com
- Date: Thu, 2 Mar 2006 11:51:59 -0500
- Subject: Re: ports, please report on trunk status
- References: <20060228202247.8DE52180B1C@magilla.sf.frob.com> <20060228205416.GA5974@nevyn.them.org>
On Tue, Feb 28, 2006 at 03:54:16PM -0500, Daniel Jacobowitz wrote:
> There are three relevant configurations for ARM:
> arm-none-linux-gnu / LinuxThreads
> Previously built and worked; will recheck. No particular
> kernel requirements.
> arm-none-linux-gnu / NPTL
> Previously built and worked; will recheck. Requires kernel
> 2.6.15.
> arm-none-linux-gnueabi / NPTL
> Builds and works. Requires kernel 2.6.16-rc1.
I've now checked the LinuxThreads and NPTL configurations for
arm-none-linux-gnu; along with the patch I just checked in, they're
fine too. ARM is in pretty good shape.
> What's the deal with check-abi - how are we supposed to support it for
> ports? There is presently no ARM data.
arm-none-linux-gnu looks fine. arm-none-linux-gnueabi is irrelevant,
since everything is GLIBC_2.4.
For the record here's some scripts I found handy for comparing ABI
lists. Run the first one to generate an abilist and merge it with
the existing ones into the current directory; run the second one
to compare a new library to that. I used this to build baselines
from Debian since I did not have an FSF ARM 2.3 build available.
glibc-abilist.sh:
#!/bin/sh
srcdir=$1
library=$2
config=$3
cross=$4
set -e
base=`basename ${library} | sed 's/\.so.*//'`
${cross}objdump --dynamic-syms ${library} > ${base}.dynsym
LC_ALL=C awk -f ${srcdir}/scripts/abilist.awk \
${base}.dynsym > ${base}.symlist
LC_ALL=C awk -v config=${config} -f ${srcdir}/scripts/merge-abilist.awk \
${srcdir}/abilist/${base}.abilist ${base}.symlist \
> ${base}.abilist
glibc-check.sh:
#!/bin/sh
srcdir=$1
library=$2
config=$3
cross=$4
set -e
base=`basename ${library} | sed 's/\.so.*//'`
#abilist=${srcdir}/abilist/${base}.abilist
abilist=${base}.abilist
${cross}objdump --dynamic-syms ${library} > ${base}.dynsym
LC_ALL=C awk -f ${srcdir}/scripts/abilist.awk \
${base}.dynsym > ${base}.symlist
LC_ALL=C awk -v config=${config} -f ${srcdir}/scripts/extract-abilist.awk \
${abilist} \
| diff -p -U 0 - ${base}.symlist
--
Daniel Jacobowitz
CodeSourcery