From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4AFEF1381F3 for ; Fri, 22 Apr 2016 07:48:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F184621C036; Fri, 22 Apr 2016 07:48:38 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1EEA21C01E for ; Fri, 22 Apr 2016 07:48:37 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id j10so9377209lfg.3 for ; Fri, 22 Apr 2016 00:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=e1heYWstgDd0OMoaBdmVCW2dRAFUSTUDA4yYBBEJy9k=; b=YNFK090D9EZorsK3h0R2orhXXr4N5yGQOXMHqvlDXWmOP8GpdhhA9JpJmsUYEhT/3t Kn+HNBZlLivIgeZlXmwvRSnwINIm6WRAQnw0+6B8wywLuTIWfjkgJpUjglHpZPtSIPD+ CWVrdDCtfpOexhmdVn5ehF5KYtL8jZa4ZdhZDBjoNokg0HnissjmAlpk5gRNv35jm5V1 8eece62BdPyvt8UBneJDuIHI2kllCGeAJkuKI4QZ9e7mN+zaDyFzkxuykdZRmrHrjTuV ayyv5Qaj5vF7l64DYkGm1Pj8imTEc9srhLvGUiyKZtbFtG4EVpXtgr84MxkuJp7oYpwh l1Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=e1heYWstgDd0OMoaBdmVCW2dRAFUSTUDA4yYBBEJy9k=; b=dZAl9eZJfwtxZ/l5EgeVFLt5s7nOaX6VDcKNoUCPVYQdg1J0+D7RywKNJ2aVn4pWk1 3yA7Cl5iqOlClCgww3PlhMY8KSAsOPXNUc9uhkVEbYfMgUfUr7Rx7Y3uF2pLy2a6M9Jx qwxxn95JLRZoQ7C10ZYLaftkAtsRSjtfqQq4SLEY8x2Z49PkDyOoHeSG3LK+m68lkRMz S0lWBduSwrapesDuhr62o44to5vTTsQcfh9EIQ4PYCqS9d3T4HwqQYEIZtwpS9OO6+mb 2YiJp4TDS9w155zlZbRm2380YFWk+xv7jWLrahTn7nWE+EEXrFt5K0+ma9OS3Z/Pbhmv bHow== X-Gm-Message-State: AOPr4FXQbTS2JHmoU80Gy62iXmWTRRIhfqSzOinGMnvw54YOYIoqUi5UmifwSkZvmxvu4B6p7Dq8kkTpefSx4A== X-Received: by 10.25.196.20 with SMTP id u20mr2727288lff.164.1461311316313; Fri, 22 Apr 2016 00:48:36 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.25.19.72 with HTTP; Fri, 22 Apr 2016 00:48:16 -0700 (PDT) In-Reply-To: <20160420023359.GU5369@vapier.lan> References: <1461075186-13641-1-git-send-email-lenohou@gmail.com> <20160420023359.GU5369@vapier.lan> From: Leno Hou Date: Fri, 22 Apr 2016 15:48:16 +0800 Message-ID: Subject: Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" , Leno Hou , Zhao Kevin Content-Type: multipart/alternative; boundary=001a114b0d56ea4b6705310e0da6 X-Archives-Salt: 656b9f14-9a3a-4ecc-9e88-327cd9d9d713 X-Archives-Hash: f8efef7192fc2dc31a39b41e5597ee26 --001a114b0d56ea4b6705310e0da6 Content-Type: text/plain; charset=UTF-8 On Wed, Apr 20, 2016 at 10:33 AM, Mike Frysinger wrote: > On 19 Apr 2016 22:12, Leno Hou wrote: > > --- /dev/null > > +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch > > @@ -0,0 +1,26 @@ > > +--- configure.orig 2016-04-09 16:24:17.507053635 +0000 > > ++++ configure 2016-04-09 16:25:41.851918142 +0000 > > +@@ -4947,6 +4947,9 @@ > > + ppc64-*linux*|powerpc64-*linux*) > > + LD="${LD-ld} -m elf32ppclinux" > > + ;; > > ++ ppc64le-*linux*|powerpc64le-*linux*) > > ++ LD="${LD-ld} -m elf32lppclinux" > > ++ ;; > > you appear to be patching libtool code. this should be in libtool > itself. if it's a common issue, we'll want to leverage elibtoolize > here. make a patch and stick it in eclass/ELT-patches/ppc64le/, > and then update the libtool.eclass file to apply those. then update > opensp to call the elibtoolize function in src_prepare. > -mike > Thanks Mike, I've sent the patch in mailing list and cc'ed you. Could you help me to review and merge? -Leno Hou --001a114b0d56ea4b6705310e0da6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Wed, Apr 20, 2016 at 10:33 AM, Mike Frysin= ger <vapier@gentoo.org> wrote:
On 19 Apr 2016 22:12, Leno Hou wrote:
> --- /dev/null
> +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch<= br> > @@ -0,0 +1,26 @@
> +--- configure.orig=C2=A0 =C2=A02016-04-09 16:24:17.507053635 +0000 > ++++ configure=C2=A0 =C2=A0 =C2=A0 =C2=A0 2016-04-09 16:25:41.85191814= 2 +0000
> +@@ -4947,6 +4947,9 @@
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ppc64-*linux*|powerpc64-*linux*) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0LD=3D"${LD-ld} -m elf32= ppclinux"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;
> ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 ppc64le-*linux*|powerpc64le-*linux*)
> ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 LD=3D"${LD-ld} -m elf32lppcl= inux"
> ++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;;

you appear to be patching libtool code.=C2=A0 this should be in libt= ool
itself. if it's a common issue, we'll want to leverage elibtoolize<= br> here.=C2=A0 make a patch and stick it in eclass/ELT-patches/ppc64le/,
and then update the libtool.eclass file to apply those.=C2=A0 then update opensp to call the elibtoolize function in src_prepare.
-mike

Thanks Mike, I've sent the patch in mailing= list and cc'ed you. Could you help me to review and merge?
<= br>
-Leno Hou=C2=A0

--001a114b0d56ea4b6705310e0da6--