bugThe FreeType Project - Bugs: bug #26060, freetype 2.3.8 fails to compile on...

 
 

bug #26060: freetype 2.3.8 fails to compile on ARM v3

Submitted by:  Alan Hourihane <alanh>
Submitted on:  Tue 31 Mar 2009 07:00:31 PM UTC  
 
Severity: 3 - NormalItem Group: Hack required
Status: Wont FixPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 05 Nov 2012 05:46:51 PM UTC, comment #5:

In case you are going to contribute assembler code, feel free to reopen the issue :-)

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 25 Jun 2012 09:43:20 AM UTC, comment #4:

Well, it certainly works with FT_CONFIG_OPTION_NO_ASSEMBLER, so I can easily close the issue. However, it would be nice to have proper ARM v3 assembler support, but this is something I can't write by my own...

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 25 Jun 2012 09:33:14 AM UTC, comment #3:

No, sorry I didn't fix it yet. But you don't need an ARM v3 CPU to see the compilation warnings, as you can use the GCC -mcpu option to force ARMv3.

Anonymous
Mon 25 Jun 2012 09:16:45 AM UTC, comment #2:

Have you ever fixed this? Otherwise, I'm going to close this bug report since I don't have access to such a chip.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 31 Mar 2009 09:06:30 PM UTC, comment #1:

The easy solution is to define FT_CONFIG_OPTION_NO_ASSEMBLER.

A better solution is to fix it. Can you provide a patch so
that it works with this particular version too?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 31 Mar 2009 07:00:31 PM UTC, original submission:

When compiling I get this output...

{standard input}:34: Error: selected processor does not support `smull r1,r2,lr,lr'
{standard input}:45: Error: selected processor does not support `smull lr,ip,r3,r1'
{standard input}:56: Error: selected processor does not support `smull ip,r3,r0,r2'
{standard input}:343: Error: selected processor does not support `smull r0,r1,r5,r5'
{standard input}:351: Error: selected processor does not support `smull lr,r1,ip,r6'

This is because builds/unix/ftconfig.in uses inline assembly which contains SMULL which isn't supported on ARM v3 CPU's.

Alan Hourihane <alanh>

 

(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 wl (Posted a comment)
  • -unavailable- added by alanh (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Nov 2012 05:46:51 PM UTCwlStatusNeed Info=>Wont Fix
      Open/ClosedOpen=>Closed
    Tue 31 Mar 2009 09:06:30 PM UTCwlItem GroupNone=>Hack required
      StatusNone=>Need Info
      Assigned toNone=>wl

    Back to the top


    Powered by Savane 3.1-cleanup1