[MacPorts] #23020: ffcall-1.10 fails to compile on x86_64

MacPorts noreply at macports.org
Sun Jan 8 09:49:15 PST 2012


#23020: ffcall-1.10 fails to compile on x86_64
------------------------------+---------------------------------------------
 Reporter:  earcar@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.1                                
 Keywords:                    |        Port:  ffcall                               
------------------------------+---------------------------------------------

Comment(by haarigerhans@…):

 hi,

 i got rid of this problem by specifying my compiler as gcc -m32
 ./configure --cache-file=config.cache CC="gcc -m32"
 looks like the CFLAGS don't get correctly passed to the libtool.

 using CFLAGS="-m32" i also had the same issue. the line that fails
 gcc -x none -c avcall-i386.s -o avcall-i386.o
 works when you add -m32 by hand.
 gcc -m32 -x none -c avcall-i386.s -o avcall-i386.o

 (now, i get a seg fault when running make check for callback/trampoline_r
 but that's probably different thing.)

 cheers
 hans

-- 
Ticket URL: <https://trac.macports.org/ticket/23020#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list