X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49FFC2A8.6070704@cwilson.fastmail.fm> Date: Tue, 05 May 2009 00:38:00 -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 AT cygwin DOT com Subject: Re: Xerces-C: two issues with gcc4/cygwin-1.7 References: <1241465188 DOT 1507 DOT 1313692515 AT webmail DOT messagingengine DOT com> In-Reply-To: <1241465188.1507.1313692515@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Charles Wilson wrote: >> and it built right through without problems, including linking all the exes - >> CreateDOMDocument.exe in particular. (Testsuite run still in progress). >> >> Chuck, I suspect this is likely to be an already-fixed bug in binutils; >> would you like to try your build again with homebrewed binutils from CVS? > > I'll give that a shot when I get home. No joy. I get the same error: libtool: link: g++ -O2 -pipe -o .libs/CreateDOMDocument.exe src/CreateDOMDocument/CreateDOMDocument.o ../src/.libs/libxerces-c.dll.a -L/usr/lib /usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.dll.a /usr/lib/libcurl.dll.a /usr/lib/libssh2.dll.a -lssl -lcrypto -lz -licuuc -licudata -L/usr/lib/gcc/i686-pc-cygwin/4.3.2 src/CreateDOMDocument/CreateDOMDocument.o:CreateDOMDocument.cpp:(.gcc_except_table+0xe8): undefined reference to `typeinfo for xercesc_3_0::XMLException' src/CreateDOMDocument/CreateDOMDocument.o:CreateDOMDocument.cpp:(.gcc_except_table+0xf0): undefined reference to `typeinfo for xercesc_3_0::DOMException' collect2: ld returned 1 exit status make[2]: *** [CreateDOMDocument.exe] Error 1 make[2]: Leaving directory `/usr/src/packages/xerces-c/xerces-c-3.0.1-10/build/samples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/xerces-c/xerces-c-3.0.1-10/build' make: *** [all] Error 2 *** ERROR: make failed $ ld --version GNU ld (GNU Binutils) 2.19.51.20090505 $ g++ --version g++ (GCC) 4.3.2 20080827 (beta) 2 So, I've generated the output of g++ -shared -nostdlib /usr/lib/gcc/i686-pc-cygwin/4.3.2/crtbegin.o .libs/libxerces-c.la.lnkscript -L/usr/lib /usr/lib/libcurl.dll.a /usr/lib/libssh2.dll.a -lssl -lcrypto -lz -licuuc -licudata -L/usr/lib/gcc/i686-pc-cygwin/4.3.2 -L/usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/lib -L/usr/lib/gcc/i686-pc-cygwin/4.3.2/../../.. /usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.dll.a -lgcc_s -lgcc_s -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc_s -lgcc_s /usr/lib/gcc/i686-pc-cygwin/4.3.2/crtend.o -o .libs/cygxerces-c-3-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libxerces-c.dll.a -Wl,--enable-extra-pe-debug but I'll send that privately (it's 180k compressed). -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/