From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30340 invoked by alias); 6 Dec 2002 01:26:02 -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 30308 invoked by uid 71); 6 Dec 2002 01:26:01 -0000 Resent-Date: 6 Dec 2002 01:26:01 -0000 Resent-Message-ID: <20021206012601.30307.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, suzhe@turbolinux.com.cn Received: (qmail 29811 invoked by uid 61); 6 Dec 2002 01:21:29 -0000 Message-Id: <20021206012129.29810.qmail@sources.redhat.com> Date: Thu, 05 Dec 2002 17:26:00 -0000 From: suzhe@turbolinux.com.cn Reply-To: suzhe@turbolinux.com.cn To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: ada/8838: (was 8814) GCC 3.2.1 generates wrong code when compiling linux kernel for Intel StrongARM SA1110 Assabet Development board. X-SW-Source: 2002-12/txt/msg00337.txt.bz2 List-Id: >Number: 8838 >Category: ada >Synopsis: (was 8814) GCC 3.2.1 generates wrong code when compiling linux kernel for Intel StrongARM SA1110 Assabet Development board. >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Dec 05 17:26:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: suzhe@turbolinux.com.cn >Release: 3.2.1 >Organization: >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 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: