[Bug target/24649] Hello world c++ prog core dumps

2006-10-12 Thread steve at telxio dot com
--- 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

[Bug target/24649] Hello world c++ prog core dumps

2006-09-18 Thread steve at telxio dot com
--- 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

[Bug target/24649] Hello world c++ prog core dumps

2006-09-13 Thread steve at telxio dot com
--- 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 c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #9 from steve at telxio dot com 2005-11-03 23:15 --- The problem lies in the file: /opt/utsi/test/R500/opt/utsi/lib/libstdc++.so.6.0.3 If I compile the program with gcc-3.4.3 --without-gnu-as, the executable fails. I then install the libstdc++ library from the config

[Bug c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #8 from steve at telxio dot com 2005-11-03 23:08 --- I forgot to mention, the assembler used was the code generated by gcc-3.4.4 --without-gnu-as, i.e. the configuration that fails. Would you like me to try and get the same backtrace and assembler information for the

[Bug c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #7 from steve at telxio dot com 2005-11-03 23:05 --- If I install gcc-3.4.4 --without-gnu-as and using the Solaris tools directly I assemble and link the code, the resultant executable fails. If I install gcc-3.4.4 --with-gnu-as and again using the solaris tools directly

[Bug c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #5 from steve at telxio dot com 2005-11-03 22:06 --- Created an attachment (id=10137) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10137&action=view) gcc assembler output for both Solaris as and GNU as Contains two files that untar into the current di

[Bug c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #4 from steve at telxio dot com 2005-11-03 21:58 --- I have created assembler files for both g++-3.4.4 --with-gnu-as and g++3.4.4 --without-gnu-as. I ran a diff on the two assembler files and their is only one significant difference: R500.ramses.240> diff tt.s.gnu

[Bug c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #3 from steve at telxio dot com 2005-11-03 21:09 --- = Backtace from gdb: = R500.ramses.185> g++ -g tt.cc R500.ramses.186> gdb a.out GNU gdb 6.3 Copyright 2004 Free So

[Bug c++/24649] Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-03 Thread steve at telxio dot com
--- Comment #2 from steve at telxio dot com 2005-11-03 20:31 --- Sorry, I forgot to post the version of the Solaris tools: R500.ramses.129> /usr/ccs/bin/as -V /usr/ccs/bin/as: Sun Compiler Common 10 s10_73 11/23/2004 R500.ramses.130> /usr/ccs/bin/ld -V ld: Software Generation Uti

[Bug c++/24649] New: Hello world c++ prog core dumps when configured with /usr/ccs/bin/as

2005-11-02 Thread steve at telxio dot com
c dot gnu dot org ReportedBy: steve at telxio dot com GCC build triplet: sparc-sun-solaris2.10 GCC host triplet: sparc-sun-solaris2.10 GCC target triplet: sparc-sun-solaris2.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24649