Problems with qt4, requiring local repair

Paul Bibbings paul.bibbings@gmail.com
Mon Mar 1 21:48:00 GMT 2010


Dave Korn <dave.korn.cygwin@googlemail.com> writes:

> On 01/03/2010 20:32, Dave Korn wrote:
>> On 01/03/2010 19:36, Paul Bibbings wrote:
>> 
>>>    -rwxr-xr-x   1 ...  392653 2010-01-31 00:57 cyggcc_s-sjlj-1.dll
>> 
>>   That's not one of ours at all.  You can leave it, delete it, or move it
>> aside; it won't be referenced by any of the cygwin system stuff.
>
>   BTW (unless you're doing something *really* tricky) that means you forgot to
> use "--disable-sjlj-exceptions" when you configured your compiler, which would
> go a very long way toward explaining why it didn't interoperate with the
> standard distro and why __gxx_personality_v0 was missing; we use Dwarf-2 EH
> throughout.
>
>     cheers,
>       DaveK

Thanks for the quick replies, Dave.

I have moved on some and re-installed the two libraries libssp0 and
libstdc++6 and through experimenting I came to the conclusion too that
cyggcc_s-sjlj-1 was not a Cygwin lib.  It does seem, however, that I
will have to go round for another build on a couple of my compilers
since I did indeed miss --disable-sjlj-exceptions on gcc-4.4.3 and the
gcc-4.5.0 snapshot (and a few other things too).  Before I do that, can
I ask whether it would be appropriate generally to follow the config
from

   $ /cygdrive/d/CPPProjects/Emacs/cxxtest $gcc-4 -v
   Using built-in specs.
   Target: i686-pc-cygwin
   Configured with:
   /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure
   --srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4
   --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
   --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var
   --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man
   --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man
   -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap
   --enable-version-specific-runtime-libs --with-slibdir=/usr/bin
   --libexecdir=/usr/lib --enable-static --enable-shared
   --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld
   --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions
   --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers
   --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp
   --enable-libada --enable-threads=posix --with-arch=i686
   --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4
   CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake
   GNATBIND_FOR_TARGET=gnatbind AS=/opt/gcc-tools/bin/as.exe
   AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe LD=/opt/gcc-tools/bin/ld.exe
   LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe
  --with-ecj-jar=/usr/share/java/ecj.jar

  Thread model: posix
  gcc version 4.3.4 20090804 (release) 1 (GCC)

if I want to build, say, the latest gcc-4.4.3 release to be my Cygwin
workhorse gcc compiler (for C++, mainly)?  Suitably adjusted, of course,
as I only want c,c++ and I want it installed under /opt/gcc-4.4.3.

On the current problem, having tidied up the libraries, I can get a
basic Qt4 app to build, but I'm not getting any joy running it.  It
merely hangs at a point that I am still trying to trace through
debugging with gdb;  and this is building using the Cygwin distro
gcc-4.3.4. 

Thanks again for your help.

Regards

Paul Bibbings


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



More information about the Cygwin mailing list