From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mail.openembedded.org (Postfix) with ESMTP id C916665C5C for ; Fri, 18 Mar 2016 00:22:21 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id u190so142197066pfb.3 for ; Thu, 17 Mar 2016 17:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=DN/LR7l8DIqBp2wAj8iY8zyf8EUw5OU1aFldTdT3CAY=; b=nuV4MproDYsiG0Fv7OqA+2Nhv5nDnnnCm/HQvt2Zmn0UPY1rp045S8POAgSaTpUGdd A8yUu+8eNdRcYnLqOgayms4ViaRHCd0MWqM+HVmaAjFj9slIV0Von/UR+JjB+unOuacz Fl0ynwPLUGJMdhPtUJU4aOW4j5kvYlkQCac9KmyUSM0kg3S6EJGYHDWu0Uu0H9uK81P4 HCtd0OWUSG5yE2qiiwINNojiguzXI+WeZ4QRcoCfgLVUCHXlULdENjgi8Yr2m3c8Y1zc aM9HvrSr1natUjfIz0DXB5MrMdJybzDjazbP2yT68SVIz7WyBqAglPNq0FGsVko0pGtY 1mjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=DN/LR7l8DIqBp2wAj8iY8zyf8EUw5OU1aFldTdT3CAY=; b=iN9AacEpwFray+qIPVr/QbI2o6Bbdvv8Au3rCwgImdy9lkpx86OWNcNN0khY+P+Jpi uRFIwdGfkXpsEVqUMhT9nPSxTRLGV8FlF3NJH2aGY1Mx8n2IhszkqGBzrxGszWQAIbmW dZPpXRt0ib1dY3aJDMB8DkaKnd6yfaRINKx2dbX/bg32ix0jWpXO/tQi4XARMOCw+QLl lhY2DDLhWF2+NAvd18rxZxcjHDXWp77kebbfMnIv1oXH4uj+M4tnTnqMfwuUoofANg00 anVDqDtvqc87yIUC56W9xqW5+C+EnzL1Nsqt+u0W/qdC6Ajru1KoF30sTAemYxx0fv4q 07Rg== X-Gm-Message-State: AD7BkJJOef8x1DlOl3YSBrXYoFQLf5JGC2wsFWnHG+jGERoMH7W9wmk6wdoAQfCZJAjazQ== X-Received: by 10.66.154.233 with SMTP id vr9mr19306430pab.66.1458260542007; Thu, 17 Mar 2016 17:22:22 -0700 (PDT) Received: from [192.168.0.76] (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm16055306pfm.10.2016.03.17.17.22.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Mar 2016 17:22:20 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Pgp-Agent: GPGMail 2.6b2 From: Khem Raj In-Reply-To: Date: Thu, 17 Mar 2016 17:22:15 -0700 Message-Id: <1BF009E9-B718-4FE2-BBF3-83CEA93D1ABB@gmail.com> References: <1456753354-7448-1-git-send-email-adrian.ratiu@ni.com> To: "Burton, Ross" X-Mailer: Apple Mail (2.3112) Cc: OE-core , Jacob Champion Subject: Re: [PATCH v1] site: enable pthread support for x86_64 APR builds X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 00:22:21 -0000 X-Groupsio-MsgNum: 79765 Content-Type: multipart/signed; boundary="Apple-Mail=_F19D269A-9D5C-4020-9762-4ECFDD658C62"; protocol="application/pgp-signature"; micalg=pgp-sha1 --Apple-Mail=_F19D269A-9D5C-4020-9762-4ECFDD658C62 Content-Type: multipart/alternative; boundary="Apple-Mail=_D47561A4-042B-4210-96F2-4890D8F4EECF" --Apple-Mail=_D47561A4-042B-4210-96F2-4890D8F4EECF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 29, 2016, at 5:50 AM, Burton, Ross = wrote: >=20 >=20 > On 29 February 2016 at 13:42, Ioan-Adrian Ratiu > wrote: > apr_cv_process_shared_works=3Dno: several platforms already set this > option, which conservatively disables support for PROCESS_SHARED > mutexes. >=20 > Which is interesting as building apr-native (so the site files don't = get used) for x86-64 gives: >=20 > apr_cv_process_shared_works=3Dyes >=20 > Can we not go around disabling stuff when it actually does work? No it really doesnt work. its running a configure time test on your = build host ( which I assume is x86_64 mostly now a days) and then deciding that process shared mutexes work, which is not = correct. If we think that it should work on x86_64 then lets cache the value to = =E2=80=98yes=E2=80=99 but not leave it at the mercy of configure. >=20 > Ross > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core --Apple-Mail=_D47561A4-042B-4210-96F2-4890D8F4EECF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Feb 29, 2016, at 5:50 AM, Burton, Ross <ross.burton@intel.com> wrote:


On 29 February 2016 at 13:42, Ioan-Adrian Ratiu = <adrian.ratiu@ni.com> = wrote:
  apr_cv_process_shared_works=3Dno: = several platforms already set this
  option, which conservatively disables support for = PROCESS_SHARED
  mutexes.

Which is = interesting as building apr-native (so the site files don't get used) = for x86-64 gives:

apr_cv_process_shared_works=3Dyes

Can we not go around disabling stuff when it = actually does work?

No it really doesnt work. its running a configure time = test on your build host ( which I assume is x86_64 mostly = now
a days) and then deciding that process shared mutexes = work, which is not correct. 

If = we think that it should work on x86_64 then lets cache the value to = =E2=80=98yes=E2=80=99 but not leave it
at the mercy of = configure.


Ross
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-cor= e

= --Apple-Mail=_D47561A4-042B-4210-96F2-4890D8F4EECF-- --Apple-Mail=_F19D269A-9D5C-4020-9762-4ECFDD658C62 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlbrSjsACgkQuwUzVZGdMxQ0TQCcDqKPR7w657h5cOz17COTb3Fd pz4An1mRufpPqVOLkjGFWvIZBq4IiLLt =q/nM -----END PGP SIGNATURE----- --Apple-Mail=_F19D269A-9D5C-4020-9762-4ECFDD658C62--