ports/176089: gmp-5.1.0 cannot compile on ARM (SHEEVAPLUG)
Łukasz Siemiradzki
lukasz.siemiradzki at gmail.com
Wed Feb 13 00:20:00 UTC 2013
>Number: 176089
>Category: ports
>Synopsis: gmp-5.1.0 cannot compile on ARM (SHEEVAPLUG)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 13 00:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Lukasz Siemiradzki
>Release: FreeBSD 8.3-STABLE arm
>Organization:
no org
>Environment:
System: FreeBSD rut 8.3-STABLE FreeBSD 8.3-STABLE #0: Mon May 21 10:14:17 CEST
2012 root at rut:/usr/obj/usr/src/sys/SHEEVAPLUG arm
>Description:
While updating gmp-5.0.5 to gmp-5.1.0 via ports, following error
appears:
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_sub_n -DPIC sub_n.asm >tmp-
sub_n.s
cc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -
DOPERATION_sub_n -O -pipe tmp-sub_n.s -fPIC -DPIC -o .libs/sub_n.o
gnome-libtool: compile: ../mpn/m4-ccas --m4=m4 cc -std=gnu99 -c -
DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_sub_n -O -pipe
sub_n.asm -o sub_n.o >/dev/null 2>&1/bin/sh /usr/ports/math/gmp/work/gnome-
libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" cc -std=gnu99 -c -
DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo addcnd_n |
sed 's/_$//'` -O -pipe `test -f 'addcnd_n.asm' || echo './'`addcnd_n.asm
gnome-libtool: compile: ../mpn/m4-ccas --m4=m4 cc -std=gnu99 -c -
DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_addcnd_n -O -pipe
addcnd_n.asm -fPIC -DPIC -o .libs/addcnd_n.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_addcnd_n -DPIC addcnd_n.asm
>How-To-Repeat:
on arm platform:
cd /usr/ports/math/gmp
make config
make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
X-send-pr-version: 3.113
X-GNATS-Notify:
>tmp-addcnd_n.s
cc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -
DOPERATION_addcnd_n -O -pipe tmp-addcnd_n.s -fPIC -DPIC -o .libs/addcnd_n.o
tmp-addcnd_n.s: Assembler messages:
tmp-addcnd_n.s:75: Error: bad instruction `push {r4-r11}'
tmp-addcnd_n.s:89: Error: bad instruction `ldm r2!,{r4,r5,r6}'
tmp-addcnd_n.s:90: Error: bad instruction `ldm r1!,{r8,r9,r10}'
tmp-addcnd_n.s:97: Error: bad instruction `stm r0!,{r8,r9,r10}'
tmp-addcnd_n.s:103: Error: bad instruction `ldm r2!,{r4,r5}'
tmp-addcnd_n.s:104: Error: bad instruction `ldm r1!,{r8,r9}'
tmp-addcnd_n.s:109: Error: bad instruction `stm r0!,{r8,r9}'
tmp-addcnd_n.s:124: Error: bad instruction `ldm r2!,{r4,r5,r6,r7}'
tmp-addcnd_n.s:125: Error: bad instruction `ldm r1!,{r8,r9,r10,r11}'
tmp-addcnd_n.s:135: Error: bad instruction `stm r0!,{r8,r9,r10,r11}'
tmp-addcnd_n.s:140: Error: bad instruction `pop {r4-r11}'
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
Stop in /usr/ports/math/gmp.
===>>> make failed for math/gmp
===>>> Aborting update
Version 5.0.5 works fine on this platform.
More information about the freebsd-ports-bugs
mailing list