From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2586 invoked by alias); 21 Jan 2003 10:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 2553 invoked by uid 71); 21 Jan 2003 10:16:01 -0000 Date: Tue, 21 Jan 2003 10:16:00 -0000 Message-ID: <20030121101601.2550.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Subject: Re: target/8814: [StrongARM Assabet dev board] GCC 3.2.1 cannot compile linux kernel 2.4.18 and 2.4.19 correctly. Reply-To: X-SW-Source: 2003-01/txt/msg01133.txt.bz2 List-Id: The following reply was made to PR target/8814; it has been noted by GNATS. From: To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, suzhe@turbolinux.com.cn Cc: Subject: Re: target/8814: [StrongARM Assabet dev board] GCC 3.2.1 cannot compile linux kernel 2.4.18 and 2.4.19 correctly. Date: Tue, 21 Jan 2003 10:09:27 +0000 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8814 [ This information was sent once before, but seems to have been lost by gnats] 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.