X-Original-To: alpine-devel@lists.alpinelinux.org Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) by lists.alpinelinux.org (Postfix) with ESMTP id 817175C4231 for ; Wed, 1 Feb 2017 06:42:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1485931350; s=default; d=flatglobe.org; i=tmhoang@flatglobe.org; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1240; bh=p7NKrD330h2JwCen0Zmtcy2CpUsCyr9RQp4RFB5jwYY=; b=c2Yn8yv42ZTDbkKVJ8p9QT/DW9y6UzC094LtpTJgwauLj+McdyhWxmS+vC3y+2hP SikNQD75pI5EPj/Q37C2adFvhVHwTRyJpPwkQIQl65jJXbKw/03RXKRUyVAgke+4daP 8XdtXR4RdpXrg125K/qNwTjwPNkcev0IRjoXRu2s= Received: from emily (cpe-204-210-151-44.hvc.res.rr.com [204.210.151.44]) by mx.zohomail.com with SMTPS id 1485931350938277.5612639771567; Tue, 31 Jan 2017 22:42:30 -0800 (PST) Date: Wed, 1 Feb 2017 01:42:24 -0500 From: "Tuan M. Hoang" To: Timo Teras Cc: "alpine-devel" Subject: Re: [alpine-devel] Porting Alpine scripts Message-ID: <20170201014224.3842294c.tmhoang@flatglobe.org> In-Reply-To: <20170130132156.1ce001a8@vostro.util.wtbts.net> References: <155a8e57d76.f37920c130996.6728092923369604578@flatglobe.org> <1560fbd5a78.dbf5aa7b48820.4632348656468847927@flatglobe.org> <20160722084514.7c01123f@vostro.util.wtbts.net> <15614c77014.1200f0e697958.371787825394349914@flatglobe.org> <20160723092945.0680e7fd@vostro> <1562340dbde.12a594a5120275.3795912911296475631@flatglobe.org> <156260c81a5.f458ee7355285.6767768145040849925@flatglobe.org> <20160726194654.69b12731@vostro> <15635238f98.e963f442298215.3433654478481171006@flatglobe.org> <20161116023639.23b44cf1.tmhoang@flatglobe.org> <20161117082440.7f5e0fa0@vostro.util.wtbts.net> <20161119041548.765e6513.tmhoang@flatglobe.org> <20161119092109.13567a93@vostro> <20161121073927.2d0a9e65.tmhoang@flatglobe.org> <20161121105925.685761a2@vostro.util.wtbts.net> <20170122184652.338e4344.tmhoang@flatglobe.org> <20170127090054.5f6ba6ce@vostro.util.wtbts.net> <20170128200029.271b0fcf.tmhoang@flatglobe.org> <20170130132156.1ce001a8@vostro.util.wtbts.net> Organization: flatglobe.org X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 30 Jan 2017 13:21:56 +0200 Timo Teras wrote: > > Cross-compiling strace and gdb requires 'linux-headers' > > installed in $CBUILDROOT. strace is cool but gdb still fails =20 >=20 > Should fix strace APKBUILD to support cross-compilation using the > makedepends_host as used in other cross-compile enabled packages. Thanks, it's very neat. > > elf_gregset_t and elf_fpregset_t were supposed to be defined in > > https://github.com/torvalds/linux/blob/master/arch/s390/include/asm/elf= .h > > and I think it should be built in 'linux-headers', but no trace of > > them. =20 >=20 > Strange. Sounds like a bug somewhere. Indeed. It was a musl bug, and with some patches, gdb is good now. Looks like /usr/lib/libfakeroot.so is the one causes the segfault. Is there any option in abuild to build package with out being stripped? I would like to do so then debug fakeroot better. Adding -DDEBUG or -g in CFLAGS and CXXFLAGS in APKBUILD doesn't help. > > Here is the log of strace fakeroot : http://pastebin.com/Pn7YUWRz =20 >=20 > Could you retry with "strace -f -s 1024" ? > I am not sure the strace would be informative for you :=20 http://pastebin.com/4P0f5sDF Thanks, Tuan --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---