[klibc] Bug#749060: klibc: ppc64el needs static binaries as well

maximilian attems maks at stro.at
Fri May 23 07:47:35 PDT 2014


Hi,

On Fri, May 23, 2014 at 10:57:31AM -0300, Mauricio Faria de Oliveira wrote:
> 
> The ppc64el port needs klibc's static binaries, like ppc64.

This segfaulting is a bug in klibc that needs investigation.
 
> This patch enables the ARCH=ppc64 make env var in debian/rules, in order
> for 'debian/patches/ppc64-static.patch' to take effect on ppp64el too.

I have no problem to merge this for Debian as workaround for now,
but this is not the solution. Effort in making shared binary
working too is appreciated. It is probably a wrong syscall API.

Thank you.

-- 
maks
 

> Index: klibc-2.0.3/debian/rules
> ===================================================================
> --- klibc-2.0.3.orig/debian/rules
> +++ klibc-2.0.3/debian/rules
> @@ -33,7 +33,7 @@
>  ifeq ($(DEB_HOST_ARCH),sh4)
>  DEB_MAKE_ENVVARS := ARCH=sh
>  endif
> -ifeq ($(DEB_HOST_ARCH),ppc64)
> +ifneq (,$(findstring $(DEB_HOST_ARCH),ppc64 ppc64el))
>  DEB_MAKE_ENVVARS := ARCH=ppc64
>  endif
>  



More information about the klibc mailing list