delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/07/13:54:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=e+mvYqbOe2jCBj8U
47DWe3pTydxKysPp0sHTZimUuMZuhsuAthUbQ7IdZW4GfGugE6x+jfkVKm/Y4FoU
fgAmW71kzsatf07/ABlY6P0+C7feESt9HG7THyaTcTCiSj1mEwNJ5oh3rTn5ZKO8
pGK/+TpqBlqJHjXMMsY2lr08Tp8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=iT+ClQg7l9+kqzXFSmBMk4
hzFXk=; b=WCLfTM1eRJw31dY3Nnm3mqDVSgojs5nT9enQHsEleJbSrsGEN+QHJQ
yPupgTuUZ+jYgwYTvXtgzQcOMolo+PY8zvYmmN/40MnDet84H3vivXb7VsPJ/JPu
l9sHiXhG5aExGpYJmd7F/HH/cQhBk4AGGMQZxuK3VlUFxeRAw4OdI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=todays, today's, suspect, dlls
X-HELO: mx1.redhat.com
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Subject: [ANNOUNCEMENT] TeX Live 2018
To: cygwin AT cygwin DOT com
References: <20180429102453 DOT 0265 DOT 50F79699 AT gmail DOT com> <4e6fd651-4849-8d4a-d7bb-edfe13e75cac AT gmail DOT com> <20180429182505 DOT 7558 DOT 50F79699 AT gmail DOT com> <90200d58-4195-56ca-4671-4a5e4ff41558 AT gmail DOT com> <3c916846-23e4-63ec-032d-b0e173e93778 AT cygwin DOT com> <b3a6f806-9bb3-1720-ee1a-c0865b59d3ed AT cornell DOT edu> <e0f08800-6d88-edff-49c0-aaf33cf4bef4 AT cornell DOT edu>
Openpgp: preference=signencrypt
Autocrypt: addr=yselkowitz AT cygwin DOT com; keydata= xsDiBEkGONwRBADdCtCJumlgGFA2u2ZissSRq9NZ/76RTKZuUrO68Mnc7lMbQcnMPL3+ZYED 1Bt0dYY+SR0cdxUQvatybTdEY94FC5QOBZxyRvaSGTJKAqRu0ksLdi4R+2nqnv1vIajaNeM4 oMgIqUuruh/VUGaOX0bigfKCofInhY1zJXN3jhr1awCghfKh6EVeHKzfK7lQXqP1AtowzXkD /AjnIIJHDYioqpmv+t3EiQBAx/UVsBC4lekRTYspWvfSJNEkC2dlWrhqAkPTFTDnRPO/IsgC /AbsRr+5dLbpge62cyRWlCByuJneZhaNJM++tBSKYCNrmWP/cuELm7MxCFj2RC4CWyI7iosJ wnG21UlENFf+2MFTubdhvHAqkaKGA/9MK+AIGNqe2Ts+8k13jwSHelPT8njjmPpoXyoznnoF +nl/Qb/RoCKpnuYK2wJEKaaaBj5q7jmmVMCu6cshlp1aIV11o9OYiuGR8CXnGSmcGyLHmONO UOwwllrV1IZ5KcMEpjoVzssJmA8RFklwCvNmHNgVeLqh1zZw99Ec3NeX/c0oWWFha292IFNl bG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byIp JmSjdtV6Uctz/gaWscmxF9LoJOiEZE3HOov4OuUW2l0FJbqwXXYQ2Rovd58EIhhvwKqRho0I AB8+o/FKK3DjTT2G4QoXI5xz5Lv5/fEm4QqtC2hGrVeBjzv1t6b0b5zpDApmg+QR/XCVn367 uENVldBaDbR3Q+cpFungC5TpCrdrRsgKR3dCHvgo3UHlRQ1GKz391ZsQ84Now6/CtLTNywBT d4JsIZYAYDvFiXlQtGTioG0rxO204QlMYOGmh1eluARpLmYHAPwpWgItPm/tEI0g0pSA3Cl1 8n5OZVun7b1i8puMJ2ni/ZYmbvLDSJIaTbKK5/k+3Zw0kOV8QIhpVsNlb9WyXxY/4alMBAE/ Pq3n3MVnnJr2iEzDoF/kGi36gfUUqUiB3voy5CmQrcyiSPVmEdaT9/4KS5nGU44No4Q5wiyQ WLmoL3KW0JaDzc2loMbwteF215vMx3Mi0tZtA+455ZF9E5rIgMJJBBgRAgAJBQJJBjjcAhsM AAoJEP8gr5pm7h+UgsoAn3+cGxZsDkSh/8Qayutwz+E6G5mNAJ98+hZ5CeIJnifg+
Message-ID: <82f82173-c5e8-007d-361c-23e38cdee99e@cygwin.com>
Date: Mon, 7 May 2018 12:54:07 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <e0f08800-6d88-edff-49c0-aaf33cf4bef4@cornell.edu>
Note-from-DJ: This may be spam

On 2018-05-06 16:57, Ken Brown wrote:
> On 5/6/2018 4:02 PM, Ken Brown wrote:
>> On 4/29/2018 6:16 PM, Yaakov Selkowitz wrote:
>>> On 2018-04-29 08:33, Marco Atzeri wrote:
>>>> On 4/29/2018 11:25 AM, Lemures Lemniscati wrote:
>>>>> On each systems, there appeared a dialog telling something like that:
>>>>>
>>>>>     The procedure entry point 'glBegin' could not be located in the
>>>>>     dynamic link library 'cygOSMesa-8.dll'
>>>>
>>>> I would say that libOSMesa8 had a modification in the list of
>>>> exported symbols in the last version.
>>>>
>>>>
>>>> [TXT]    libOSMesa8-17.3.5-1    21-Feb-2018 09:50     267
>>>> [TXT]    libOSMesa8-17.3.8-1    05-Apr-2018 12:44     267
>>>> [TXT]    libOSMesa8-18.0.1-1    23-Apr-2018 07:35     267
>>>>
>>>> I do not see  glBegin in the last cygOSMesa-8.dll of 18.0.1-1
>>>> So it seems there is an issue on the last libOSMesa8 package
>>>
>>> Indeed, investigating now.
>>
>> I don't know where your are in your investigation, but I think I found
>> the problem.  The attached patch to the mesa sources seems to fix it

That's pretty much what I had locally as well.

> BTW, although the patch suffices to solve the immediate problem, I
> suspect that there may still be a lot of symbols in the various mesa
> DLLs that are exported in the autotools build but not in the meson
> build.  Indeed, there are quite a few 'noinst' libraries in Makefile.am
> files that are not listed in 'link_full' in the meson.build files.  If
> I'm not mistaken, such libraries will be linked with the --whole-archive
> option in the autotools build but not in the meson build.

This took a little more time to understand.  Libtool always treats
convenience libs (iow static noinst_LTLIBRARIES) along the lines of
meson's 'link_full', which results in all of their symbols to be
exported into the shared library into which they are linked (unless
dllexport or .def file are used, of course).  Meson distinguishes
between link_full and link_with, the latter of which is a normal link,
meaning that only those parts referenced elsewhere get pulled in.

With the above fix for OSMesa, a comparison of all the link libraries
between the last 17.3 libtool-based build and the 18.0 meson-based build
shows a lot of internal symbols no longer exported but the public ABI
looks sane now.  osdemo works with today's 18.0.3, so hopefully we are
set, but if there are other issues, please do let me know.

-- 
Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019