buglibffcall - foreign function call libraries - Bugs: bug #36323, ffcall-1.10 (or CVS head) fails to...

 
 

bug #36323: ffcall-1.10 (or CVS head) fails to build x86_64 on OS X

Submitted by:  Hanspeter Niederstrasser <nieder>
Submitted on:  Fri 27 Apr 2012 09:02:18 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: builldStatus: None
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 27 Apr 2012 09:02:18 PM UTC, original submission:

Originally posted to: <https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3521402&group_id=1355> and redirected to here...

On OS X 10.6 (and 10.7) which builds as 64bit by default, ffcall fails to build with the following error:

./configure --host=x86_64-apple-darwin10 (explicit --host is needed or it misidentifies as a 32 bit build and that also fails in a 64bit environment [1] )
...
cd avcall; make all
/bin/sh ./libtool --mode=compile gcc -x none -c ./avcall-x86_64.s
gcc -x none -c ./avcall-x86_64.s -o avcall-x86_64.o
avcall-x86_64.c:5:Unknown pseudo-op: .type
avcall-x86_64.c:5:Rest of line ignored. 1st junk character valued 95 (_).
avcall-x86_64.c:331:Unknown pseudo-op: .size
avcall-x86_64.c:331:Rest of line ignored. 1st junk character valued 95 (_).
avcall-x86_64.c:332:unknown section type: @progbits
avcall-x86_64.c:332:Rest of line ignored. 1st junk character valued 46 (.).
avcall-x86_64.c:337:Unknown pseudo-op: .string
avcall-x86_64.c:337:Rest of line ignored. 1st junk character valued 34 (").
make[1]: *** [avcall-x86_64.lo] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2

Building as 32bit in a 32bit environment builds correctly.

[1] http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg31434.html

Hanspeter Niederstrasser <nieder>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sds (Updated the item)
  • -unavailable- added by mnuessler
  • -unavailable- added by nieder (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 29 Apr 2012 02:40:13 AM UTCsdsAssigned toNone=>haible
    Sat 28 Apr 2012 02:36:07 PM UTCmnuesslerCarbon-Copy-=>Added mnuessler

    Back to the top


    Powered by Savane 3.1-cleanup