gcc 4.6 "Seems to be a completely non-functional toolchain"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Expired
|
Undecided
|
Unassigned |
Bug Description
When i try to compile a hello world, I get that :
pi@raspberry ~/prog/test $ gcc test.c -o test
gcc: internal compiler error: Illegal instruction (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
When i try to use gcc-4.4, it works !!!
4.6.3-14+rpi1 -> don't works.
4.4.7-3+rpi1 -> works.
Here is the test.i :
# 1 "test.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test.c"
# 1 "/usr/include/
My Linux :
Linux raspberry 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux
I first send a bug report for gcc ( http://
EDIT: I think that bug happenned after my installation of gdc (gnu D compiler). Can it be the cause of my broken gcc ?
Thanks !
description: | updated |
description: | updated |
If gcc 4.6 (the default compiler) was generally broken in raspbian I think we would have found out a long time ago so there must be something going on on your Pi that is breaking things and that does not apply to the majority of Pis out there .
Do you have a copy of the program that failed?
How did you attempt to install gdc 4.6? from a package? from source?