X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_JC X-Spam-Check-By: sourceware.org X-Received: by 10.14.207.6 with SMTP id m6mr27025623eeo.10.1359186774712; Fri, 25 Jan 2013 23:52:54 -0800 (PST) Message-ID: <51038B4F.1090903@gmail.com> Date: Sat, 26 Jan 2013 08:52:47 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: 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> <20130125150006 DOT GC26731 AT calimero DOT vinschen DOT de> <5102A09A DOT 7040506 AT gmail DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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. Could you make another check on 9.2.2 package before a new RFU http://matzeri.altervista.org/cygwin-1.7/postgresql/ Thanks in advance Marco -- 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