Ticket change [4985a44f9c] (rid 1444) by anonymous on 2012-11-07 23:49:54:
- 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. - Change foundin to "all"
- Change private_contact to "5fc5e972c33194840d812dceaa267241ac9348a2"
- Change severity to "Critical"
- Change status to "Open"
- Change title to ".a file order in kitsh build is critical"
- Change type to "Code Defect"
- Change comment to:
Ticket change [cf55f1f064] (rid 1446) by anonymous on 2012-11-15 01:19:11:
- Appended to comment:
anonymous added on 2012-11-15 01:19:11 UTC:
The ddl .a perhaps should not be present in this step at all, which might obviate this problem. - Change priority to "Immediate"
- Change resolution to "Open"
- Change subsystem to "Tcl"
- Appended to comment: