This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] remove chown .symver for ppc64
- From: Roland McGrath <roland at redhat dot com>
- To: "Steve Munroe" <sjmunroe at us dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 27 Sep 2002 15:04:57 -0700
- Subject: Re: [PATCH] remove chown .symver for ppc64
> But the powerpc64 compile fails with:
> ...lchown.S:33:18: missing binary operator before '('
That looks like you didn't #include <shlib-compat.h>.
Look at an existing use of the macros and copy its form exactly.
powerpc32/libgcc-compat.S is an example that is in powerpc asm code.
> From past experience I suspect that symbols (ABI_libc_GLIBC_x_y) before
> GLIBC_2_3 are not defined for powerpc64 since that is the first (and only)
> release.
You are confused about how the system works.
> Some additional questions for Roland or Geoff. Is GLIBC_2_1 the correct
> obsoleted version? Would it be easier to create a
> powerpc/powerpc64/lchown.S (without the version stuff) for this?
It needs to be fixed anyway, so that another powerpc variant configuration,
or a powerpc build with --enable-oldest-abi, omits the unneeded cruft.
Finally, a friendly word: if you don't learn how to trim your CC lists,
eventually some of these people will find you beat you with sticks.