buglibffcall - foreign function call libraries - Bugs: bug #22726, make check fails on...

 
 

bug #22726: make check fails on i686-apple-darwin

Submitted by:  Sam Steingold <sds>
Submitted on:  Tue 25 Mar 2008 02:57:00 PM UTC  
Votes:  10  
 
Category: NoneSeverity: 3 - Normal
Item Group: regressionStatus: 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.

 

Tue 13 May 2008 04:33:40 PM UTC, comment #1:

Though I'm not entirely sure what the code does, I looked into this and found that the illegal instruction occurs on test1.c:102, which looks like

{ free_trampoline_r(cf); printf("Works, test1 passed.\n"); exit(0); }

Using gdb, I confirmed that this means that the Illegal Instruction occurs in the call to free_trampoline_r. I don't really know where in free_trampoline_r, though. (free_trampoline_r is in trampoline.c)

(I found this information by using
gdb test1
then typing `return' until gdb freaked out.)

Charles Moss <czm>
Tue 25 Mar 2008 02:57:00 PM UTC, original submission:

https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1925086&group_id=1355

Trying to build ffcall on Mac OS X 10.4.11/Intel, gcc 4.0.1, ./configure &&
make runs to completion, but "make check" fails with an Illegal
instruction:

$ make check
cd avcall; make check
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out >
minitests.output.i686-apple-darwin8.11.1
test '!' -s minitests.output.i686-apple-darwin8.11.1
cd vacall; make check
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out >
minitests.output.i686-apple-darwin8.11.1
test '!' -s minitests.output.i686-apple-darwin8.11.1
cd trampoline; make check
./test1
Works, test1 passed.
./test2
test2 passed.
touch tests.passed.i686-apple-darwin8.11.1
cd callback; make check
cd vacall_r; make all
make[2]: Nothing to be done for `all'.
cd trampoline_r; make all
make[2]: Nothing to be done for `all'.
cd vacall_r; make check
make[2]: Nothing to be done for `check'.
cd trampoline_r; make check
./test1
make[2]: *** [check] Illegal instruction
make[1]: *** [check-subdirs] Error 2
make: *** [check] Error 2

Sam Steingold <sds>
Project Administrator

 

(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 czm (Posted a comment)
  • -unavailable- added by czm (Voted in favor of this item)
  • -unavailable- added by sds (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 10 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
    Tue 28 Apr 2009 05:37:31 PM UTCsdsItem GroupNone=>regression
    Tue 13 May 2008 04:19:08 PM UTCczmCarbon-Copy-=>Added czm

    Back to the top


    Powered by Savane 3.1-cleanup