From owner-freebsd-stable@FreeBSD.ORG Wed Apr 21 03:04:03 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B501616A4CE for ; Wed, 21 Apr 2004 03:04:03 -0700 (PDT) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5D2E43D1D for ; Wed, 21 Apr 2004 03:04:02 -0700 (PDT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5-michaelw-20030918) with ESMTP id i3LA3u401327; Wed, 21 Apr 2004 12:03:56 +0200 Received: (from stolz@localhost)i3LA3uFc034758; Wed, 21 Apr 2004 12:03:56 +0200 (CEST) (envelope-from stolz) Date: Wed, 21 Apr 2004 12:03:56 +0200 From: Volker Stolz To: Kris Kennaway Message-ID: <20040421100356.GA5599@i2.informatik.rwth-aachen.de> References: <20040421004132.GA2292@dogma.freebsd-uk.eu.org> <1082508499.41182.4.camel@shumai.marcuscom.com> <20040421005507.GA70542@xor.obsecurity.org> <20040421092659.GA19703@i2.informatik.rwth-aachen.de> <20040421093616.GA76685@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040421093616.GA76685@xor.obsecurity.org> X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.4i cc: stable@freebsd.org Subject: Re: iiimf-csconv [was: Re: Can't build gtk20, no ideas....] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 10:04:04 -0000 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