[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#178343: marked as done (mklibs: Seems to break C++ exceptions)

Your message dated Mon, 24 Oct 2005 13:54:42 +0200
with message-id <200510241354.42941.aragorn@tiscali.nl>
and subject line mklibs: Seems to break C++ exceptions
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 25 Jan 2003 12:28:44 +0000
>From anthony@derobert.net Sat Jan 25 06:28:36 2003
Return-path: <anthony@derobert.net>
Received: from ip68-100-128-98.nv.nv.cox.net (mx02.derobert.net) [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18cPQK-0005T3-00; Sat, 25 Jan 2003 06:28:36 -0600
Received: from bohr.local ([])
	by mx02.derobert.net with esmtp (Exim 3.22 #1 (Red Hat Linux))
	id 18cPQJ-0003cD-00; Sat, 25 Jan 2003 07:28:35 -0500
Received: from anthony by bohr.local with local (Exim 3.36 #1 (Debian))
	id 18cPQG-00079v-00; Sat, 25 Jan 2003 07:28:35 -0500
From: Anthony DeRobertis <asd@suespammers.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mklibs: Seems to break C++ exceptions
X-Mailer: reportbug 1.50
Date: Sat, 25 Jan 2003 07:28:32 -0500
Message-Id: <E18cPQG-00079v-00@bohr.local>
Sender: Anthony DeRobertis <anthony@bohr.local>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.1 required=5.0

Package: mklibs
Version: 0.1.8
Severity: normal

Hash: SHA1

When run with normal libraries, this works:

		LoginCGI() : SpecialCGI(do_create_get_map | do_create_post_map) {
			try {
				SpecialReader r(CONFIG_FILE);
				bad_state = false;
			} catch ( ... ) {
				// Don't just use a default here because that might
				// leave us open to attack by, e.g., running the system
				// out of file descriptors.
				bad_state = true;

when run in the chroot built w/ mklibs, it causes an abort. CONFIG_FILE
does not exist, so SpecialReader throws an exception. SpecialReader is
part of a dynamic lib. It is built with -fpic and linked with
- -shared-libgcc:
	/usr/bin/g++-3.2 -Iinc -ansi -pedantic -Wall -Werror -march=i486 -O3
	-Os	-shared-libgcc  -shared -Xlinker -h -Xlinker "libspecial.so.1.2"
	-o "lib/libspecial.so.1.2.0" src/SpecialCGI.opic src/SpecialMap.opic
	src/SpecialTemplate.opic src/SpecialIO.opic src/SpecialUtils.opic
	src/SpecialHitlist.opic src/SpecialAccumulator.opic
	src/SpecialProblem.opic -lc

The above code which is crashing is also linked with -shared-libgcc.
Everything is compiled with "gcc version 3.2.1 20020924 (Debian prerelease)"

I've tried this in a minamal chroot made like like (with login.cgi being
the problem program and sh being dash):
mklibs -L../SpecialCGILib/lib/ -d test/lib test/bin/login.cgi test/bin/sh

- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bohr 2.4.16 #2 SMP Wed Nov 28 05:25:00 EST 2001 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages mklibs depends on:
ii  binutils         The GNU assembler, linker and bina
ii  gcc [c-compiler]          2:2.95.4-17    The GNU C compiler.
ii  gcc-2.95 [c-compiler]     1:2.95.4-11    The GNU C compiler.
ii  gcc-3.0 [c-compiler]      1:3.0.4-7      The GNU C compiler.
ii  gcc-3.2 [c-compiler]      1:3.2.1-0pre3  The GNU C compiler.
ii  libc6-pic                 2.2.5-14.3     GNU C Library: PIC archive library
ii  python                    2.1.3-4        An interactive object-oriented scr

Version: GnuPG v1.2.0 (GNU/Linux)


Received: (at 178343-done) by bugs.debian.org; 24 Oct 2005 11:54:24 +0000
>From aragorn@tiscali.nl Mon Oct 24 04:54:24 2005
Return-path: <aragorn@tiscali.nl>
Received: from smtp-out1.tiscali.nl [] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EU0uG-00031e-00; Mon, 24 Oct 2005 04:54:24 -0700
Received: from [] (helo=strider.fjphome.nl)
	by smtp-out1.tiscali.nl with esmtp (Tiscali http://www.tiscali.nl)
	id 1EU0uF-0007vU-BM
	for <178343-done@bugs.debian.org>; Mon, 24 Oct 2005 13:54:23 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: 178343-done@bugs.debian.org
Subject: mklibs: Seems to break C++ exceptions
Date: Mon, 24 Oct 2005 13:54:42 +0200
User-Agent: KMail/1.7.2
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200510241354.42941.aragorn@tiscali.nl>
Delivered-To: 178343-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

These (178343 and 178511) are very old bugs and from the history it looks 
as if they've probably been fixed in 0.1.12. Therefore closing.

Feel free to reopen or resubmit if they can still be reproduced.

Frans Pop

Reply to: