From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8867 invoked by alias); 3 May 2003 06:56:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8835 invoked by uid 71); 3 May 2003 06:56:00 -0000 Resent-Date: 3 May 2003 06:56:00 -0000 Resent-Message-ID: <20030503065600.8834.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org, debian-gcc@lists.debian.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Matthias Klose Received: (qmail 8424 invoked from network); 3 May 2003 06:54:28 -0000 Received: from unknown (HELO hirsch.in-berlin.de) (192.109.42.6) by sources.redhat.com with SMTP; 3 May 2003 06:54:28 -0000 Received: from tango.net.local (mail@dsl-213-023-154-207.arcor-ip.net [213.23.154.207]) (authenticated bits=0) by hirsch.in-berlin.de (8.12.9/8.12.9/Debian-1) with ESMTP id h436sQmE027207 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Sat, 3 May 2003 08:54:27 +0200 Received: from doko by tango.net.local with local (Exim 4.12 #1 (Debian) [+araqnid]) id 19Bquf-0007la-00; Sat, 03 May 2003 08:54:25 +0200 Message-Id: Date: Sat, 03 May 2003 06:56:00 -0000 From: Matthias Klose To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: debian-gcc@lists.debian.org Subject: libgcj/10609: --enable-debug: different meanings for libstdc++v3 and libffi X-SW-Source: 2003-05/txt/msg00192.txt.bz2 List-Id: >Number: 10609 >Category: libgcj >Synopsis: --enable-debug: different meanings for libstdc++v3 and libffi >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: pessimizes-code >Submitter-Id: net >Arrival-Date: Sat May 03 06:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Matthias Klose >Release: 3.3 20030429 (Debian prerelease) (Debian testing/unstable) >Organization: >Environment: System: Linux tango 2.4.20-xfs #1 Thu Dec 19 01:48:10 CET 2002 i686 unknown unknown GNU/Linux Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i386-linux >Description: [choosing category libgcj instead of missing libffi] Configuring with --enable-debug, which is supposed to build an additional debug library for libstdc++v3, libffi is configured for debug mode as well. libffi does not build an addition debug library, but encodes debugging into the standard library (FFI_DEBUG/FFI_ASSERT). >How-To-Repeat: >Fix: A workaround is to disable the debug configuration for libffi at all. --- libffi/configure.in~ 2003-05-03 00:40:01.000000000 +0200 +++ libffi/configure.in 2003-05-03 08:39:28.000000000 +0200 @@ -140,12 +140,6 @@ AC_SUBST(SHELL) -AC_ARG_ENABLE(debug, -[ --enable-debug debugging mode], - if test "$enable_debug" = "yes"; then - AC_DEFINE(FFI_DEBUG) - fi) - AC_ARG_ENABLE(structs, [ --disable-structs omit code for struct support], if test "$enable_structs" = "no"; then >Release-Note: >Audit-Trail: >Unformatted: