delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/30/11:47:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_BJ,TW_JC
X-Spam-Check-By: sourceware.org
Message-ID: <51094E62.30000@dunslane.net>
Date: Wed, 30 Jan 2013 11:46:26 -0500
From: Andrew Dunstan <andrew AT dunslane DOT net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0
MIME-Version: 1.0
To: Reini Urban <rurban AT x-ray DOT at>
CC: cygwin AT cygwin DOT com
Subject: Re: Binutils objcopy bug (was Re: rebase segfault)
References: <50F5D246 DOT 6010902 AT gmail DOT com> <50F653AB DOT 80102 AT gmail DOT com> <20130116123509 DOT GA16991 AT calimero DOT vinschen DOT de> <50F6AD63 DOT 8080106 AT gmail DOT com> <20130124030145 DOT 22fa143f AT YAAKOV04> <20130124092746 DOT GC8311 AT calimero DOT vinschen DOT de> <510103AF DOT 3080305 AT gmail DOT com> <20130124100037 DOT GB24121 AT calimero DOT vinschen DOT de> <51027B9E DOT 3080104 AT gmail DOT com> <CAEwic4b6jQkh+5FT+R1um12U09nqHoNcR1Vj7kZpsuvQb7pMpg AT mail DOT gmail DOT com> <20130125150006 DOT GC26731 AT calimero DOT vinschen DOT de> <5102A09A DOT 7040506 AT gmail DOT com> <CAHiT=DE5doJnH43DRmbkn7jhN=+cjPo8Cftfsw6fy0+GkZeSzA AT mail DOT gmail DOT com> <51038B4F DOT 1090903 AT gmail DOT com> <CAHiT=DET_G9kAazCtDLzMxxL62YcZqcQ6y22ODqna7E-v7aA-A AT mail DOT gmail DOT com>
In-Reply-To: <CAHiT=DET_G9kAazCtDLzMxxL62YcZqcQ6y22ODqna7E-v7aA-A@mail.gmail.com>
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

On 01/29/2013 05:30 PM, Reini Urban wrote:
> On Sat, Jan 26, 2013 at 1:52 AM, marco atzeri  wrote:
>> On 1/26/2013 7:32 AM, Reini Urban wrote:
>>>> rebase is not to blame. I agree ;-)
>>>> Someone else is incorrectly managing the reloc table,
>>>> and also objcopy seems innocent ...
>>>>
>>>> Postgresql dll's are built in this way:
>>>
>>> My strong guess is dllwrap.
>>> No other packages uses the ancient dllwrap anymore.
>>> I tried to get rid of it, but got stuck somewhere else.
>>>
>> Hi Reini,
>> I agree dllwrap seems the coolprit, and "gcc -shared"
>> seems a better alternative, at least on a single test with this dll.
>>
>> I looked on the postgresql makefiles and it is a big mess to
>> replace dllwrap; upstream is crazy, they crippled configure
>> forcing a specific version and refusing to use Automake.
>>
>> Autoconf+Automake will be a much cleaner approach, and will
>> allow to avoid at all the platform checks.
> Yes, I had the same impression but it is unfortunately not realistic.
> I worked against dllwrap removal but got stuck somewhere.
> When I find my old patches I'll hand it over to you. Just came back
> from holidays.
>
>


I will be very happy to work with you to remove the use of dllwrap etc. 
for cygwin. Since I'm a Postgres committer (and the only one interested 
in Cygwin at all) I'm in a good position to do this. I believe the 
Postgres project had problems in the past with automake and made a 
decision long ago not to use it, so we're not going down that route. 
However, that surely need not stop us from getting this working.

cheers

andrew




--
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