How to downgrade from gcc-4.4 to gcc-4.3
I have identified that GCC-4.4 mis-compiles code when building Linux kernels for Intel Core2 and Pentium4.
I rebuilt processor optimised builds for uBuntu LTS 10.04.1 linux-source-
Looking through the GCC bugzilla regressions for GCC-4.4, it looks like this is one of the many similar aliasing regressions that can be found.
I decided to downgrade to GCC-4.3 to see if this generated more stable code by doing the following;
Installing gcc-4.3 and g++-4.3.
Un-installing gcc-4.4 and g++-4.3.
Sym-linking gcc and cc to gcc-4.3 and c++ and g++ to g++-4.3.
This seems to result in a stable kernel build (no failures so far).
Given that GCC-4.3 seems to work correctly for my target CPUs, how do I downgrade to gcc-4.3 properly?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mark Fortescue for more information if necessary.