This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Build failure for ARM/thumb with the most recent snapshot


Hi!

The most recent snapshot of newlib - 2.5.0.20170720 - fails to build
for ARM "default" architecture ARMv4 with -mthumb:

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

arm-none-eabi-gcc -B/home/freddie/bleeding-edge-
toolchain/buildNative/newlib-2.5.0.20170720-nano/arm-none-
eabi/thumb/newlib/ -isystem /home/freddie/bleeding-edge-
toolchain/buildNative/newlib-2.5.0.20170720-nano/arm-none-
eabi/thumb/newlib/targ-include -isystem /home/freddie/bleeding-edge-
toolchain/sources/newlib-2.5.0.20170720/newlib/libc/include
-B/home/freddie/bleeding-edge-toolchain/buildNative/newlib-
2.5.0.20170720-nano/arm-none-eabi/thumb/libgloss/arm
-L/home/freddie/bleeding-edge-toolchain/buildNative/newlib-
2.5.0.20170720-nano/arm-none-eabi/thumb/libgloss/libnosys
-L/home/freddie/bleeding-edge-toolchain/sources/newlib-
2.5.0.20170720/libgloss/arm  -mthumb -DPACKAGE_NAME=\"newlib\"
-DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"2.5.0\"
-DPACKAGE_STRING=\"newlib\ 2.5.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -I. -I/home/freddie/bleeding-edge-
toolchain/sources/newlib-2.5.0.20170720/newlib/libc/machine/arm
-D__NO_SYSCALLS__ -fno-builtin      -g -Os -ffunction-sections -fdata-
sections   -mthumb -c -o lib_a-strcpy.o `test -f 'strcpy.c' || echo
'/home/freddie/bleeding-edge-toolchain/sources/newlib-
2.5.0.20170720/newlib/libc/machine/arm/'`strcpy.c
/tmp/cc8NWA9F.s: Assembler messages:
/tmp/cc8NWA9F.s:37: Error: MOV Rd, Rs with two low registers is not
permitted on this architecture -- `mov r3,r0'
make[9]: *** [Makefile:341: lib_a-strcpy.o] Error 1
make[9]: Leaving directory '/home/freddie/bleeding-edge-
toolchain/buildNative/newlib-2.5.0.20170720-nano/arm-none-
eabi/thumb/newlib/libc/machine/arm'

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

The problem seems to be fixed in the repository just one day after it
was introduced:

fix - https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commi
t;h=d6cac3e1da1a117f8a93b91371f3f0a5c071219f
problematic commit - https://sourceware.org/git/gitweb.cgi?p=newlib-cyg
win.git;a=commit;h=4bce7ecbe19c1c264e3b5b3eac9582c429f12caa

Maybe it would be possible to "nuke" this snapshot and just have
another one?

Regards,
FCh


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