This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: target/8814: [StrongARM Assabet dev board] GCC 3.2.1 cannot compilelinux kernel 2.4.18 and 2.4.19 correctly.
- From: <rearnsha at gcc dot gnu dot org>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, suzhe at turbolinux dot com dot cn
- Date: Sun, 12 Jan 2003 16:04:31 +0000
- Subject: Re: target/8814: [StrongARM Assabet dev board] GCC 3.2.1 cannot compilelinux kernel 2.4.18 and 2.4.19 correctly.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8814
Note: Please reply to this message if you have any further information.
Please do not create a new problem report:
Additional Information copied from PR 8837:
Environment:
> Host Linux with gcc 3.2 and 2.95.3 (tried both). target is an Intel
> StrongARM SA1110 Assabet Development board. the version of binutils is
> 2.13.1.
Description:
> You may download the objdump result of two kernel binary at:
> http://www.gnuchina.org/~suzhe/vmlinux-asm.tar.bz2
> gcc 2.95.2 version is OK. But gcc 3.2.1 version cannot boot.
> kernel compiled with gcc 3.2.1 freezed at the first syscall (clone)
> when execute init kernel thread. I traced into the kernel and found
> that the syscall (clone) in kernel_thread function has no effect. I
> knew little about ARM asm language, so I cannot point out which code
> section is wrong. But I guess we can focus on kernel_thread and
> vector_swi functions.
> http://www.gnuchina.org/~suzhe/vmlinux-asm.tar.bz2
I'm afraid this is still infsufficient for me to get anywhere. Without
knowing precisely what's failing there is nothing I can do, since I
don't have the development system that you have. An objdump of the
binaries isn't going to help much, a linux kernel is just too big to
contemplate searching for a problem like this by inspection of the
compiled code.