From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15442 invoked by alias); 5 Oct 2010 18:00:34 -0000 Received: (qmail 15421 invoked by uid 22791); 5 Oct 2010 18:00:31 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Oct 2010 18:00:27 +0000 From: "filip.zyzniewski at gmail dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug ports/12097] New: glibc is unbuildable on an EABI ARMv4 system. X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: ports X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: filip.zyzniewski at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: roland at gnu dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 05 Oct 2010 18:00:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00042.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12097 Summary: glibc is unbuildable on an EABI ARMv4 system. Product: glibc Version: 2.12 Status: UNCONFIRMED Severity: critical Priority: P2 Component: ports AssignedTo: roland@gnu.org ReportedBy: filip.zyzniewski@gmail.com I am one of the developers of jlime (http://www.jlime.org). I was trying to build an userland for the HP Jornada 720 (SA-1110 based machine) today and I have noticed that it won't build. It fails when building eglibc with the following error message: ========================================================= arm-oe-linux-gnueabi-gcc -march=armv4 -mtune=strongarm -mthumb-interwork -mno-thumb ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S -c -I../include -I/home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/csu @/home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/includes -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -I/home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/csu/. -Wa,--noexecstack -o /home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/csu/libc-do-syscall.o -MD -MP -MF /home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/csu/libc-do-syscall.o.dt -MT /home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/csu/libc-do-syscall.o ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S: Assembler messages: ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:28: Error: selected processor does not support THUMB opcodes ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:34: Error: selected processor does not support `push {r7,lr}' ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:39: Error: selected processor does not support `mov r7,ip' ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:40: Error: selected processor does not support `swi 0x0' ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:41: Error: selected processor does not support `pop {r7,pc}' make[2]: *** [/home/users/filip.zyzniewski/build/tmp/work/armv4-oe-linux-gnueabi/eglibc-initial-2.12-r14.5+svnr11306/build-arm-oe-linux-gnueabi/csu/libc-do-syscall.o] Error 1 ========================================================= gcc-4.4.2 and binutils-2.18 (or 2.20, I'm not sure) are capable of creating working EABI executables for ARMv4 processors. THUMB mode instructions in the file above cause (e)glibc to be unbuildable in this configuration. I've tracked this file down http://repo.or.cz/w/glibc-ports.git/commitdiff/2dcd7ed8fd149a5aefc8c7a7ff041ff389348b4f and here I am :). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.