Yesterday I built a cross mips64el gcc, and built the latest LLC
kernel using that compiler. However the generated kernel image is
unable to boot. Then I replaced the compiler with the one from LLC
webpage (Gcc 4.4.1 + Binutils 2.20 on X86) and rebuilt the kernel, and
the new one boots fine. I couldn't tell why so I did some tests.

I tested every version from 2.6.35 to 3.2, and found out that every
32bit kernel built by my own toolchain failed to boot. In the mean
they boot when built by llc compiler. 64bit kernel built by both
compilers can boot.

My cross compiler is from crosstool-ng 1.14.1, gcc 4.4.6, binutils
2.21.1a. It passes the CONFIG_CPU_LOONGSON2F_WORKAROUNDS test so I
believe the fixes are included. Could someone please point me what
goes wrong with my compiler?

-- 
https://fedoraproject.org/wiki/User:Lonestar

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to