This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: [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.


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