Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Charles Wilson
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

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Charles Wilson
>Dave Korn wrote: >> The next step is to manually re-run the final link command that you posted >> earlier: > > Actually, maybe it's not. I just downloaded xerces-c-3.0.1.tar.gz, untarred > it > > and it built right through without problems, including linking all the exes - > CreateDOMDocument.e

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Dave Korn
Dave Korn wrote: > > and it built right through without problems, including linking all the exes - > CreateDOMDocument.exe in particular. (Testsuite run still in progress). One of the ThreadTests hung and had to be killed after running for half an hour, but everything else went smoothly: > di

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Dave Korn
Dave Korn wrote: > The next step is to manually re-run the final link command that you posted > earlier: Actually, maybe it's not. I just downloaded xerces-c-3.0.1.tar.gz, untarred it, configured with $ ./configure --disable-static CC=gcc-4 CXX=g++-4 CFLAGS=-O3 CXXFLAGS=-O3 -v 2>&1 --prefix=

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Dave Korn
Charles Wilson wrote: > [39037](sec 3)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0005f780 typeinfo > name for xercesc_3_0::XMLException > [39038](sec 3)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0005c7f0 typeinfo for > xercesc_3_0::XMLException > R typeinfo for xercesc_3_0::XMLException So, from

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Charles Wilson
Dave Korn wrote: > Let's see the output for 'nm xercesc/util/.libs/XMLException.o'; that should > confirm whether the typeinfo got generated or not. After that, we'll need to > find out if it's in the DLL but not exported, and whether auto-export is in > operation or not. Attached. objdump -x

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-04 Thread Dave Korn
Charles Wilson wrote: > Charles Wilson wrote: >> 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):

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-03 Thread Charles Wilson
Christopher Faylor wrote: > # To: cygwin-announce at cygwin dot com > # Date: Tue, 14 Apr 2009 19:01:10 +0200 > # Subject: [1.7] Updated: cygwin-1.7.0-46 > > From "cvs log speclib" > > revision 1.23 > date: 2009/04/18 17:23:45; author: cgf; state: Exp; lines: +29 -7 > * mkimport: Specify .tex

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-03 Thread Charles Wilson
Charles Wilson wrote: > 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

Re: Xerces-C: two issues with gcc4/cygwin-1.7

2009-05-03 Thread Christopher Faylor
On Sun, May 03, 2009 at 01:54:54PM -0400, Charles Wilson wrote: >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 capabili