Modify

Opened 4 years ago

Last modified 4 years ago

#14231 new defect

gmp package fails to compile after on trunk r38247

Reported by: mazilo Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

After a recent update to SVN trunk r38247, packages/libs/gmp fails to compile for a Marvell Kirkwood as seen below:


arm-openwrt-linux-uclibcgnueabi-gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -DGMP_WITHIN_GMP -I.. -DOPERATION_udiv -I/opt/openwrt-svn-trunk/staging_dir/target-arm_xscale_uClibc-0.9.33.2_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-arm_xscale_uClibc-0.9.33.2_eabi/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_xscale_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_xscale_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/include -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -Wa,--noexecstack tmp-udiv.s -fPIC -DPIC -o .libs/udiv.o
tmp-udiv.s: Assembler messages:
tmp-udiv.s:85: Error: ARM register expected -- `str r1,[ r0 ]'
tmp-udiv.s:136: Error: ARM register expected -- `str r1,[ r0 ]'


I have attached a patch to fix this problem.

Attachments (1)

010-mpn-arm-udiv_asm.patch (508 bytes) - added by mazilo 4 years ago.
Patch for gmp-5.1.0/mpn/arm/udiv.asm

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by mazilo

Patch for gmp-5.1.0/mpn/arm/udiv.asm

comment:1 Changed 4 years ago by florian

mazilo, please submit this formally to the mailing list, thanks!

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.