[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] Define LDBL_EQ_DBL on ARM64
- To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
- From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Date: Wed, 15 Jan 2020 12:34:24 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nYwmIP3DvaJFmmHeZCIIQhvJ8FYyYN8abGqNBqbLs9k=; b=jxEeULLcHjko2KwG6UCDgfdkYMgMbvswJETNuz74c0fxLElqLCznNtTlxnSRWAKoq4+hDcMpNclyivJw9BjDvH0AAfV8lWtz2rBNhqtNIBXO+CIzL46edt0oR9GyJHr/LYnXha+g+BV82XdYU7s/JB5s/ZH4vjfExHZzjJuNVqBl6reOfUWF7FXPUOkr0ZkHtb8+dtw4I0dVspICQoc9EC80X2/uRSPHwX+ftG5Uq51u7f9Y0N2mLnbzDN9pnfqvrVXPN+tYWLUjDtgHcqmqh+gVrCXTOcYHxgAlDtm/UxjDIjqJhR3IEGSY93lYmJB5IbRdI4WlrHDT0LFfJQ7Ciw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VvdeIviZ6ys7aA4AK2MPCEOrZUkZOOYbguLeQ07EwG8r8PsXk9qz2L+koEFSTK2jx1XPVVAzTuBDLgqYBBuzSzV4AJJSYr6Ws5/TFsFspfGBrxMtLJuQVZ7wY6yMD97Nkv2ZYaXYeFzW5z9fsT79ttN/mdq3ibI0KHEx6Sf6+b9QmvyNguG6Fmb1KCaqH5FxHiqXTDvz94dWcDCTdOVRUNTUGPZAEdMenbG/2ZY/2+A6Ul6eutJkVLl9kLFh7ilT99i40RzxdQNULjW6J0KgGQXmKx2S/3gRflBspvIoohCHLLsyb/xZ59kc4aHHTFaYeANS/AzMLRpm7euG4KD7gg==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
- Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>, "sharan.santhanam@xxxxxxxxx" <sharan.santhanam@xxxxxxxxx>
- Delivery-date: Wed, 15 Jan 2020 12:34:34 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
- Thread-index: AQHVy6AezMUE88pLrkSIT1uQVm3LAA==
- Thread-topic: [UNIKRAFT/NEWLIB PATCH 1/1] Define LDBL_EQ_DBL on ARM64
LDBL_EQ_DBL is used by newlib to protect the definitions of the long
double math functions(e.g. cosl) as wrappers over long math
functions(e.g. cos). In this patch we define the symbol on ARM64 since
it was already defined under x86_64.
Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
Makefile.uk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.uk b/Makefile.uk
index 5c7c225..390e4f4 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -86,6 +86,7 @@ LIBNEWLIB_GLOBAL_FLAGS-y += -D_POSIX_REALTIME_SIGNALS
LIBNEWLIB_GLOBAL_FLAGS-$(CONFIG_LIBNEWLIBC_WANT_IO_C99_FORMATS) +=
-D_WANT_IO_C99_FORMATS
LIBNEWLIB_GLOBAL_FLAGS-$(CONFIG_LIBNEWLIBC_LINUX_ERRNO_EXTENSIONS) +=
-D__LINUX_ERRNO_EXTENSIONS__
ifeq ($(CONFIG_ARCH_ARM_64),y)
+LIBNEWLIB_GLOBAL_FLAGS-y += -D_LDBL_EQ_DBL
LIBNEWLIB_GLOBAL_FLAGS-y += -D_HAVE_LONG_DOUBLE
endif
ifeq ($(CONFIG_ARCH_X86_64),y)
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|