Print this page
9884 cw(1) should use -fpic rather than -Kpic

*** 36,46 **** -I$(ROOT)/usr/include/v9 AS_CPPFLAGS += -D__STDC__ -D_ASM -DPIC -D_REENTRANT -D$(MACH) $(IFLAGS) \ -DNIAGARA_IMPL ! ASFLAGS = -P -K pic # memcpy.s provides __align_cpy_1 as an alias for memcpy. However, this isn't # a WEAK symbol, and hence ld(1)'s ability to cull duplicate local symbols with # the same address is compromised. The result is .SUNW_dynsymsort: duplicate # symbol errors from check_rtime. Use elfedit to assign a weak binding. --- 36,46 ---- -I$(ROOT)/usr/include/v9 AS_CPPFLAGS += -D__STDC__ -D_ASM -DPIC -D_REENTRANT -D$(MACH) $(IFLAGS) \ -DNIAGARA_IMPL ! ASFLAGS = -P $(AS_PICFLAGS) # memcpy.s provides __align_cpy_1 as an alias for memcpy. However, this isn't # a WEAK symbol, and hence ld(1)'s ability to cull duplicate local symbols with # the same address is compromised. The result is .SUNW_dynsymsort: duplicate # symbol errors from check_rtime. Use elfedit to assign a weak binding.