[Bug target/24649] Hello world c++ prog core dumps
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-09-12 06:35 --- I've never been able to reproduce this. Do you still have the problem with the 4.x series of compiler? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org Status|ASSIGNED|WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649
[Bug target/24649] Hello world c++ prog core dumps
--- Comment #12 from steve at telxio dot com 2006-09-13 22:07 --- I will try again with the latest gcc 4.x -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649
[Bug target/24649] Hello world c++ prog core dumps
--- Comment #13 from steve at telxio dot com 2006-09-19 05:41 --- I have tried gcc 4.1.1 and I still have the same problem - I tried it on a different Solaris10 machine than before, with all the latest patches, and got the same result. gcc was built with: PKG_BUILD_GCC_LANGS=c,c++ test -d objdir || mkdir objdir (cd objdir; ../configure \ --prefix=/opt/aegis \ --with-as=/usr/ccs/bin/as \ --without-gnu-as \ --with-ld=/usr/ccs/bin/ld \ --without-gnu-ld \ --enable-languages=$PKG_BUILD_GCC_LANGS \ --enable-shared \ --enable-__cxa_atexit \ --with-cpu=ultrasparc) gmake -j3 -C objdir LIBCXXFLAGS='-O2' bootstrap-lean I am going to try a simpler build to see if any of the options are causing the problems. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649
[Bug target/24649] Hello world c++ prog core dumps
--- Comment #14 from ebotcazou at gcc dot gnu dot org 2006-09-19 05:49 --- > gcc was built with: > > PKG_BUILD_GCC_LANGS=c,c++ > test -d objdir || mkdir objdir > (cd objdir; ../configure \ > --prefix=/opt/aegis \ > --with-as=/usr/ccs/bin/as \ > --without-gnu-as \ > --with-ld=/usr/ccs/bin/ld \ > --without-gnu-ld \ > --enable-languages=$PKG_BUILD_GCC_LANGS \ > --enable-shared \ > --enable-__cxa_atexit \ > --with-cpu=ultrasparc) > gmake -j3 -C objdir LIBCXXFLAGS='-O2' bootstrap-lean --enable-__cxa_atexit is not supported on Solaris. Try to remove --with-cpu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649
[Bug target/24649] Hello world c++ prog core dumps
--- Comment #15 from steve at telxio dot com 2006-10-12 20:27 --- Subject: RE: Hello world c++ prog core dumps I have found the cause of the problem. It isn't a problem with gcc. I use the binutils shipped with Solaris10 to strip the binaries and create separate debug symbol files. If I do not strip g++/libstdc++, the test program runs with no problems. -Original Message- From: ebotcazou at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] Sent: Monday, September 11, 2006 11:35 PM To: [EMAIL PROTECTED] Subject: [Bug target/24649] Hello world c++ prog core dumps --- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-09-12 06:35 --- I've never been able to reproduce this. Do you still have the problem with the 4.x series of compiler? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org Status|ASSIGNED|WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649 --- You are receiving this mail because: --- You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649
[Bug target/24649] Hello world c++ prog core dumps
--- Comment #16 from ebotcazou at gcc dot gnu dot org 2006-10-12 20:31 --- > I have found the cause of the problem. It isn't a problem with gcc. > > I use the binutils shipped with Solaris10 to strip the binaries and create > separate debug symbol files. If I do not strip g++/libstdc++, the test > program runs with no problems. Thanks a lot for your investigation! -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649