liuhaitao
999fe1f9f8
Merge remote-tracking branch 'mirtos/master' into dev
...
Last commit id:
commit 649f99ce30 (mirtos/master)
Author: FASTSHIFT <vifextech@foxmail.com>
Date: Wed Sep 22 15:38:43 2021 +0800
libc/misc: add lib_glob.
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
Change-Id: I2f584a4432f835c661e3c02cf7324d5e92e9c738
2021-09-26 21:59:56 +08:00
zhuyanlin
4d1affa210
uClibc++:remove typeinfo.cpp that confict with libsupc++
...
Typeinfo.cpp already defined in libsupc++
Change-Id: Ie61b95d8fa9da2034b57498de006dce8551c5ad5
2021-09-10 15:32:17 +08:00
zhuyanlin
803599faeb
uClibc++:remove typeinfo.cpp that confict with libsupc++
...
Typeinfo.cpp already defined in libsupc++
2021-09-09 16:38:30 +08:00
zhuyanlin
a2d6632e7c
uClibcxx: remove function that conflict with libsupc++
...
The New_/del_ function already contain in libsupc++.
2021-09-07 10:33:11 +08:00
zhuyanlin
2ff63388b3
uClibcxx: remove function that conflict with libsupc++
...
The New_/del_ function already contain in libsupc++.
2021-09-02 13:59:10 +08:00
zhuyanlin
ba44da9a32
Revert "libxx:uClibxx:add-weak-function-for-new-del-operations"
...
This reverts commit 40a110b4a8 .
2021-09-02 13:59:10 +08:00
Gustavo Henrique Nihei
c260fee516
libs/libxx: Enforce RTTI for building libcxxabi
...
It is okay for the application to be built without RTTI (-fno-rrti), but
libcxxabi requires RTTI at least for the library.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 21:02:17 +08:00
Xiang Xiao
90c839abbb
libxx: Move the partial c++ abi implementation to libcxxmini sub folder
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2bc9b8be2962451a44352ab90623c9481bd162b2
2021-09-01 18:03:06 +08:00
zhuyanlin
cf2d061be3
libxx: use libxxabi, uClibxx in local code
...
N/A
Change-Id: I8322f89eb3afb2e404eb2d0164f578785870a3d3
2021-09-01 11:30:28 +08:00
Xiang Xiao
c8b93ed45e
libxx: Move the partial c++ abi implementation to libcxxmini sub folder
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2bc9b8be2962451a44352ab90623c9481bd162b2
2021-08-31 06:52:10 -03:00
Xiang Xiao
a901ab35ad
libxx: Remove the unused libxx_stdthrow.cxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-31 11:39:21 +08:00
Xiang Xiao
19e5ba9ef4
libxx: Move libcxxabi special setting from libcxx.defs to libcxxabi.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-31 11:39:12 +08:00
Xiang Xiao
7768b66bf4
libxx: Give VERSION make variable prefix to avoid the conflict
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Icca26524e3154300ed863650db24f88a9a8e295a
2021-08-31 11:39:01 +08:00
Abdelatif Guettouche
eb621457d0
libs/libxx/uClibc++.defs: Download the correct file type.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-31 11:37:30 +08:00
zhuyanlin
40a110b4a8
libxx:uClibxx:add-weak-function-for-new-del-operations
...
Add-weak-function-for-new-del-operations
Change-Id: Ie44528529e457d714a581881e247c41f01f2231b
2021-08-31 11:23:29 +08:00
zhuyanlin
8940d85668
libxx:uClibcxx:fix-GCC-specific-definitiion error
...
Use __GNUC__ instead of __GCC__
Change-Id: I285bd099cf973a89e21c5c7825250d1840615f36
2021-08-31 11:23:29 +08:00
Xiang Xiao
d6c3381ef1
libxx: Remove the unused libxx_stdthrow.cxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-30 15:57:22 -03:00
Xiang Xiao
ce73f9cbfc
libxx: Move libcxxabi special setting from libcxx.defs to libcxxabi.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-30 10:44:24 +02:00
Xiang Xiao
397d329966
libxx: Give VERSION make variable prefix to avoid the conflict
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-30 10:44:24 +02:00
Xiang Xiao
ab5d2adbca
libxx: Change CXX_LIBSUPCXX to LIBSUPCXX
...
align with other Kconfig(e.g. LIBCXXABI, LIBCXX, UCLIBCXX)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-29 21:32:01 +08:00
Xiang Xiao
165c4fc5ef
libxx: Disable CXX_EXCEPTION by default to save the code space
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1b1fafa95f0e385a615dba78f43858b797c5ce69
2021-08-29 21:31:46 +08:00
Xiang Xiao
39cafc1612
libcxx: Avoid the waring: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ie91c28596f1504326e8dfbb4a79d276b712db5bc
2021-08-29 21:31:14 +08:00
Xiang Xiao
b4f597bed4
libcxxabi: Avoid the waring: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-29 21:30:16 +08:00
Abdelatif Guettouche
6af1bd5666
libs/libxx: Download C++ libraries during context.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-29 21:29:20 +08:00
Xiang Xiao
90a1d498b5
Remove the locale fallback from libcxx
...
since these functions can handled by NuttX's libc now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I7dc487688db9d656d35f828efaed5beefe3c48e7
2021-08-29 21:29:10 +08:00
SPRESENSE
ed4fae3c93
libs/libxx/libcxx.defs: Fix build error on Windows platform
...
The libcxx-X.Y.Z.src.tar.xz contains a symbolic link to a directory
that not exist as below.
`libcxx-X.Y.Z.src/test/std/pstl -> ../../../pstl/test/std`
Linux and macOS environment have no problem, but it causes an error
when extracting tarball on Windows platform. This symbolic link is not
actually used, so exclude it from extracting the tarball.
Change-Id: Ib01c8bdca04794c3ca3761e940cf3ab8d6361262
2021-08-29 21:27:26 +08:00
Xiang Xiao
b0c782255c
libxx: Change CXX_LIBSUPCXX to LIBSUPCXX
...
align with other Kconfig(e.g. LIBCXXABI, LIBCXX, UCLIBCXX)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:14:48 -03:00
Xiang Xiao
ceb8bd4bce
libxx: Disable CXX_EXCEPTION by default to save the code space
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1b1fafa95f0e385a615dba78f43858b797c5ce69
2021-08-28 17:13:43 -03:00
Xiang Xiao
bdc86e85d7
libcxx: Avoid the waring: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:13:43 -03:00
Xiang Xiao
95ff2e16a3
libcxxabi: Avoid the waring: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:13:43 -03:00
zhuyanlin
9a2e9de4bc
libxx: rename NUTTX_LIBCXX
...
NUTTX_LIBCXX is only basic C++ support, do not support many c++
library function, NUTTX_NOCXXLIB is more suitable.
When NUTTX_NOCXXLIB is select, do not select lower level support.
Change-Id: I158937a4ba02f8fa3c76101acbdfb295d8cd736f
2021-08-28 09:39:24 +08:00
zhuyanlin
6354a78791
libc:libcxx: add support for libcxxabi.
...
libcxxabi is either-or select with glibcxx.
Change-Id: I4fbea19f0648ddc318379dd43bac8406f7c86927
2021-08-28 09:39:13 +08:00
zhuyanlin
a4abe4bd3e
libc:libxx: add new low level c++ standard library support
...
LLVM libc++abi is a new implementation of low level support for
a standard C++ library.
Change-Id: Ica9c81bd96fd27b169a06e352b0c394d47aed5b6
2021-08-28 09:39:03 +08:00
zhuyanlin
32ea691d5f
libs:cxx.defs: bypass -Wno-missing-exception-spec flag in xcc
...
Xtensa-toolchain do not recognize -Wno-missing-exception-spec flags
2021-08-28 09:38:55 +08:00
zhuyanlin
528d18ef26
libxx: rename NUTTX_LIBCXX
...
NUTTX_LIBCXX is only basic C++ support, do not support many c++
library function, NUTTX_NOCXXLIB is more suitable.
When NUTTX_NOCXXLIB is select, do not select lower level support.
Change-Id: I158937a4ba02f8fa3c76101acbdfb295d8cd736f
2021-08-26 19:32:24 +08:00
zhuyanlin
f2fe51c22d
libc:libcxx: add support for libcxxabi.
...
libcxxabi is either-or select with glibcxx.
Change-Id: I4fbea19f0648ddc318379dd43bac8406f7c86927
2021-08-26 19:32:24 +08:00
zhuyanlin
7f48d13c47
libc:libxx: add new low level c++ standard library support
...
LLVM libc++abi is a new implementation of low level support for
a standard C++ library.
Change-Id: Ica9c81bd96fd27b169a06e352b0c394d47aed5b6
2021-08-26 19:32:24 +08:00
liuhaitao
54f4c43e0a
Add libcxxabi into .gitignore
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
Change-Id: I076f4c203b72bc039dea63b4a98e0db241628cef
2021-08-19 20:56:16 +08:00
Abdelatif Guettouche
15fb70cb00
libs/libxx: Download C++ libraries during context.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-19 03:05:54 -07:00
Abdelatif Guettouche
0ac02765bd
libs/libxx/uClibc++.defs: Download the correct file type.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 12:19:16 -07:00
zhuyanlin
5e817e25e8
libs:cxx.defs: bypass -Wno-missing-exception-spec flag in xcc
...
Xtensa-toolchain do not recognize -Wno-missing-exception-spec flags
2021-08-14 14:11:34 -03:00
Xiang Xiao
3c400f32fa
Remove the locale fallback from libcxx
...
since these functions can handled by NuttX's libc now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-30 09:43:26 -03:00
SPRESENSE
25b7bdf943
libs/libxx/libcxx.defs: Fix build error on Windows platform
...
The libcxx-X.Y.Z.src.tar.xz contains a symbolic link to a directory
that not exist as below.
`libcxx-X.Y.Z.src/test/std/pstl -> ../../../pstl/test/std`
Linux and macOS environment have no problem, but it causes an error
when extracting tarball on Windows platform. This symbolic link is not
actually used, so exclude it from extracting the tarball.
2021-07-21 08:59:22 -07:00
Nathan Hartman
609ee6b54b
Fix typos in comments and identifiers
2021-07-19 22:55:30 -03:00
Xiang Xiao
c8f1eeed57
Merge commit ' 2e43815c92' into dev
...
Change-Id: Idcbac12fec435abff01cfb4efd5a26a02eb08f93
2021-07-13 03:14:34 +08:00
Xiang Xiao
1d0ade6fa2
libc: Remove the duplication lib_xxx macro
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I73c876ed40811c013dad83b8b2aeb7bdc3041913
2021-07-01 11:28:34 -07:00
Xiang Xiao
1c5b37a1f5
libc: Remove the duplication lib_xxx macro
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I73c876ed40811c013dad83b8b2aeb7bdc3041913
2021-07-01 18:08:54 +08:00
Alin Jerpelea
aa4e80cf69
libs: libxx: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-05-27 08:07:25 +09:00
Xiang Xiao
a81166aef6
Update libcxx to 12.0.0 release
...
and remove the temporary patch since all patch is in the mainline now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-16 01:18:41 -07:00
chao.an
dcc2db8d40
make/archive: replace the dependency to preprequisite list
...
Change-Id: Id63f3cd32906461a54cb016ef8078d4d922845e2
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-07 21:34:45 +08:00