On Tue, Jan 25, 2011 at 10:29 AM, Reddy, MR Swami <MR.Swami.Reddy@nsc.com> wrote:

Can you send me the verbose output of “gcc test.c –v”? I  could analyze the issue using the verbose output.


Here it is :

http://pastebin.com/cyewZwhZ

Looks like some incompatibilities comming - up. After gcc installation, even invoking ssh gives segmentation fault

 

-Swami 

From: linaro-dev-bounces@lists.linaro.org [mailto:linaro-dev-bounces@lists.linaro.org] On Behalf Of Shankar Ganesh
Sent: Tuesday, January 25, 2011 10:17 AM
To: linaro-dev@lists.linaro.org
Subject: [HELP] [LINARO-NATTY-HEADLESS IMAGE] GCC 4.5 crashes

 

Hi ,

I have used http://releases.linaro.org/platform/linaro-n/headless/alpha-1/linaro-natty-headless-tar-20101202-1.tar.gz
file system on my target board and done apt-get install  gcc-4.5 on it.

Now, when i try to compile with GCC, i get

root@localhost:~# gcc-4.5 test.c
gcc-4.5: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

test.c :  int main() { return 0; }

Could anyone help me to point out what the issue here ?

-shankar