mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
libm: fix undefined __isinff / __isinfl symbol references
Those symbols are not satisfied by any code or dependency of libm. As result calling cprojf function will always crash on Genode. This crash can be turned into link time error by adding --no-undefined to LD_OPT. This patch provides the missing symbols by including isninf.c in libm build. Fixes #4299
This commit is contained in:
parent
c38c2a6455
commit
a10903a197
@ -35,6 +35,9 @@ CC_WARN =
|
||||
SRC_C = $(wildcard $(LIBM_DIR)/src/*.c) \
|
||||
$(wildcard $(LIBM_DIR)/bsdsrc/*.c)
|
||||
|
||||
# Provides __isinff and __isinfl used by lib/msun/src/s_cprojf.c
|
||||
SRC_C += isinf.c
|
||||
|
||||
#
|
||||
# 128 bit quadruple precision format
|
||||
#
|
||||
@ -57,6 +60,7 @@ endif
|
||||
|
||||
SRC_C := $(filter-out $(FILTER_OUT),$(notdir $(SRC_C)))
|
||||
|
||||
vpath %.c $(LIBC_DIR)/lib/libc/gen/
|
||||
vpath %.c $(LIBM_DIR)/src
|
||||
vpath %.c $(LIBM_DIR)/bsdsrc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user