I just wanted to highlight that gcc 4.6 works absolutely fine (as does 4.4 – 
4.8).

The issue here is potentially related to the gcc setup. If it fails on 
different locations I would even consider the possible case of the host running 
out of memory.

Andreas

From: 李长根 <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 5 March 2013 02:27
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] building error

hi 陈顼颢
I think you can try  gcc 4.5 instead of gcc 4.6.





--
 Changgen Li
 Peking University(PKU)
 #28  213
 email: [email protected]<mailto:[email protected]>
 Tel: +86-15210624765

At 2013-03-04 12:04:50,"陈顼颢" <[email protected]<mailto:[email protected]>> 
wrote:
Hi all,
I got this error when building gem5:

 [     CXX] X86/sim/main.cc -> .o
 [     CXX] X86/unittest/unittest.cc -> .o
In file included from /usr/include/c++/4.6/string:55:0,
                 from /usr/include/c++/4.6/bits/locale_classes.h:42,
                 from /usr/include/c++/4.6/bits/ios_base.h:43,
                 from /usr/include/c++/4.6/ios:43,
                 from build/X86/base/cprintf.hh:35,
                 from build/X86/unittest/unittest.cc:3 3:
/usr/include/c++/4.6/bits/basic_string.tcc: In instantiation of 
'std::basic_string<char16_t>::_Rep':
/usr/include/c++/4.6/bits/basic_string.h:717:26:   instantiated from 
'std::basic_string<_CharT, _Traits, _Alloc>::size_type 
std::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = 
char16_t, _Traits = std::char_traits<char16_t>, _Alloc = 
std::allocator<char16_t>, std::basic_string<_CharT, _Traits, _Alloc>::size_type 
= unsigned int]'
/usr/include/c++/4.6/bits/basic_string.h:3016:49:   instantiated from here
/usr/include/c++/4.6/bits/basic_string.tcc:446:5: internal compiler error: 
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
scons: *** [build/X86/unittest/unittest.o] Error 1
scons: building terminated because of errors.


Any idea?







-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to