You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/10/26 17:21:17 UTC
[nuttx] branch master updated (9112b9e4c0 -> 8f96e59aee)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 9112b9e4c0 cmake:add zifencei extension in compile options
new 9c984bbe5c tools/sethost.sh: add MSYS2 MSYS environment
new 8f96e59aee libs/libc/stdlib/lib_exit.c: fix multiple definition of __dso_handle in msys2
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
libs/libc/stdlib/lib_exit.c | 3 +++
tools/sethost.sh | 5 +++++
2 files changed, 8 insertions(+)
[nuttx] 02/02: libs/libc/stdlib/lib_exit.c: fix multiple definition of __dso_handle in msys2
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 8f96e59aee9cd0c5bbb82e01044d109f8588fec2
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Tue Oct 24 12:31:51 2023 +0200
libs/libc/stdlib/lib_exit.c: fix multiple definition of __dso_handle in msys2
CPP: nuttx-names.in-> nuttx-names.dat
LD: nuttx
/usr/lib/gcc/x86_64-pc-msys/13.2.0/../../../../x86_64-pc-msys/bin/ld: nuttx.rel:/d/a/nuttx_windows/nuttx_windows/nuttxspace/nuttx/libs/libc/stdlib/lib_exit.c:48: multiple definition of `__dso_handle'; /usr/lib/gcc/x86_64-pc-msys/13.2.0/crtbegin.o:cygming-crtbeg:(.data+0x0): first defined here
---
libs/libc/stdlib/lib_exit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libs/libc/stdlib/lib_exit.c b/libs/libc/stdlib/lib_exit.c
index 562cae251a..3dc35bfb69 100644
--- a/libs/libc/stdlib/lib_exit.c
+++ b/libs/libc/stdlib/lib_exit.c
@@ -45,7 +45,10 @@
****************************************************************************/
extern FAR void *__dso_handle weak_data;
+
+#ifndef CONFIG_HOST_WINDOWS
FAR void *__dso_handle = &__dso_handle;
+#endif
/****************************************************************************
* Public Functions
[nuttx] 01/02: tools/sethost.sh: add MSYS2 MSYS environment
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9c984bbe5c74570c30545dcaf666cf2aae02f60b
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Tue Oct 24 12:29:05 2023 +0200
tools/sethost.sh: add MSYS2 MSYS environment
add MSYS2 MSYS environment
---
tools/sethost.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/sethost.sh b/tools/sethost.sh
index fbeca61302..5c7aa6a2cd 100755
--- a/tools/sethost.sh
+++ b/tools/sethost.sh
@@ -79,6 +79,7 @@ done
# Cygwin: CYGWIN_NT-10.0-WOW
# Linux: Linux
# MSYS: MINGW32_NT-6.2
+# MSYS2: MSYS_NT-6.3-9600
# BSD: FreeBSD, OpenBSD, NetBSD, *BSD
if [ -z "$host" ]; then
@@ -98,6 +99,10 @@ if [ -z "$host" ]; then
host=windows
wenv=msys
;;
+ MSYS*)
+ host=windows
+ wenv=msys
+ ;;
*)
# Assume linux as a fallback