buglibffcall - foreign function call libraries - Bugs: bug #27993, armv5tel: make check fails in...


bug #27993: armv5tel: make check fails in trampoline

Submitted by:  Sam Steingold <sds>
Submitted on:  Tue 10 Nov 2009 10:29:37 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 11 Feb 2017 03:18:41 PM UTC, comment #3:

Thank you for the hint and patch.
It is now fixed through an equivalent patch:

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Thu 18 Jun 2015 10:58:03 AM UTC, comment #2:

On ARM, that is at least on the armhf architecture, __TR_clear_cache produces illegal instructions.

(My system: debian jessie, armhf, gcc version 4.9.2)

The attached patch works around the issue by delegating to libgcc's version `__clear_cache`

(file #34252)

Thu 12 Nov 2009 08:22:53 PM UTC, comment #1:

the failure is on
Linux gcc55 2.6.29-rc7-00063-g9d1d4f9-dirty #12 PREEMPT Tue Mar 24 19:01:56 CET 2009 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux

note that on
Linux gcc50 2.6.26-1-iop32x #1 Fri Mar 13 21:11:45 UTC 2009 armv5tel GNU/Linux
ffcall passes all tests.

cpuinfo attached.

(file #19039, file #19040)

Sam Steingold <sds>
Project Administrator
Tue 10 Nov 2009 10:29:37 PM UTC, original submission:

make[1]: Entering directory `/home/sds/top/src/ffcall/build-Linux-armv5tel/trampoline'
make[1]: *** [check] Segmentation fault

this is the gcc55 machine

Sam Steingold <sds>
Project Administrator


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

Attach Files:

Attached Files
file #34252:  0002-fix-arm-on-linux.patch added by None (382B - text/x-patch)
file #19040:  gcc55-cpuinfo added by sds (288B - application/octet-stream)
file #19039:  gcc50-cpuinfo added by sds (488B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by sds (Submitted the item)

    Do you think this task is very important?
    If so, you can 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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sat 11 Feb 2017 03:18:41 PM UTC haible StatusNone => Fixed
        Open/ClosedOpen => Closed
    Thu 18 Jun 2015 10:58:03 AM UTC None Attached File- => Added 0002-fix-arm-on-linux.patch, #34252
    Thu 12 Nov 2009 08:22:53 PM UTC sds Attached File- => Added gcc50-cpuinfo, #19039
        Attached File- => Added gcc55-cpuinfo, #19040

    Back to the top

    Powered by Savane 3.3