Opened 9 years ago

Closed 5 years ago

#46589 closed defect (worksforme)

gmp @6.0.0_1: ppc64 build fails with "Parameter syntax error"

Reported by: larryv (Lawrence Velázquez) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: powerpc64 Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: gmp

Description

I’m building i386/x86_64/ppc/ppc64 universal in a Leopard VM. The ppc build finishes fine, and disabling ccache doesn’t help.

:info:build /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" ccache /usr/bin/gcc-4.2 -arch ppc64 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo gcd_1 | sed 's/_$//'`  -I/opt/local/include  -m64 -O3  `test -f 'gcd_1.asm' || echo './'`gcd_1.asm
:info:build libtool: compile:  ../mpn/m4-ccas --m4=m4 ccache /usr/bin/gcc-4.2 -arch ppc64 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_1 -I/opt/local/include -m64 -O3 gcd_1.asm  -fno-common -DPIC -o .libs/gcd_1.o
:info:build m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_gcd_1 -DPIC gcd_1.asm >tmp-gcd_1.s
:info:build  ccache /usr/bin/gcc-4.2 -arch ppc64 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_1 -I/opt/local/include -m64 -O3 tmp-gcd_1.s -fno-common -DPIC -o .libs/gcd_1.o
:info:build tmp-gcd_1.s:85:Parameter syntax error
:info:build make[2]: *** [gcd_1.lo] Error 1

Attachments (3)

gmp-main.log (1.7 MB) - added by larryv (Lawrence Velázquez) 9 years ago.
MacPorts log
gcd_1.asm (2.7 KB) - added by larryv (Lawrence Velázquez) 9 years ago.
template
tmp-gcd_1.s (1007 bytes) - added by larryv (Lawrence Velázquez) 9 years ago.
product

Download all attachments as: .zip

Change History (11)

Changed 9 years ago by larryv (Lawrence Velázquez)

Attachment: gmp-main.log added

MacPorts log

Changed 9 years ago by larryv (Lawrence Velázquez)

Attachment: gcd_1.asm added

template

Changed 9 years ago by larryv (Lawrence Velázquez)

Attachment: tmp-gcd_1.s added

product

comment:1 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Sorry for not having something constructive to contribute.
gmp tries to build itself for the particular processor of the host machine.
I seem to remember some warning that virtual machines sometimes interfere with this process, but I can not find the reference.

gmp was recently updated.
By any chance did that fix the problem?

Unfortunately, I have no access to any ppc machine to test test any of this.

comment:2 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: wontfix
Status: newclosed

Unfortunately, I do not see a way to proceed on this issue.

comment:3 in reply to:  2 Changed 8 years ago by larryv (Lawrence Velázquez)

Resolution: wontfix
Status: closedreopened

I’d like to look into this when I have a moment, but I’ll relieve you of the responsibility :)

comment:4 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: mcalhoun@… added
Owner: changed from mcalhoun@… to larryv@…
Status: reopenednew

comment:5 Changed 8 years ago by larryv (Lawrence Velázquez)

Status: newassigned

comment:6 Changed 8 years ago by mf2k (Frank Schima)

Keywords: powerpc64 added; ppc64 removed

comment:7 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Can this ticket be closed?
I was able to build gmp successfully on a 10.5 VM with i386/ppc/ppc64/x86_64 universal.

comment:8 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: worksforme
Status: assignedclosed

Closing since there has been no response.

Note: See TracTickets for help on using tickets.