maximilian attems
2014-May-23 14:47 UTC
[klibc] Bug#749060: klibc: ppc64el needs static binaries as well
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 >
Mauricio Faria de Oliveira
2014-May-23 15:21 UTC
[klibc] Bug#749060: klibc: ppc64el needs static binaries as well
Hi maks, Adding Anton in CC (who submitted klibc ppc64le support upstream [1]), in case he can help.>> 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. [...]I agree. Thanks for accepting to carry the workaround for ppc64el too. > [...] Effort in making shared binary> working too is appreciated. It is probably a wrong syscall API.Unfortunately I don't find myself in klibc expertise area. I can try, but maybe it's not the effective way forward (not sure I'd be able to devote the effort/time that I personally would like to). Hopefully others can contribute in that more significantly. :) Thank you. [1] http://www.zytor.com/pipermail/klibc/2013-December/003518.html -- Mauricio Faria de Oliveira IBM Linux Technology Center
Thorsten Glaser
2014-May-23 16:08 UTC
[klibc] Bug#749060: klibc: ppc64el needs static binaries as well
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA384 Mauricio Faria de Oliveira dixit:>> [...] Effort in making shared binary >> working too is appreciated. It is probably a wrong syscall API. > > Unfortunately I don't find myself in klibc expertise area. I can try, > but maybe it's not the effective way forward (not sure I'd be able to > devote the effort/time that I personally would like to).Give me a machine, and if I find any time (not very likely but still), I'll have a look at it. I fixed most arches, except Itanic (but that one's asm is just *too* strange) anyway. ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAASEAmE/kae2OppreGbHl/45N56/d1IhXYQsc95ydk8UQuoOKd6e/+MRzwwcKz37v/VZX1co9knQECn8Pk+URARq7KChTvi2blM0T7Aqj140NVf6XTKxwx6uJpmgeOGLcGOxmgFjYkfcdMPPuejwJBpt+8fdFeKsDcKfD2oibXN7v11zngjSortJhhObsNpkfrJRKQRESudMv9+NSdty020iFw7r+P3vXZQcGlDt14iLcJplYwHW3KqcAs2Hfc9mA/p8BraMg9HwGprSiuqI25lmZFvaX3IcCtmH36blxTYgEDmfUcDZonlHP7dpxyzg4pHtuYyXzxPMl0yDHqJ7jWVzUecXYzji4aVIxaDVWRlkfrohRYD6Gzo+lAEo3a6TVstgr tg at odem.66h.42h.de bye, //mirabilos - -- ah, that reminds me, thanks for the stellar entertainment that you and certain other people provide on the Debian mailing lists ? sole reason I subscribed to them (I'm not using Debian anywhere) is the entertainment factor ? Debian does not strike me as a place for good humour, much less German admin-style humour -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (MirBSD) iQIcBAEBCQAGBQJTf3JnAAoJEHa1NLLpkAfgATEP/3oaJtv8DSV+S9bHZExiBJ3C HislLDCYMs5Fo3bMxQbVIA7FLpiANi1CY+GXfdJdAHD6KPots0XF1/UGqr4Ipb5v iZ0/Ii3mJH6+edl05pa3ClJbWrocgl/k0YhmpBAiwWsezKtr6pelaJnVtNeN6+Kk PU0LlHpXh5RcVSMRmiVpT9ntFYrCGWAtGMx822UdEgAlsd7U+RzXLK6Z0PulsCIF vjxdWgiyTAl4SX6q0FzbVXUJ/ZkrufEI1cCX6o8Uyo5uVEqtX4miw5HEoIbsYhOB htleuAQyFt+G9sBeGmU9Sy9m9gYwSSKIVHg5jm+rZbdFA7qS219AbiVJfguM66dS x0TIre7eu2CV6H8tM+WnR9AO086Kk01h64NoggUwXYPXXfDZKUYxzROaKWGrX315 4p9Nkd3DCtiyITXmLEtcH4D7iQJvtAOyWwq2XxYVo74AdrOQLZv6KIzEISOFhQZr unBIe8vUo4cGVb+MjtGRVLDl9b/F4gRn/lGSTYSsI9tb76VRdHIn4qeKIXGqLbbH ovfrWqLISC5V7FfG0/933+Ye/x/DH3MNWD/ZGJxuPm/2DL8uUOEvOi7OHqESR83V vecWcR8cpepeuwRVfrFlFbzoeHvUtW9IqCU9KGmy1jOyiT/XhnJjNSi3BgR667B4 T4Fm+lRDixzE8yCxans4 =tyKt -----END PGP SIGNATURE-----
Seemingly Similar Threads
- Bug#749060: klibc: ppc64el needs static binaries as well
- Bug#749060: klibc: ppc64el needs static binaries as well
- [klibc:master] ppc64: ELFv2: Load TOC value in system call stub
- [Bug 3645] New: -fzero-call-used-regs=used detection seems to fail on Linux ppc64el
- [PATCH] Add hppa, hppa64, ppc64el architectures