This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/12097] New: glibc is unbuildable on an EABI ARMv4 system.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]