SID on linux and windows libraries

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SID on linux and windows libraries

Onno Kortmann
Hi,

some time ago I mailed to this list about segfaults when trying to run SID.
Neither disabling shared libraries nor debugging into the DLL mechanisms of
SID got me further.

I think I found the cause of the bug, at least I could isolate it enough so
that I got a sid installation which seems to be usable.

SID seems to include win32 libraries somehow in it's build process, even on a
linux machine. I had mingw32 xgcc and the wine libraries installed in my
Debian system - after removing them, everything works fine, no more
segfaults!

I thought this would be worth mentioning here. Maybe there is a bug in your
configure script?

Best regards,

Onno
Reply | Threaded
Open this post in threaded view
|

Re: SID on linux and windows libraries

Frank Ch. Eigler
Hi -

On Mon, May 22, 2006 at 01:31:52AM +0200, Onno Kortmann wrote:
> [...]
> I think I found the cause of the bug, at least I could isolate it enough so
> that I got a sid installation which seems to be usable.
> SID seems to include win32 libraries somehow in it's build process [...]

Weird!  Would you mind trying *building* with those win32 libraries
around, but *running* without them, to help narrow down whether this
is a build-time or run-time bug?

We use libtool's libltdl library to locate the (libtool-created)
libraries that contain the component models.

> I thought this would be worth mentioning here. Maybe there is a bug
> in your configure script?

More likely, it's a problem with the libltdl snapshot in
sid/component/cfgroot/libltdl.

Thanks for investigating!

- FChE

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SID on linux and windows libraries

Onno Kortmann
Hi,
> On Mon, May 22, 2006 at 01:31:52AM +0200, Onno Kortmann wrote:
> > [...]
> > I think I found the cause of the bug, at least I could isolate it enough
> > so that I got a sid installation which seems to be usable.
> > SID seems to include win32 libraries somehow in it's build process [...]
>
> Weird!  Would you mind trying *building* with those win32 libraries
> around, but *running* without them, to help narrow down whether this
> is a build-time or run-time bug?
This sounds silly, but after reinstalling the MINGW cross compiler and
compiling sid, the new binaries work as expected - and also the old sid
binaries still work. So if there is a problem, I'd assume that it occurs
during build-time.

Sadly, I did not check whether there were any upgrades in the mingw libraries
from the version I had to the newest in the debian repository.
So it may also be a problem in the mingw (debian) packages....

Sorry for the hassle!

At least, I'm now ready to play around with sid :)

Bye,

Onno