bugThe FreeType Project - Bugs: bug #42788, iOS Builds broken in commit c0a6f20

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42788: iOS Builds broken in commit c0a6f20

Submitter:  David Wimsey <dwimsey>
Submitted:  Thu 17 Jul 2014 06:44:59 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  podtelez Open/Closed:  Closed
Planned Release:  2.5.4

Thu 17 Jul 2014 08:35:43 AM UTC, comment #3: 

Never mind, I've just done it :-)

Thanks for the report.

Werner LEMBERG <wl>
Group administrator
Thu 17 Jul 2014 08:16:15 AM UTC, comment #2: 

Alexei, please take care of this!

Werner LEMBERG <wl>
Group administrator
Thu 17 Jul 2014 07:27:10 AM UTC, comment #1: 

The following changes since commit c0a6f20a4b33fefce50dafbf0d7f20aec6b0e724:

  Replace `ft_highpow2' function. (2014-07-16 22:05:56 -0400)

are available in the git repository at:

  https://github.com/dwimsey/freetype2.git hotfix/FT_MSB-c0a6f20

for you to fetch changes up to a7620c5b462dcc24b2916516ff9336de64362bab:

  Included ftcalc.h as required to make FT_MSB available for use in pfrobjs.c (2014-07-17 03:18:46 -0400)

----------------------------------------------------------------
David Wimsey (1):
      Included ftcalc.h as required to make FT_MSB available for use in pfrobjs.c

 src/pfr/pfrtypes.h | 1 +
 1 file changed, 1 insertion(+)

David Wimsey <dwimsey>
Thu 17 Jul 2014 06:44:59 AM UTC, original submission:  

It appears that the move to FT_MSB from ft_highpow2 in commit c0a6f20 breaks iOS builds.

The problem appears to be because FT_MSB isn't defined, or rather include/internal/ftcalc.h isn't included in src/pfr/pfrobjs.c when building for iOS.

To recreate, put the attached iOS.cmake in the directory you run cmake from and run (from OSX of course):

cmake -GXcode -DIOS_PLATFORM=OS -DCMAKE_TOOLCHAIN_FILE=iOS.cmake .
xcodebuild -target freetype -config Debug


In the attached build log, the error shows itself on line 1396

The prior commit (177982e) builds fine.



David Wimsey <dwimsey>

 

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

Attached Files
file #31732:  freetype-build.txt added by dwimsey (499KiB - text/plain)
file #31731:  iOS.cmake added by dwimsey (8KiB - 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 wl (Posted a comment)
  • -email is unavailable- added by dwimsey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-17 wl StatusNone Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.5.4
    2014-07-17 wl Assigned toNone podtelez
    2014-07-17 dwimsey Attached File- Added iOS.cmake, #31731
        Attached File- Added freetype-build.txt, #31732

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code