bugGNUstep - Bugs: bug #52942, [xlib] Build failure with...

Group
 
 

bug #52942: [xlib] Build failure with LDFLAGS=-Wl,--no-undefined

Submitter:  Yavor Doganov <yavor>
Submitted:  Sun 21 Jan 2018 08:51:34 AM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Jan 2018 03:56:28 PM UTC, comment #1: 

Applied you patch.

Thank you
Fred

Fred Kiefer <FredKiefer>
Group Member
Sun 21 Jan 2018 08:51:34 AM UTC, original submission:  

The xlib backend uses freetype functions so it has to link with it:


 Linking bundle libgnustep-back-026 ...
./xlib/obj/subproject.o: In function `_i_GSXftFontInfo__appendBezierPathWithGlyphs_count_toBezierPath_':
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:695: undefined reference to `FT_Load_Glyph'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:698: undefined reference to `FT_Get_Glyph'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:701: undefined reference to `FT_Glyph_Transform'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:712: undefined reference to `FT_Outline_Decompose'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:714: undefined reference to `FT_Done_Glyph'
collect2: error: ld returned 1 exit status


Straightforward patch attached.

Yavor Doganov <yavor>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by yavor (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.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-11 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2018-01-21 FredKiefer StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test
    2018-01-21 yavor Attached File- Added 0001-Add-FREETYPE_LIBS-to-LIBS-when-building-xlib.patch, #42997

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code