X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49FDDA6E.80607@cwilson.fastmail.fm> Date: Sun, 03 May 2009 13:54:54 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Cygwin Mailing List Subject: Xerces-C: two issues with gcc4/cygwin-1.7 Content-Type: multipart/mixed; boundary="------------030100060403030807030108" 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 --------------030100060403030807030108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've been trying to compile xerces-c 3.0 for cygwin-1.7, and I've run into two problems. First, the -lpthread issue showed up again: *** Warning: linker path does not have real file for library -lpthread. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have $ cygcheck -cd cygwin cygwin 1.7.0-46 I thought this had been fixed as of 1.7.0-45 -- or does libtool need a tweak to accept the "new" libpthread.a as an import library? $ nm -f posix -A /usr/lib/libpthread.a | grep ' I ' because all of the __imp__* symbols in libpthread.a are listed as ' U '. Worse, looking at the objdump output: $ objdump -f /usr/lib/libpthread.a | grep d000000.o But, in the current speclib, d000000.o was added specifically for libtool: ... # Add a dummy .idata object for libtool so that it will think # this library is an import library. my $iname_o = 'd000000.o'; $extract{$iname_o} = 1; open my $as_fd, '|-', $as, '-R', '-o', $iname_o, "-"; print $as_fd <