Ticket Change Details
Overview

Artifact ID: 4985a44f9c590389410d73ffa253f69da01b507b
Ticket: 5a97ada5372a8135eaca7381bd60eb4195cf4634
.a file order in kitsh build is critical
Date: 2012-11-07 23:49:54
User: anonymous
Changes

  1. Change comment to:

    kitsh compilation/linkage step is critically dependent upon the order of .a files - specifically, libtclstub86.a *must* appear after libtcldde14.a else the symbols aren't found.


    The fix is buildsrc/kitsh-0.0/Makefile.tclkit.in L7-8:
    kit: $(OBJS) $(EXTRA_OBJS) $(EXTRA_KIT_DEPS) $(EXTRA_VFS_OBJS) $(ARCHS)
    $(CC) $(CPPFLAGS) $(CFLAGS) -o kit -Wl,--start-group $(OBJS) $(EXTRA_OBJS) $(EXTRA_VFS_OBJS) $(ARCHS) -Wl,--end-group $(LDFLAGS) $(LIBS) $(LDFLAGS_ADD)

    Adding those -Wl lines will ensure that the .a files are exhaustively searched to resolve all symbols.

  2. Change foundin to "all"
  3. Change private_contact to "5fc5e972c33194840d812dceaa267241ac9348a2"
  4. Change severity to "Critical"
  5. Change status to "Open"
  6. Change title to ".a file order in kitsh build is critical"
  7. Change type to "Code Defect"