Print this page
8512 libstand won't build with GCC 7.1

*** 9,18 **** --- 9,19 ---- # http://www.illumos.org/license/CDDL. # # # Copyright 2016 Toomas Soome <tsoome@me.com> + # Copyright 2017 RackTop Systems. # # # Notes: # - We don't use the libc strerror/sys_errlist because the string table is
*** 31,40 **** --- 32,46 ---- OBJS= __main.o assert.o bcd.o environment.o \ getopt.o gets.o globals.o pager.o printf.o \ strdup.o strerror.o strtol.o strtoul.o random.o \ sbrk.o twiddle.o zalloc.o zalloc_malloc.o + # builtins provided by compiler-rt + SRCS += $(LIB_BASE)/builtins/divmoddi4.c + SRCS += $(LIB_BASE)/builtins/udivmoddi4.c + OBJS += divmoddi4.o udivmoddi4.o + # private (pruned) versions of libc string functions SRCS += $(LIBSTAND_SRC)/strcasecmp.c OBJS += strcasecmp.o # from libc