gmp failed build

Ryan Schmidt ryandesign at macports.org
Sun Aug 30 01:32:14 PDT 2009


On Aug 29, 2009, at 12:18, Frank J. R. Hanstick wrote:

> --->  Building gmp
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp 
> /work/gmp-4.3.1" && /usr/bin/make -j2 all " returned error 2
> Command output: tmp-mod_34lsub1.s:337:vperm vector instruction is  
> optional for the PowerPC (not allowed without -force_cpusubtype_ALL  
> option)
> tmp-mod_34lsub1.s:338:lvx vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:339:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:340:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:342:lvx vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:343:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:344:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:346:lvx vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:347:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:348:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:350:lvx vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:351:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:352:vperm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:355:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:356:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:357:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:359:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:360:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:361:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:363:vadduwm vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:366:vsumsws vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> tmp-mod_34lsub1.s:369:stvx vector instruction is optional for the  
> PowerPC (not allowed without -force_cpusubtype_ALL option)
> make[2]: *** [mod_34lsub1.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
>  ../mpn/m4-ccas --m4=m4 /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -I. -I. - 
> I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mode1o -I/opt/local/include - 
> arch ppc mode1o.asm  -fno-common -DPIC -o .libs/mode1o.o
> m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_mode1o -DPIC  
> mode1o.asm >tmp-mode1o.s
>  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP  
> -I.. -DOPERATION_mode1o -I/opt/local/include -arch ppc tmp-mode1o.s - 
> fno-common -DPIC -o .libs/mode1o.o
>  ../mpn/m4-ccas --m4=m4 /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -I. -I. - 
> I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mode1o -I/opt/local/include - 
> arch ppc mode1o.asm -o mode1o.o >/dev/null 2>&1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

I think we need to see the debug output to help with this. Normally  
MacPorts only shows the last 30 lines of error, and it looks like  
there was more output than that here. Can you clean the port and try  
again with the debug switch?

sudo port clean gmp
sudo port -d install gmp 2>&1 | tee ~/Desktop/gmp.txt
bzip2 ~/Desktop/gmp.txt

Then attach gmp.txt.bz2 from your desktop to your reply email.


Is this Leopard? Are you on a PowerPC Mac?



More information about the macports-users mailing list