Home My Page Projects GMP-ECM (Elliptic Curve Method)
Summary Activity Forums Tracker Lists Tasks Docs News SCM Files

[#10646] gmp-ecm 6.3 doesn't build with "CFLAGS=-pipe -O2 -arch ppc"

Date:
2010-06-30 09:24
Priority:
3
State:
Closed
Submitted by:
Vincent Lefèvre (vlefevre)
Assigned to:
Nobody (None)
Category:
none
Group:
none
Resolution:
Fixed
Summary:
gmp-ecm 6.3 doesn't build with "CFLAGS=-pipe -O2 -arch ppc"

Detailed description
When trying to build gmp-ecm 6.3 with MacPorts on PowerPC:

[...]
configure: Configuration:
configure: Build for host type powerpc-apple-darwin8.11.0
configure: CC=/usr/bin/gcc-4.0, CFLAGS=-pipe -O2 -arch ppc
configure: Linking GMP with -lgmp
configure: Using asm redc code from directory powerpc64
configure: Not using SSE2 instructions in NTT code
configure: Assertions disabled
configure: Shell command execution disabled
configure: OpenMP disabled
configure: Memory debugging disabled
---> Building gmp-ecm
/usr/bin/make all-recursive
Making all in powerpc64
[...]
mulredc1.s:40:mulld instruction is only for 64-bit implementations (not allowed without -force_cpusubtype_ALL option)
[...]

gmp-ecm does something wrong by trying to make all in powerpc64, while "-arch ppc" is given in CFLAGS.
Message  ↓
Date: 2010-06-30 14:06
Sender: Paul Zimmermann

this bug is fixed with svn 1516

Field Old Value Date By
status_idOpen2010-06-30 14:06zimmerma
summarygmp-ecm 6.3 doesn\'t build with "CFLAGS=-pipe -O2 -arch ppc"2010-06-30 14:06zimmerma
close_date2010-06-30 14:062010-06-30 14:06zimmerma
ResolutionNone2010-06-30 14:06zimmerma