http://www.riscos.info/bugzilla3/show_bug.cgi?id=251
Summary: GCC 4.7.4 Rel 1 Dev 2014-04-26: C++ -static segmentation fault Product: GCC/GCCSDK Version: other Platform: Other OS/Version: RISC OS Status: NEW Severity: normal Priority: P1 Component: C++ compiler AssignedTo: john.tyt...@aaug.net ReportedBy: duncan.mo...@gmx.com Estimated Hours: 0.0 GCCSDK GCC 4.7.4 Release 1 Development) 4.7.4 20140426 (prerelease) [gcc-4_7-branch revision 209822] http://www.riscos.info/downloads/gccsdk/testing/4.7.4/gccsdk-gcc-bin-4.7.4-Rel1dev.zip SharedUnixLibrary 1.12 VirtualRPC-Adjust RISCOS 4.39, ARM 710 #include <iostream> int main(void) { return 0; } *g++ -static test.cc *a/out Fatal signal received: Segmentation fault Stack backtrace: Running thread 0x884d8 ( 1007f30) pc: 6fce0 lr: 70184 sp: 1007f34 UnixLib detected recursion of signal SIGSEGV. Exiting. * Without -static, or without #include <iostream>, there is no seg fault. -- Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK