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: "Steve Munroe" <sjmunroe at us dot ibm dot com>
- To: Roland McGrath <roland at redhat dot com>, geoffk at geoffk dot org
- Cc: aj at suse dot de, libc-alpha at sources dot redhat dot com, libc-alpha-owner at sources dot redhat dot com, Steve Munroe <sjmunroe at vnet dot ibm dot com>
- Date: Fri, 27 Sep 2002 16:58:50 -0500
- Subject: Re: [PATCH] remove chown .symver for ppc64
Roland McGrath writes:
> > Since PowerPC64's first implementation will be GLIBC_2.3 we should not
> > generate a symbol_version for GLIBC_2.0.
>
> This should be done with the SHLIB_COMPAT macro.
Tried:
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
But the powerpc64 compile fails with:
...lchown.S:33:18: missing binary operator before '('
Even with -E -dD the compile fails before generating any output text so I
am not sure what is up.
>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. Without these #defines the final #if statement does not parse
correctly.
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?