This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: How to request -mthumb to be applied to all tools built for arm


Hello All,


Hi Yann 9sorry I did nothit reply to all yesterday)


I took the Mercurial snapshot a5020a1facff

Here the results

1. ./configure --local
    Refused to accept local

2. ./configure

    complains to the absebce of hg (mercurial) and stops

3. ct-ng build with config set as
   CT_ARCH_ARM_MODE_THUMB=y
   CT_ARCH_ARM_INTERWORKING=y

   fails in
DEBUG]    ==> Executing: 'make -j1 CROSS=arm-unknown-linux-uclibcgnueabi-
PREFIX=/home/lev/64_g++_thumb/x-tools/arm-unknown-linux-uclibcgnueabi/arm-unknow
n-linux-uclibcgnueabi//sys-root/ STRIPTOOL=true all'
[ALL  ]    make[1]: Entering directory
`/home/lev/sources/toolchain/crosstool-ng-a5020a1facff/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc'

...
ALL  ]      LN include/sys/user.h
[ALL  ]      AS lib/crt1.o
[ALL  ]      AS lib/Scrt1.o
[ALL  ]      AS lib/crti.o
[ALL  ]      AS lib/crtn.o
[ALL  ]      CC ldso/ldso/ldso.oS
[ALL  ]    In file included from ldso/ldso/ldso.c:947:
[ALL  ]    ldso/ldso/dl-elf.c: In function '_dl_load_elf_shared_library':
[ERROR]    ldso/ldso/dl-elf.c:757: error: unable to find a register to
spill in class 'LO_REGS'
[ERROR]    ldso/ldso/dl-elf.c:757: error: this is the insn:
[ALL  ]    (insn 528 527 529 71 ./ldso/include/dl-syscall.h:160 (set
(reg/v:SI 1 r1 [ _a2 ])
[ALL  ]            (minus:SI (reg/v:SI 156 [ maxvma.645 ])
[ALL  ]                (reg/v:SI 155 [ minvma.646 ]))) 27
{*thumb1_subsi3_insn} (nil))
[ALL  ]    ldso/ldso/dl-elf.c:757: confused by earlier errors, bailing out
[ERROR]    make[1]: *** [ldso/ldso/ldso.oS] Error 1
[ALL  ]    make[1]: Leaving directory
`/home/lev/sources/toolchain/crosstool-ng-a5020a1facff/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc'
[ERROR]    Build failed in step 'Installing C library'
[ERROR]    Error happened in
'/usr/local/crosstool/lib/ct-ng-hg_unknown@20091230.124331/scripts/functions'
in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/crosstool/lib/ct-ng-hg_unknown@20091230.124331/scripts/build/libc/uClibc.sh'
at line # 129 in function 'do_libc'
[ERROR]          called from
'/usr/local/crosstool/lib/ct-ng-hg_unknown@20091230.124331/scripts/crosstool-NG.sh'
at line # 549 in function 'main'



Regards,
Lev

Attachment: build.log.bz2
Description: application/bzip

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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