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


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?



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