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

Bug#268204: marked as done (gcc-3.3: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3')



Your message dated Fri, 27 Aug 2004 01:48:12 +0200
with message-id <16686.30396.765459.180497@gargle.gargle.HOWL>
and subject line Bug#268204: gcc-3.3: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
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; 26 Aug 2004 15:02:58 +0000
>From johns839@casews.com Thu Aug 26 08:02:58 2004
Return-path: <johns839@casews.com>
Received: from adsl-68-77-105-228.dsl.lgtpmi.ameritech.net (webcase.casews.com) [68.77.105.228] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C0LmD-0000BM-00; Thu, 26 Aug 2004 08:02:57 -0700
Received: from localhost (webcase [127.0.0.1])
	by webcase.casews.com (Postfix) with ESMTP
	id 4C7301300F; Thu, 26 Aug 2004 11:18:42 -0400 (EDT)
Received: from [127.0.0.1] (msuerl.egr.msu.edu [35.12.228.16])
	by webcase.casews.com (Postfix) with ESMTP
	id AA2DF1300E; Thu, 26 Aug 2004 11:18:37 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jeremiah Johnson <johns839@casews.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.3: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
X-Mailer: reportbug 2.63
Date: Thu, 26 Aug 2004 11:02:21 -0400
Message-Id: <[🔎] 20040826151837.AA2DF1300E@webcase.casews.com>
X-Virus-Scanned: by AMaViS 0.3.12
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gcc-3.3
Version: 1:3.3.4-6sarge1
Severity: normal

If I type (magicsquares is a matlab script)

mcc -vm magicsquares

I get

-----------------------------------------------------------------
Loaded cache file: /home/johns839/.matlab/R14/mcc.cache/1.24.4.5:msuerl:644596010
-----------------------------------------------------------------
-----------------------------------------------------------------
-> DISPLAY=localhost:11.0  used from the environment, not the cache . . .
-----------------------------------------------------------------
-----------------------------------------------------------------
-> Checking access to X display localhost:11.0 . . .
   If no response hit ^C and fix host or access control to host.
   Otherwise, checkout any error messages that follow and fix . . .
-> Successful . . .
-----------------------------------------------------------------

  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.

Compiler version: 4.0 (R14)
Parsing file "/home/johns839/matlab_testing/magicsquare.m"
        (Referenced from: "Compiler Command Line").
Parsing file "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m"
        (Referenced from: "Compiler Command Line").
Parsing file "/usr/local/matlab/toolbox/compiler/dirname.m"
        (Referenced from: "Compiler Command Line").
Parsing file "/usr/local/matlab/toolbox/matlab/elmat/magic.m"
        (Referenced from: "/home/johns839/matlab_testing/magicsquare.m").
Parsing file "/usr/local/matlab/toolbox/matlab/strfun/str2num.m"
        (Referenced from: "/home/johns839/matlab_testing/magicsquare.m").
Parsing file "/usr/local/matlab/toolbox/compiler/deploy/hgrc.m"
        (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m").
Parsing file "/usr/local/matlab/toolbox/matlab/strfun/str2double.m"
        (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m").
Parsing file "/usr/local/matlab/toolbox/matlab/general/usejava.m"
        (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m").
Parsing file "/usr/local/matlab/toolbox/matlab/iofun/fileparts.m"
        (Referenced from: "/usr/local/matlab/toolbox/compiler/dirname.m").
Generating file "magicsquare_main.c".
Depfun main loop, iteration 1
Processing /usr/local/matlab/toolbox/matlab/mcc.enc
1 items added
Processing dependencies...
0 items added
Depfun main loop, iteration 2
Processing dependencies...
0 items added
Processing include files...
2 items added.
Processing exclude list...
0 items removed.
Processing installed directories...
589 items removed.
Generating MATLAB path...
Created 31 path items.
Depfun main loop converged in 2 iterations, total number of files = 7
Generating file "magicsquare_mcc_component_data.c".
Executing command: mbuild -O -v -output "magicsquare" "magicsquare_main.c" "magicsquare_mcc_component_data.c" -link exe
/usr/local/matlab/bin/mbuild: line 1: /lib/libc.so.6: Permission denied
----------------------------------------------------------------
-> mbuildopts.sh sourced from directory (DIR = $TMW_ROOT/bin)
   FILE = /usr/local/matlab/bin/mbuildopts.sh
----------------------------------------------------------------
->    TMW_ROOT              = /usr/local/matlab
->    CC                    = gcc-3.3 -fexceptions
->    CC flags:
         CFLAGS             = -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions
         CDEBUGFLAGS        = -g
         COPTIMFLAGS        = -O -DNDEBUG
         CLIBS              = -Wl,--rpath-link,/usr/local/matlab/bin/glnx86 -L/usr/local/matlab/bin/glnx86  -lmwmclmcrrt -lm -lstdc++
         arguments          =
->    LD                    = gcc-3.3 -fexceptions
->    Link flags:
         LDFLAGS            = -pthread
         LDDEBUGFLAGS       = -g
         LDOPTIMFLAGS       = -O
         arguments          =
----------------------------------------------------------------

-> gcc-3.3 -fexceptions -c  -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions  -O -DNDEBUG magicsquare_main.c

-> gcc-3.3 -fexceptions -c  -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions  -O -DNDEBUG magicsquare_mcc_component_data.c

-> gcc-3.3 -fexceptions -O -pthread  -o magicsquare  magicsquare_main.o magicsquare_mcc_component_data.o -Wl,--rpath-link,/usr/local/matlab/bin/glnx86 -L/usr/local/matlab/bin/glnx86  -lmwmclmcrrt -lm -lstdc++

/usr/lib/gcc-lib/i486-linux/3.3.4/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status

    mbuild: link of 'magicsquare' failed.

Error: An error occurred while shelling out to mbuild (error code = -1).
Unable to build executable.

I've tried this with gcc 3.2, sames results


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages gcc-3.3 depends on:
ii  binutils                 2.14.90.0.7-8   The GNU assembler, linker and bina
ii  cpp-3.3                  1:3.3.4-6sarge1 The GNU C preprocessor
ii  gcc-3.3-base             1:3.3.4-6sarge1 The GNU Compiler Collection (base 
ii  libc6                    2.3.2.ds1-13    GNU C Library: Shared libraries an
ii  libgcc1                  1:3.4.1-4sarge1 GCC support library

-- no debconf information

---------------------------------------
Received: (at 268204-done) by bugs.debian.org; 26 Aug 2004 23:48:16 +0000
>From doko@cs.tu-berlin.de Thu Aug 26 16:48:16 2004
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C0Tya-0004oh-00; Thu, 26 Aug 2004 16:48:16 -0700
Received: from mailhost.cs.tu-berlin.de (postfix@mail.cs.tu-berlin.de [130.149.17.13])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id BAA00204;
	Fri, 27 Aug 2004 01:48:14 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id 9B287F218;
	Fri, 27 Aug 2004 01:48:14 +0200 (MEST)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 08321-14; Fri, 27 Aug 2004 01:48:13 +0200 (MEST)
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP;
	Fri, 27 Aug 2004 01:48:13 +0200 (MEST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id i7QNmDwS007310;
	Fri, 27 Aug 2004 01:48:13 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16686.30396.765459.180497@gargle.gargle.HOWL>
Date: Fri, 27 Aug 2004 01:48:12 +0200
To: Jeremiah Johnson <johns839@casews.com>, 268204-done@bugs.debian.org
Subject: Re: Bug#268204: gcc-3.3: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
In-Reply-To: <[🔎] 20040826151837.AA2DF1300E@webcase.casews.com>
References: <[🔎] 20040826151837.AA2DF1300E@webcase.casews.com>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
Delivered-To: 268204-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Not a bug. you need to link using g++-3.3, not gcc-3.3.

Jeremiah Johnson writes:
> Package: gcc-3.3
> Version: 1:3.3.4-6sarge1
> Severity: normal
> 
> If I type (magicsquares is a matlab script)
> 
> mcc -vm magicsquares
> 
> I get
> 
> -----------------------------------------------------------------
> Loaded cache file: /home/johns839/.matlab/R14/mcc.cache/1.24.4.5:msuerl:644596010
> -----------------------------------------------------------------
> -----------------------------------------------------------------
> -> DISPLAY=localhost:11.0  used from the environment, not the cache . . .
> -----------------------------------------------------------------
> -----------------------------------------------------------------
> -> Checking access to X display localhost:11.0 . . .
>    If no response hit ^C and fix host or access control to host.
>    Otherwise, checkout any error messages that follow and fix . . .
> -> Successful . . .
> -----------------------------------------------------------------
> 
>   To get started, type one of these: helpwin, helpdesk, or demo.
>   For product information, visit www.mathworks.com.
> 
> Compiler version: 4.0 (R14)
> Parsing file "/home/johns839/matlab_testing/magicsquare.m"
>         (Referenced from: "Compiler Command Line").
> Parsing file "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m"
>         (Referenced from: "Compiler Command Line").
> Parsing file "/usr/local/matlab/toolbox/compiler/dirname.m"
>         (Referenced from: "Compiler Command Line").
> Parsing file "/usr/local/matlab/toolbox/matlab/elmat/magic.m"
>         (Referenced from: "/home/johns839/matlab_testing/magicsquare.m").
> Parsing file "/usr/local/matlab/toolbox/matlab/strfun/str2num.m"
>         (Referenced from: "/home/johns839/matlab_testing/magicsquare.m").
> Parsing file "/usr/local/matlab/toolbox/compiler/deploy/hgrc.m"
>         (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m").
> Parsing file "/usr/local/matlab/toolbox/matlab/strfun/str2double.m"
>         (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m").
> Parsing file "/usr/local/matlab/toolbox/matlab/general/usejava.m"
>         (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m").
> Parsing file "/usr/local/matlab/toolbox/matlab/iofun/fileparts.m"
>         (Referenced from: "/usr/local/matlab/toolbox/compiler/dirname.m").
> Generating file "magicsquare_main.c".
> Depfun main loop, iteration 1
> Processing /usr/local/matlab/toolbox/matlab/mcc.enc
> 1 items added
> Processing dependencies...
> 0 items added
> Depfun main loop, iteration 2
> Processing dependencies...
> 0 items added
> Processing include files...
> 2 items added.
> Processing exclude list...
> 0 items removed.
> Processing installed directories...
> 589 items removed.
> Generating MATLAB path...
> Created 31 path items.
> Depfun main loop converged in 2 iterations, total number of files = 7
> Generating file "magicsquare_mcc_component_data.c".
> Executing command: mbuild -O -v -output "magicsquare" "magicsquare_main.c" "magicsquare_mcc_component_data.c" -link exe
> /usr/local/matlab/bin/mbuild: line 1: /lib/libc.so.6: Permission denied
> ----------------------------------------------------------------
> -> mbuildopts.sh sourced from directory (DIR = $TMW_ROOT/bin)
>    FILE = /usr/local/matlab/bin/mbuildopts.sh
> ----------------------------------------------------------------
> ->    TMW_ROOT              = /usr/local/matlab
> ->    CC                    = gcc-3.3 -fexceptions
> ->    CC flags:
>          CFLAGS             = -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions
>          CDEBUGFLAGS        = -g
>          COPTIMFLAGS        = -O -DNDEBUG
>          CLIBS              = -Wl,--rpath-link,/usr/local/matlab/bin/glnx86 -L/usr/local/matlab/bin/glnx86  -lmwmclmcrrt -lm -lstdc++
>          arguments          =
> ->    LD                    = gcc-3.3 -fexceptions
> ->    Link flags:
>          LDFLAGS            = -pthread
>          LDDEBUGFLAGS       = -g
>          LDOPTIMFLAGS       = -O
>          arguments          =
> ----------------------------------------------------------------
> 
> -> gcc-3.3 -fexceptions -c  -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions  -O -DNDEBUG magicsquare_main.c
> 
> -> gcc-3.3 -fexceptions -c  -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions  -O -DNDEBUG magicsquare_mcc_component_data.c
> 
> -> gcc-3.3 -fexceptions -O -pthread  -o magicsquare  magicsquare_main.o magicsquare_mcc_component_data.o -Wl,--rpath-link,/usr/local/matlab/bin/glnx86 -L/usr/local/matlab/bin/glnx86  -lmwmclmcrrt -lm -lstdc++
> 
> /usr/lib/gcc-lib/i486-linux/3.3.4/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
> collect2: ld returned 1 exit status
> 
>     mbuild: link of 'magicsquare' failed.
> 
> Error: An error occurred while shelling out to mbuild (error code = -1).
> Unable to build executable.
> 
> I've tried this with gcc 3.2, sames results
> 
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.5-1-686
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
> 
> Versions of packages gcc-3.3 depends on:
> ii  binutils                 2.14.90.0.7-8   The GNU assembler, linker and bina
> ii  cpp-3.3                  1:3.3.4-6sarge1 The GNU C preprocessor
> ii  gcc-3.3-base             1:3.3.4-6sarge1 The GNU Compiler Collection (base 
> ii  libc6                    2.3.2.ds1-13    GNU C Library: Shared libraries an
> ii  libgcc1                  1:3.4.1-4sarge1 GCC support library
> 
> -- no debconf information
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: