public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vlad at demoninsight dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/42159] app compiled with 4.4.2 SIGABRTs after a trivial nested throw/stack unwinding
Date: Sun, 29 Nov 2009 16:04:00 -0000	[thread overview]
Message-ID: <20091129160442.21199.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42159-18481@http.gcc.gnu.org/bugzilla/>



------- Comment #9 from vlad at demoninsight dot com  2009-11-29 16:04 -------
Well, I think my scheme worked: I have succeeded in reverse engineering the
4.4.2 fink scripts into something I could use to build 4.5 trunk against the
prerequisite libs installed via fink.

Indeed, 4.5 trunk does not appear to have this issue:

[10:00:53] TEMP>g++-4.5 -v -save-temps test.cpp -o crash
Using built-in specs.
COLLECT_GCC=g++-4.5
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../src/configure --prefix=/sw/lib/gcc4.5.trunk
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran --with-gmp=/sw --with-libiconv-prefix=/sw
--with-ppl=/sw --with-cloog=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib --build=x86_64-apple-darwin10
--host=x86_64-apple-darwin10 --target=x86_64-apple-darwin10
Thread model: posix
gcc version 4.5.0 20091128 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.2' '-v' '-save-temps' '-o'
'crash' '-shared-libgcc' '-mtune=generic'
 /sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/4.5.0/cc1plus -E -quiet
-v -D__DYNAMIC__ test.cpp -fPIC -mmacosx-version-min=10.6.2 -mtune=generic
-fpch-preprocess -o test.ii
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/../../../../x86_64-apple-darwin10/include"
#include "..." search starts here:
#include <...> search starts here:

/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/../../../../include/c++/4.5.0

/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/../../../../include/c++/4.5.0/x86_64-apple-darwin10

/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/../../../../include/c++/4.5.0/backward
 /sw/lib/gcc4.5.trunk/include
 /sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/include
 /sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/include-fixed
 /usr/include
 /System/Library/Frameworks
 /Library/Frameworks
End of search list.
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.2' '-v' '-save-temps' '-o'
'crash' '-shared-libgcc' '-mtune=generic'
 /sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/4.5.0/cc1plus
-fpreprocessed test.ii -fPIC -quiet -dumpbase test.cpp
-mmacosx-version-min=10.6.2 -mtune=generic -auxbase test -version -o test.s
GNU C++ (GCC) version 4.5.0 20091128 (experimental) (x86_64-apple-darwin10)
        compiled by GNU C version 4.5.0 20091128 (experimental), GMP version
4.3.1, MPFR version 2.4.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.5.0 20091128 (experimental) (x86_64-apple-darwin10)
        compiled by GNU C version 4.5.0 20091128 (experimental), GMP version
4.3.1, MPFR version 2.4.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: f85e2aae35d4b378debe824f8e82886d
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.2' '-v' '-save-temps' '-o'
'crash' '-shared-libgcc' '-mtune=generic'
 as -arch x86_64 -force_cpusubtype_ALL -o test.o test.s
COMPILER_PATH=/sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/4.5.0/:/sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/4.5.0/:/sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/:/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/:/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/
LIBRARY_PATH=/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/:/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/../../../:/usr/lib/
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.2' '-v' '-save-temps' '-o'
'crash' '-shared-libgcc' '-mtune=generic'
 /sw/lib/gcc4.5.trunk/libexec/gcc/x86_64-apple-darwin10/4.5.0/collect2 -dynamic
-arch x86_64 -macosx_version_min 10.6.2 -weak_reference_mismatches non-weak -o
crash -lcrt1.10.5.o -L/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0
-L/sw/lib/gcc4.5.trunk/lib/gcc/x86_64-apple-darwin10/4.5.0/../../.. test.o
-lstdc++ -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -no_compact_unwind -lSystem
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.2' '-v' '-save-temps' '-o'
'crash' '-shared-libgcc' '-mtune=generic'

[10:01:04] TEMP>./crash
CAUGHT


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42159


  parent reply	other threads:[~2009-11-29 16:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  1:00 [Bug c++/42159] New: " vlad at demoninsight dot com
2009-11-24  1:25 ` [Bug c++/42159] " howarth at nitro dot med dot uc dot edu
2009-11-24  1:37 ` vlad at demoninsight dot com
2009-11-24 15:49 ` vlad at demoninsight dot com
2009-11-25 15:59 ` aufpasser at gmail dot com
2009-11-25 17:16 ` vlad at demoninsight dot com
2009-11-25 17:28 ` howarth at nitro dot med dot uc dot edu
2009-11-25 17:29 ` howarth at nitro dot med dot uc dot edu
2009-11-28  6:42 ` [Bug target/42159] " vlad at demoninsight dot com
2009-11-29 16:04 ` vlad at demoninsight dot com [this message]
2009-11-30 15:19 ` vlad at demoninsight dot com
2009-11-30 15:27 ` rguenth at gcc dot gnu dot org
2009-11-30 16:07 ` vlad at demoninsight dot com
2009-11-30 16:47 ` redi at gcc dot gnu dot org
2009-12-01  5:50 ` vlad at demoninsight dot com
2009-12-31 17:42 ` [Bug target/42159] [4.4 only] " simon at pushface dot org
2010-05-18 10:29 ` [Bug target/42159] [4.4/4.5/4.6] app " fxcoudert at gcc dot gnu dot org
2010-05-19 22:06 ` simon at pushface dot org
2010-06-06 19:33 ` michael at jarvis dot net
2010-07-15 16:58 ` pinskia at gcc dot gnu dot org
2010-07-15 16:59 ` pinskia at gcc dot gnu dot org
2010-07-15 16:59 ` pinskia at gcc dot gnu dot org
2010-07-15 17:03 ` redi at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091129160442.21199.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).