Bug 176089

Summary: math/gmp: gmp-5.1.0 cannot compile on ARM (SHEEVAPLUG)
Product: Ports & Packages Reporter: Lukasz <lukasz.siemiradzki>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Lukasz 2013-02-13 00:20:00 UTC
        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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-13 01:41:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2013-02-13 08:21:34 UTC
State Changed
From-To: open->feedback

CPU_OPTS OPTION is enabled or not?
Comment 3 Lukasz 2013-02-13 21:42:36 UTC
Fixed in SVN revision #312165

-- 

"Omnes homines natura scire desiderant"
                                           Aristotelis
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2013-02-14 14:22:55 UTC
State Changed
From-To: feedback->closed

Fixed, thanks.