Re: iiimf-csconv [was: Re: Can't build gtk20, no ideas....]
From: Volker Stolz (vs_at_freebsd.org)
Date: 04/21/04
- Previous message: Kris Kennaway: "Re: iiimf-csconv [was: Re: Can't build gtk20, no ideas....]"
- In reply to: Kris Kennaway: "Re: iiimf-csconv [was: Re: Can't build gtk20, no ideas....]"
- Next in thread: nico: "unsubscribe"
- Reply: nico: "unsubscribe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Apr 2004 12:03:56 +0200 To: Kris Kennaway <kris@obsecurity.org>
On Wed, Apr 21, 2004 at 02:36:16AM -0700, Kris Kennaway wrote:
> > Just to add a data point in case somebody wants to look at this:
> > Looks like a smashed stack: gdb'ing drops you dead in libc's _start() when
> > you get back from the "call main", if you use "exit" instead of "return" in
> > main, something else goes wrong...Interestingly, the problem goes away when
> > linking with ElectricFence.
>
> Interesting, you're able to reproduce this? I couldn't even do that
> outside of bento.
In fact, I think I just nailed it:
===> Building package for iiimf-csconv-r11.4
Creating package /usr/ports/packages/All/iiimf-csconv-r11.4.tgz
Registering depends:.
Creating gzip'd tar ball in '/usr/ports/packages/All/iiimf-csconv-r11.4.tgz'
FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #15: Thu Mar 25 15:34:34 CET 2004 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386
The port uses threads, and you'll see many incarnations of
"cc .. -pthread -lc" which really strain the eyes.
Stripping the "-lc" from the configure-script seems to do the trick.
I'll submit a patch once I cleaned up.
Volker
-- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME Neu! Ändern Sie den Anfangstag Ihrer Woche _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: Kris Kennaway: "Re: iiimf-csconv [was: Re: Can't build gtk20, no ideas....]"
- In reply to: Kris Kennaway: "Re: iiimf-csconv [was: Re: Can't build gtk20, no ideas....]"
- Next in thread: nico: "unsubscribe"
- Reply: nico: "unsubscribe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Regarding Shared library size
... lib2.so has dependency on lib1.so(ie. ... If I reproduce lib2.so by linking
with the new lib1.so, ... I am working in Solaris. ... (comp.unix.solaris) - Regarding Shared library size
... lib2.so has dependency on lib1.so(ie. ... If I reproduce lib2.so by linking
with the new lib1.so, ... I am working in Solaris. ... (comp.unix.programmer)