This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ports, please report on trunk status


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]