{"action":"created","comment":{"url":"https://api.github.com/repos/espressif/esp-idf/pulls/comments/151852012","pull_request_review_id":77630531,"id":151852012,"diff_hunk":"@@ -569,7 +569,7 @@ static const uint8_t * _mdns_read_fqdn(const uint8_t * packet, const uint8_t * s\n                     && (strcmp(buf, MDNS_DEFAULT_DOMAIN) != 0)\n                     && (strcmp(buf, \"ip6\") != 0)\n                     && (strcmp(buf, \"in-addr\") != 0)) {\n-                snprintf((char*)name, MDNS_NAME_BUF_LEN, \"%s.%s\", name->host, buf);\n+                snprintf((char*)name, MDNS_NAME_BUF_LEN+1, \"%s.%s\", name->host, buf);","path":"components/mdns/mdns.c","position":5,"original_position":5,"commit_id":"7af3787086dd8e210feb91ec843bbd46620b3fde","original_commit_id":"0dc963d39f854af02e54be86e05afae5ff45cc63","user":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars2.githubusercontent.com/u/175587?v=4","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"body":"@projectgus @negativekelvin Do you guys mean sth like this?:\r\n\r\n```\r\n-                snprintf((char*)name, MDNS_NAME_BUF_LEN+1, \"%s.%s\", name->host, buf);\r\n+              //snprintf((char*)name, MDNS_NAME_BUF_LEN, \"%s.%s\", name->host, buf);\r\n+                strlcat(name->host, (char*)'.', sizeof(name->host));\r\n+                strlcat(name->host, buf, sizeof(name->host));\r\n```\r\n\r\nHere's a good read from Theo: https://www.sudo.ws/todd/papers/strlcpy.html\r\n\r\nI hope I applied it correctly for now :-S... is the check for truncation necessary in this case?","created_at":"2017-11-19T01:18:48Z","updated_at":"2017-11-19T01:18:49Z","html_url":"https://github.com/espressif/esp-idf/pull/1163#discussion_r151852012","pull_request_url":"https://api.github.com/repos/espressif/esp-idf/pulls/1163","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/espressif/esp-idf/pulls/comments/151852012"},"html":{"href":"https://github.com/espressif/esp-idf/pull/1163#discussion_r151852012"},"pull_request":{"href":"https://api.github.com/repos/espressif/esp-idf/pulls/1163"}},"in_reply_to_id":147153467},"pull_request":{"url":"https://api.github.com/repos/espressif/esp-idf/pulls/1163","id":148785834,"html_url":"https://github.com/espressif/esp-idf/pull/1163","diff_url":"https://github.com/espressif/esp-idf/pull/1163.diff","patch_url":"https://github.com/espressif/esp-idf/pull/1163.patch","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/1163","number":1163,"state":"open","locked":false,"title":"Fix compiling errors while using gcc-7.2.0 for the crosstool-ng toolchain","user":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars2.githubusercontent.com/u/175587?v=4","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"body":"Shouldn't break anything on current crosstool-ng gcc<5.2.x toolchains... I guess.\r\n\r\nThis is the result of following and fixing the stream of errors that this user observed:\r\n\r\nhttps://www.esp32.com/viewtopic.php?f=2&t=3362\r\n\r\nApparently gcc7.2.0 flags as errors that i.e `rcsid` is declared but not used... I guess I'm missing some more lax gcc flag in crosstool-ng, I'll followup with the accompanying PR there too (crosstool-ng toolchain). \r\n\r\nMeanwhile, I'm leaving a working `.config` for crosstool-ng here (just bumping versions and [applying this GCC patch](https://github.com/jcmvbkbc/crosstool-NG/blob/b38a1d4cb9f0179a1da5c210e476aa2c9229bb94/local-patches/gcc/5.1.0/0001-WIP-don-t-bring-extra-u-int_least32_t-into-std.patch), if someone is interested):\r\n\r\n```\r\n#\r\n# Automatically generated file; DO NOT EDIT.\r\n# Crosstool-NG Configuration\r\n#\r\nCT_CONFIGURE_has_make381=y\r\nCT_CONFIGURE_has_xz=y\r\nCT_CONFIGURE_has_svn=y\r\nCT_MODULES=y\r\n\r\n#\r\n# Paths and misc options\r\n#\r\n\r\n#\r\n# crosstool-NG behavior\r\n#\r\n# CT_OBSOLETE is not set\r\nCT_EXPERIMENTAL=y\r\n# CT_ALLOW_BUILD_AS_ROOT is not set\r\n# CT_DEBUG_CT is not set\r\n\r\n#\r\n# Paths\r\n#\r\nCT_LOCAL_TARBALLS_DIR=\"\"\r\nCT_CUSTOM_LOCATION_ROOT_DIR=\"\"\r\nCT_WORK_DIR=\"${CT_TOP_DIR}/.build\"\r\nCT_PREFIX_DIR=\"${CT_TOP_DIR}/builds/${CT_TARGET}\"\r\nCT_INSTALL_DIR=\"${CT_PREFIX_DIR}\"\r\nCT_RM_RF_PREFIX_DIR=y\r\nCT_REMOVE_DOCS=y\r\nCT_INSTALL_DIR_RO=y\r\nCT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y\r\n# CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set\r\n\r\n#\r\n# Downloading\r\n#\r\n# CT_FORBID_DOWNLOAD is not set\r\n# CT_FORCE_DOWNLOAD is not set\r\nCT_CONNECT_TIMEOUT=10\r\n# CT_ONLY_DOWNLOAD is not set\r\n# CT_USE_MIRROR is not set\r\n\r\n#\r\n# Extracting\r\n#\r\n# CT_FORCE_EXTRACT is not set\r\nCT_OVERIDE_CONFIG_GUESS_SUB=y\r\n# CT_ONLY_EXTRACT is not set\r\n# CT_PATCH_BUNDLED is not set\r\n# CT_PATCH_LOCAL is not set\r\nCT_PATCH_BUNDLED_LOCAL=y\r\n# CT_PATCH_LOCAL_BUNDLED is not set\r\n# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set\r\n# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set\r\n# CT_PATCH_NONE is not set\r\nCT_PATCH_ORDER=\"bundled,local\"\r\nCT_PATCH_USE_LOCAL=y\r\nCT_LOCAL_PATCH_DIR=\"${CT_TOP_DIR}/local-patches\"\r\n\r\n#\r\n# Build behavior\r\n#\r\nCT_PARALLEL_JOBS=0\r\nCT_LOAD=\"\"\r\nCT_USE_PIPES=y\r\nCT_EXTRA_CFLAGS_FOR_BUILD=\"\"\r\nCT_EXTRA_LDFLAGS_FOR_BUILD=\"\"\r\nCT_EXTRA_CFLAGS_FOR_HOST=\"\"\r\nCT_EXTRA_LDFLAGS_FOR_HOST=\"\"\r\n# CT_CONFIG_SHELL_SH is not set\r\n# CT_CONFIG_SHELL_ASH is not set\r\nCT_CONFIG_SHELL_BASH=y\r\n# CT_CONFIG_SHELL_CUSTOM is not set\r\nCT_CONFIG_SHELL=\"${bash}\"\r\n\r\n#\r\n# Logging\r\n#\r\n# CT_LOG_ERROR is not set\r\n# CT_LOG_WARN is not set\r\nCT_LOG_INFO=y\r\n# CT_LOG_EXTRA is not set\r\n# CT_LOG_ALL is not set\r\n# CT_LOG_DEBUG is not set\r\nCT_LOG_LEVEL_MAX=\"INFO\"\r\n# CT_LOG_SEE_TOOLS_WARN is not set\r\nCT_LOG_PROGRESS_BAR=y\r\nCT_LOG_TO_FILE=y\r\nCT_LOG_FILE_COMPRESS=y\r\n\r\n#\r\n# Target options\r\n#\r\nCT_ARCH=\"xtensa\"\r\nCT_ARCH_SUPPORTS_BOTH_MMU=y\r\nCT_ARCH_SUPPORTS_32=y\r\nCT_ARCH_DEFAULT_HAS_MMU=y\r\nCT_ARCH_32=y\r\nCT_ARCH_BITNESS=32\r\nCT_TARGET_CFLAGS=\"-mlongcalls\"\r\nCT_TARGET_LDFLAGS=\"\"\r\n# CT_ARCH_alpha is not set\r\n# CT_ARCH_arm is not set\r\n# CT_ARCH_avr is not set\r\n# CT_ARCH_m68k is not set\r\n# CT_ARCH_microblaze is not set\r\n# CT_ARCH_mips is not set\r\n# CT_ARCH_nios2 is not set\r\n# CT_ARCH_powerpc is not set\r\n# CT_ARCH_s390 is not set\r\n# CT_ARCH_sh is not set\r\n# CT_ARCH_sparc is not set\r\n# CT_ARCH_x86 is not set\r\nCT_ARCH_xtensa=y\r\nCT_ARCH_alpha_AVAILABLE=y\r\nCT_ARCH_arm_AVAILABLE=y\r\nCT_ARCH_avr_AVAILABLE=y\r\nCT_ARCH_m68k_AVAILABLE=y\r\nCT_ARCH_microblaze_AVAILABLE=y\r\nCT_ARCH_mips_AVAILABLE=y\r\nCT_ARCH_nios2_AVAILABLE=y\r\nCT_ARCH_powerpc_AVAILABLE=y\r\nCT_ARCH_s390_AVAILABLE=y\r\nCT_ARCH_sh_AVAILABLE=y\r\nCT_ARCH_sparc_AVAILABLE=y\r\nCT_ARCH_x86_AVAILABLE=y\r\nCT_ARCH_xtensa_AVAILABLE=y\r\nCT_ARCH_SUFFIX=\"\"\r\n\r\n#\r\n# Generic target options\r\n#\r\n# CT_MULTILIB is not set\r\nCT_ARCH_USE_MMU=y\r\n\r\n#\r\n# Target optimisations\r\n#\r\nCT_ARCH_FLOAT=\"\"\r\n\r\n#\r\n# xtensa other options\r\n#\r\nCT_XTENSA_CUSTOM=y\r\n# CT_ARCH_xtensa_fsf is not set\r\nCT_ARCH_XTENSA_CUSTOM_NAME=\"esp32\"\r\nCT_ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION=\"${CT_TOP_DIR}/overlays\"\r\n\r\n#\r\n# Toolchain options\r\n#\r\n\r\n#\r\n# General toolchain options\r\n#\r\nCT_FORCE_SYSROOT=y\r\nCT_USE_SYSROOT=y\r\nCT_SYSROOT_NAME=\"sysroot\"\r\nCT_SYSROOT_DIR_PREFIX=\"\"\r\n# CT_STATIC_TOOLCHAIN is not set\r\nCT_TOOLCHAIN_PKGVERSION=\"\"\r\nCT_TOOLCHAIN_BUGURL=\"\"\r\n\r\n#\r\n# Tuple completion and aliasing\r\n#\r\nCT_TARGET_VENDOR=\"esp32\"\r\nCT_TARGET_ALIAS_SED_EXPR=\"\"\r\nCT_TARGET_ALIAS=\"\"\r\n\r\n#\r\n# Toolchain type\r\n#\r\n# CT_NATIVE is not set\r\nCT_CROSS=y\r\n# CT_CROSS_NATIVE is not set\r\n# CT_CANADIAN is not set\r\nCT_TOOLCHAIN_TYPE=\"cross\"\r\n\r\n#\r\n# Build system\r\n#\r\nCT_BUILD=\"\"\r\nCT_BUILD_PREFIX=\"\"\r\nCT_BUILD_SUFFIX=\"\"\r\n\r\n#\r\n# Misc options\r\n#\r\n# CT_TOOLCHAIN_ENABLE_NLS is not set\r\n\r\n#\r\n# Operating System\r\n#\r\nCT_BARE_METAL=y\r\nCT_KERNEL=\"bare-metal\"\r\nCT_KERNEL_bare_metal=y\r\n# CT_KERNEL_linux is not set\r\nCT_KERNEL_bare_metal_AVAILABLE=y\r\nCT_KERNEL_linux_AVAILABLE=y\r\nCT_KERNEL_windows_AVAILABLE=y\r\n\r\n#\r\n# Common kernel options\r\n#\r\n\r\n#\r\n# Binary utilities\r\n#\r\nCT_ARCH_BINFMT_ELF=y\r\nCT_BINUTILS=\"binutils\"\r\nCT_BINUTILS_binutils=y\r\n\r\n#\r\n# GNU binutils\r\n#\r\n# CT_CC_BINUTILS_SHOW_LINARO is not set\r\nCT_BINUTILS_V_2_25_1=y\r\n# CT_BINUTILS_V_2_25 is not set\r\n# CT_BINUTILS_V_2_24 is not set\r\n# CT_BINUTILS_V_2_23_2 is not set\r\n# CT_BINUTILS_V_2_23_1 is not set\r\n# CT_BINUTILS_V_2_22 is not set\r\n# CT_BINUTILS_V_2_21_53 is not set\r\n# CT_BINUTILS_V_2_21_1a is not set\r\n# CT_BINUTILS_V_2_20_1a is not set\r\n# CT_BINUTILS_V_2_19_1a is not set\r\n# CT_BINUTILS_V_2_18a is not set\r\n# CT_BINUTILS_CUSTOM is not set\r\nCT_BINUTILS_VERSION=\"2.25.1\"\r\nCT_BINUTILS_2_25_1_or_later=y\r\nCT_BINUTILS_2_25_or_later=y\r\nCT_BINUTILS_2_24_or_later=y\r\nCT_BINUTILS_2_23_or_later=y\r\nCT_BINUTILS_2_22_or_later=y\r\nCT_BINUTILS_2_21_or_later=y\r\nCT_BINUTILS_2_20_or_later=y\r\nCT_BINUTILS_2_19_or_later=y\r\nCT_BINUTILS_2_18_or_later=y\r\nCT_BINUTILS_HAS_HASH_STYLE=y\r\nCT_BINUTILS_HAS_GOLD=y\r\nCT_BINUTILS_HAS_PLUGINS=y\r\nCT_BINUTILS_HAS_PKGVERSION_BUGURL=y\r\nCT_BINUTILS_LINKER_LD=y\r\nCT_BINUTILS_LINKERS_LIST=\"ld\"\r\nCT_BINUTILS_LINKER_DEFAULT=\"bfd\"\r\n# CT_BINUTILS_PLUGINS is not set\r\nCT_BINUTILS_EXTRA_CONFIG_ARRAY=\"\"\r\n\r\n#\r\n# binutils other options\r\n#\r\n\r\n#\r\n# C-library\r\n#\r\nCT_LIBC=\"newlib\"\r\nCT_LIBC_VERSION=\"2.2.0\"\r\nCT_LIBC_newlib=y\r\n# CT_LIBC_none is not set\r\nCT_LIBC_avr_libc_AVAILABLE=y\r\nCT_LIBC_glibc_AVAILABLE=y\r\nCT_THREADS=\"none\"\r\nCT_LIBC_mingw_AVAILABLE=y\r\nCT_LIBC_musl_AVAILABLE=y\r\nCT_LIBC_newlib_AVAILABLE=y\r\n# CT_CC_NEWLIB_SHOW_LINARO is not set\r\nCT_LIBC_NEWLIB_V_2_2_0=y\r\n# CT_LIBC_NEWLIB_V_2_1_0 is not set\r\n# CT_LIBC_NEWLIB_V_2_0_0 is not set\r\n# CT_LIBC_NEWLIB_V_1_20_0 is not set\r\n# CT_LIBC_NEWLIB_V_1_19_0 is not set\r\n# CT_LIBC_NEWLIB_V_1_18_0 is not set\r\n# CT_LIBC_NEWLIB_V_1_17_0 is not set\r\n# CT_LIBC_NEWLIB_CUSTOM is not set\r\nCT_LIBC_NEWLIB_2_2=y\r\nCT_LIBC_NEWLIB_2_2_or_later=y\r\nCT_LIBC_NEWLIB_2_1_or_later=y\r\nCT_LIBC_NEWLIB_2_0_or_later=y\r\nCT_LIBC_NEWLIB_TARGET_CFLAGS=\"\"\r\nCT_LIBC_none_AVAILABLE=y\r\nCT_LIBC_uClibc_AVAILABLE=y\r\nCT_LIBC_SUPPORT_THREADS_NONE=y\r\nCT_LIBC_PROVIDES_CXA_ATEXIT=y\r\n\r\n#\r\n# Common C library options\r\n#\r\nCT_THREADS_NONE=y\r\n\r\n#\r\n# newlib other options\r\n#\r\n# CT_LIBC_NEWLIB_IO_C99FMT is not set\r\n# CT_LIBC_NEWLIB_IO_LL is not set\r\n# CT_LIBC_NEWLIB_IO_FLOAT is not set\r\nCT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y\r\nCT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y\r\nCT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY=\"\"\r\n\r\n#\r\n# C compiler\r\n#\r\nCT_CC=\"gcc\"\r\nCT_CC_CORE_PASS_2_NEEDED=y\r\nCT_CC_gcc=y\r\n# CT_CC_GCC_SHOW_LINARO is not set\r\nCT_CC_GCC_V_7_2_0=y\r\n# CT_CC_GCC_V_5_5_0=y\r\n# CT_CC_GCC_V_5_2_0=y\r\n# CT_CC_GCC_V_4_9_3 is not set\r\n# CT_CC_GCC_V_4_8_5 is not set\r\n# CT_CC_GCC_V_4_7_4 is not set\r\n# CT_CC_GCC_V_4_6_4 is not set\r\n# CT_CC_GCC_V_4_5_4 is not set\r\n# CT_CC_GCC_V_4_4_7 is not set\r\n# CT_CC_GCC_V_4_3_6 is not set\r\n# CT_CC_GCC_V_4_2_4 is not set\r\n# CT_CC_GCC_CUSTOM is not set\r\nCT_CC_GCC_4_2_or_later=y\r\nCT_CC_GCC_4_3_or_later=y\r\nCT_CC_GCC_4_4_or_later=y\r\nCT_CC_GCC_4_5_or_later=y\r\nCT_CC_GCC_4_6_or_later=y\r\nCT_CC_GCC_4_7_or_later=y\r\nCT_CC_GCC_4_8_or_later=y\r\nCT_CC_GCC_4_9_or_later=y\r\nCT_CC_GCC_5=y\r\nCT_CC_GCC_5_or_later=y\r\nCT_CC_GCC_HAS_GRAPHITE=y\r\nCT_CC_GCC_USE_GRAPHITE=y\r\nCT_CC_GCC_HAS_LTO=y\r\nCT_CC_GCC_USE_LTO=y\r\nCT_CC_GCC_HAS_PKGVERSION_BUGURL=y\r\nCT_CC_GCC_HAS_BUILD_ID=y\r\nCT_CC_GCC_HAS_LNK_HASH_STYLE=y\r\nCT_CC_GCC_USE_GMP_MPFR=y\r\nCT_CC_GCC_USE_MPC=y\r\nCT_CC_GCC_HAS_LIBQUADMATH=y\r\nCT_CC_GCC_HAS_LIBSANITIZER=y\r\nCT_CC_GCC_VERSION=\"7.2.0\"\r\n# CT_CC_LANG_FORTRAN is not set\r\nCT_CC_GCC_ENABLE_CXX_FLAGS=\"-fno-rtti -ffunction-sections\"\r\nCT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=\"--enable-threads=posix\"\r\nCT_CC_GCC_EXTRA_CONFIG_ARRAY=\"--disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio\"\r\nCT_CC_GCC_EXTRA_ENV_ARRAY=\"\"\r\n# CT_CC_GCC_TARGET_FINAL is not set\r\n# CT_CC_GCC_STATIC_LIBSTDCXX is not set\r\n# CT_CC_GCC_SYSTEM_ZLIB is not set\r\n\r\n#\r\n# Optimisation features\r\n#\r\n\r\n#\r\n# Settings for libraries running on target\r\n#\r\nCT_CC_GCC_ENABLE_TARGET_OPTSPACE=y\r\n# CT_CC_GCC_LIBMUDFLAP is not set\r\n# CT_CC_GCC_LIBGOMP is not set\r\n# CT_CC_GCC_LIBSSP is not set\r\n# CT_CC_GCC_LIBQUADMATH is not set\r\n\r\n#\r\n# Misc. obscure options.\r\n#\r\n# CT_CC_CXA_ATEXIT is not set\r\n# CT_CC_GCC_DISABLE_PCH is not set\r\n# CT_CC_GCC_LDBL_128 is not set\r\n# CT_CC_GCC_BUILD_ID is not set\r\nCT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y\r\n# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set\r\n# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set\r\n# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set\r\nCT_CC_GCC_LNK_HASH_STYLE=\"\"\r\nCT_CC_GCC_DEC_FLOAT_AUTO=y\r\n# CT_CC_GCC_DEC_FLOAT_BID is not set\r\n# CT_CC_GCC_DEC_FLOAT_DPD is not set\r\n# CT_CC_GCC_DEC_FLOATS_NO is not set\r\nCT_CC_SUPPORT_CXX=y\r\nCT_CC_SUPPORT_FORTRAN=y\r\nCT_CC_SUPPORT_JAVA=y\r\nCT_CC_SUPPORT_ADA=y\r\nCT_CC_SUPPORT_OBJC=y\r\nCT_CC_SUPPORT_OBJCXX=y\r\nCT_CC_SUPPORT_GOLANG=y\r\n\r\n#\r\n# Additional supported languages:\r\n#\r\nCT_CC_LANG_CXX=y\r\nCT_CC_LANG_OTHERS=\"\"\r\n\r\n#\r\n# Debug facilities\r\n#\r\n# CT_DEBUG_dmalloc is not set\r\n# CT_DEBUG_duma is not set\r\nCT_DEBUG_gdb=y\r\nCT_GDB_CROSS=y\r\n# CT_GDB_CROSS_STATIC is not set\r\n# CT_GDB_CROSS_SIM is not set\r\nCT_GDB_CROSS_PYTHON=y\r\nCT_GDB_CROSS_EXTRA_CONFIG_ARRAY=\"\"\r\n\r\n#\r\n# In bare-metal, you'll need to   \r\n#\r\n\r\n#\r\n# provide your own gdbserver stub.\r\n#\r\n\r\n#\r\n# gdb version\r\n#\r\n# CT_DEBUG_GDB_SHOW_LINARO is not set\r\nCT_GDB_V_7_10=y\r\n# CT_GDB_V_7_9_1 is not set\r\n# CT_GDB_V_7_9 is not set\r\n# CT_GDB_V_7_8_2 is not set\r\n# CT_GDB_V_7_8_1 is not set\r\n# CT_GDB_V_7_8 is not set\r\n# CT_GDB_V_7_7_1 is not set\r\n# CT_GDB_V_7_7 is not set\r\n# CT_GDB_V_7_6_1 is not set\r\n# CT_GDB_V_7_5_1 is not set\r\n# CT_GDB_V_7_4_1 is not set\r\n# CT_GDB_V_7_4 is not set\r\n# CT_GDB_V_7_3_1 is not set\r\n# CT_GDB_V_7_3a is not set\r\n# CT_GDB_V_7_2a is not set\r\n# CT_GDB_V_7_1a is not set\r\n# CT_GDB_V_7_0_1a is not set\r\n# CT_GDB_V_7_0a is not set\r\n# CT_GDB_V_6_8a is not set\r\n# CT_GDB_CUSTOM is not set\r\nCT_GDB_7_2_or_later=y\r\nCT_GDB_7_0_or_later=y\r\nCT_GDB_HAS_PKGVERSION_BUGURL=y\r\nCT_GDB_HAS_PYTHON=y\r\nCT_GDB_INSTALL_GDBINIT=y\r\nCT_GDB_VERSION=\"7.10\"\r\n# CT_DEBUG_ltrace is not set\r\n# CT_DEBUG_strace is not set\r\n\r\n#\r\n# Companion libraries\r\n#\r\nCT_COMPLIBS_NEEDED=y\r\nCT_GMP_NEEDED=y\r\nCT_MPFR_NEEDED=y\r\nCT_ISL_NEEDED=y\r\nCT_MPC_NEEDED=y\r\nCT_EXPAT_NEEDED=y\r\nCT_NCURSES_NEEDED=y\r\nCT_COMPLIBS=y\r\nCT_GMP=y\r\nCT_MPFR=y\r\nCT_ISL=y\r\nCT_MPC=y\r\nCT_EXPAT=y\r\nCT_NCURSES=y\r\nCT_GMP_V_6_1_2=y\r\n# CT_GMP_V_5_1_3 is not set\r\n# CT_GMP_V_5_1_1 is not set\r\n# CT_GMP_V_5_0_2 is not set\r\n# CT_GMP_V_5_0_1 is not set\r\n# CT_GMP_V_4_3_2 is not set\r\n# CT_GMP_V_4_3_1 is not set\r\n# CT_GMP_V_4_3_0 is not set\r\nCT_GMP_5_0_2_or_later=y\r\nCT_GMP_VERSION=\"6.1.2\"\r\nCT_MPFR_V_3_1_6=y\r\n# CT_MPFR_V_3_1_2 is not set\r\n# CT_MPFR_V_3_1_0 is not set\r\n# CT_MPFR_V_3_0_1 is not set\r\n# CT_MPFR_V_3_0_0 is not set\r\n# CT_MPFR_V_2_4_2 is not set\r\n# CT_MPFR_V_2_4_1 is not set\r\n# CT_MPFR_V_2_4_0 is not set\r\nCT_MPFR_VERSION=\"3.1.6\"\r\nCT_ISL_V_0_18=y\r\n#CT_ISL_V_0_14=y\r\n# CT_ISL_V_0_12_2 is not set\r\nCT_ISL_V_0_14_or_later=y\r\nCT_ISL_V_0_12_or_later=y\r\nCT_ISL_VERSION=\"0.18\"\r\n#CT_ISL_VERSION=\"0.14\"\r\nCT_MPC_V_1_0_3=y\r\n# CT_MPC_V_1_0_2 is not set\r\n# CT_MPC_V_1_0_1 is not set\r\n# CT_MPC_V_1_0 is not set\r\n# CT_MPC_V_0_9 is not set\r\n# CT_MPC_V_0_8_2 is not set\r\n# CT_MPC_V_0_8_1 is not set\r\n# CT_MPC_V_0_7 is not set\r\nCT_MPC_VERSION=\"1.0.3\"\r\nCT_EXPAT_V_2_2_4=y\r\nCT_EXPAT_VERSION=\"2.2.4\"\r\nCT_NCURSES_V_6_0=y\r\nCT_NCURSES_VERSION=\"6.0\"\r\n# CT_NCURSES_NEW_ABI is not set\r\n\r\n#\r\n# Companion libraries common options\r\n#\r\n# CT_COMPLIBS_CHECK is not set\r\n\r\n#\r\n# Companion tools\r\n#\r\n\r\n#\r\n# READ HELP before you say 'Y' below !!!\r\n#\r\n# CT_COMP_TOOLS is not set\r\n\r\n#\r\n# Test suite\r\n#\r\n# CT_TEST_SUITE_GCC is not set\r\n```","created_at":"2017-10-25T21:28:06Z","updated_at":"2017-11-19T01:18:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f315862153035264b0834d6d8f0374adc62679eb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/espressif/esp-idf/pulls/1163/commits","review_comments_url":"https://api.github.com/repos/espressif/esp-idf/pulls/1163/comments","review_comment_url":"https://api.github.com/repos/espressif/esp-idf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/1163/comments","statuses_url":"https://api.github.com/repos/espressif/esp-idf/statuses/7af3787086dd8e210feb91ec843bbd46620b3fde","head":{"label":"brainstorm:ct-ng-gcc7.2.0","ref":"ct-ng-gcc7.2.0","sha":"7af3787086dd8e210feb91ec843bbd46620b3fde","user":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars2.githubusercontent.com/u/175587?v=4","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"repo":{"id":108327461,"name":"esp-idf","full_name":"brainstorm/esp-idf","owner":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars2.githubusercontent.com/u/175587?v=4","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brainstorm/esp-idf","description":"Espressif IoT Development Framework. Official development framework for ESP32.","fork":true,"url":"https://api.github.com/repos/brainstorm/esp-idf","forks_url":"https://api.github.com/repos/brainstorm/esp-idf/forks","keys_url":"https://api.github.com/repos/brainstorm/esp-idf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainstorm/esp-idf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainstorm/esp-idf/teams","hooks_url":"https://api.github.com/repos/brainstorm/esp-idf/hooks","issue_events_url":"https://api.github.com/repos/brainstorm/esp-idf/issues/events{/number}","events_url":"https://api.github.com/repos/brainstorm/esp-idf/events","assignees_url":"https://api.github.com/repos/brainstorm/esp-idf/assignees{/user}","branches_url":"https://api.github.com/repos/brainstorm/esp-idf/branches{/branch}","tags_url":"https://api.github.com/repos/brainstorm/esp-idf/tags","blobs_url":"https://api.github.com/repos/brainstorm/esp-idf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainstorm/esp-idf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainstorm/esp-idf/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainstorm/esp-idf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainstorm/esp-idf/statuses/{sha}","languages_url":"https://api.github.com/repos/brainstorm/esp-idf/languages","stargazers_url":"https://api.github.com/repos/brainstorm/esp-idf/stargazers","contributors_url":"https://api.github.com/repos/brainstorm/esp-idf/contributors","subscribers_url":"https://api.github.com/repos/brainstorm/esp-idf/subscribers","subscription_url":"https://api.github.com/repos/brainstorm/esp-idf/subscription","commits_url":"https://api.github.com/repos/brainstorm/esp-idf/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainstorm/esp-idf/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainstorm/esp-idf/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainstorm/esp-idf/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainstorm/esp-idf/contents/{+path}","compare_url":"https://api.github.com/repos/brainstorm/esp-idf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainstorm/esp-idf/merges","archive_url":"https://api.github.com/repos/brainstorm/esp-idf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainstorm/esp-idf/downloads","issues_url":"https://api.github.com/repos/brainstorm/esp-idf/issues{/number}","pulls_url":"https://api.github.com/repos/brainstorm/esp-idf/pulls{/number}","milestones_url":"https://api.github.com/repos/brainstorm/esp-idf/milestones{/number}","notifications_url":"https://api.github.com/repos/brainstorm/esp-idf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainstorm/esp-idf/labels{/name}","releases_url":"https://api.github.com/repos/brainstorm/esp-idf/releases{/id}","deployments_url":"https://api.github.com/repos/brainstorm/esp-idf/deployments","created_at":"2017-10-25T21:21:08Z","updated_at":"2017-10-25T21:21:21Z","pushed_at":"2017-11-18T15:14:12Z","git_url":"git://github.com/brainstorm/esp-idf.git","ssh_url":"git@github.com:brainstorm/esp-idf.git","clone_url":"https://github.com/brainstorm/esp-idf.git","svn_url":"https://github.com/brainstorm/esp-idf","homepage":"","size":46387,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"espressif:master","ref":"master","sha":"2c95a77cf93781f296883d5dbafcdc18e4389656","user":{"login":"espressif","id":9460735,"avatar_url":"https://avatars2.githubusercontent.com/u/9460735?v=4","gravatar_id":"","url":"https://api.github.com/users/espressif","html_url":"https://github.com/espressif","followers_url":"https://api.github.com/users/espressif/followers","following_url":"https://api.github.com/users/espressif/following{/other_user}","gists_url":"https://api.github.com/users/espressif/gists{/gist_id}","starred_url":"https://api.github.com/users/espressif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/espressif/subscriptions","organizations_url":"https://api.github.com/users/espressif/orgs","repos_url":"https://api.github.com/users/espressif/repos","events_url":"https://api.github.com/users/espressif/events{/privacy}","received_events_url":"https://api.github.com/users/espressif/received_events","type":"Organization","site_admin":false},"repo":{"id":65899476,"name":"esp-idf","full_name":"espressif/esp-idf","owner":{"login":"espressif","id":9460735,"avatar_url":"https://avatars2.githubusercontent.com/u/9460735?v=4","gravatar_id":"","url":"https://api.github.com/users/espressif","html_url":"https://github.com/espressif","followers_url":"https://api.github.com/users/espressif/followers","following_url":"https://api.github.com/users/espressif/following{/other_user}","gists_url":"https://api.github.com/users/espressif/gists{/gist_id}","starred_url":"https://api.github.com/users/espressif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/espressif/subscriptions","organizations_url":"https://api.github.com/users/espressif/orgs","repos_url":"https://api.github.com/users/espressif/repos","events_url":"https://api.github.com/users/espressif/events{/privacy}","received_events_url":"https://api.github.com/users/espressif/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/espressif/esp-idf","description":"Espressif IoT Development Framework. Official development framework for ESP32.","fork":false,"url":"https://api.github.com/repos/espressif/esp-idf","forks_url":"https://api.github.com/repos/espressif/esp-idf/forks","keys_url":"https://api.github.com/repos/espressif/esp-idf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/espressif/esp-idf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/espressif/esp-idf/teams","hooks_url":"https://api.github.com/repos/espressif/esp-idf/hooks","issue_events_url":"https://api.github.com/repos/espressif/esp-idf/issues/events{/number}","events_url":"https://api.github.com/repos/espressif/esp-idf/events","assignees_url":"https://api.github.com/repos/espressif/esp-idf/assignees{/user}","branches_url":"https://api.github.com/repos/espressif/esp-idf/branches{/branch}","tags_url":"https://api.github.com/repos/espressif/esp-idf/tags","blobs_url":"https://api.github.com/repos/espressif/esp-idf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/espressif/esp-idf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/espressif/esp-idf/git/refs{/sha}","trees_url":"https://api.github.com/repos/espressif/esp-idf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/espressif/esp-idf/statuses/{sha}","languages_url":"https://api.github.com/repos/espressif/esp-idf/languages","stargazers_url":"https://api.github.com/repos/espressif/esp-idf/stargazers","contributors_url":"https://api.github.com/repos/espressif/esp-idf/contributors","subscribers_url":"https://api.github.com/repos/espressif/esp-idf/subscribers","subscription_url":"https://api.github.com/repos/espressif/esp-idf/subscription","commits_url":"https://api.github.com/repos/espressif/esp-idf/commits{/sha}","git_commits_url":"https://api.github.com/repos/espressif/esp-idf/git/commits{/sha}","comments_url":"https://api.github.com/repos/espressif/esp-idf/comments{/number}","issue_comment_url":"https://api.github.com/repos/espressif/esp-idf/issues/comments{/number}","contents_url":"https://api.github.com/repos/espressif/esp-idf/contents/{+path}","compare_url":"https://api.github.com/repos/espressif/esp-idf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/espressif/esp-idf/merges","archive_url":"https://api.github.com/repos/espressif/esp-idf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/espressif/esp-idf/downloads","issues_url":"https://api.github.com/repos/espressif/esp-idf/issues{/number}","pulls_url":"https://api.github.com/repos/espressif/esp-idf/pulls{/number}","milestones_url":"https://api.github.com/repos/espressif/esp-idf/milestones{/number}","notifications_url":"https://api.github.com/repos/espressif/esp-idf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/espressif/esp-idf/labels{/name}","releases_url":"https://api.github.com/repos/espressif/esp-idf/releases{/id}","deployments_url":"https://api.github.com/repos/espressif/esp-idf/deployments","created_at":"2016-08-17T10:40:35Z","updated_at":"2017-11-18T04:56:58Z","pushed_at":"2017-11-18T15:14:13Z","git_url":"git://github.com/espressif/esp-idf.git","ssh_url":"git@github.com:espressif/esp-idf.git","clone_url":"https://github.com/espressif/esp-idf.git","svn_url":"https://github.com/espressif/esp-idf","homepage":"","size":47601,"stargazers_count":1291,"watchers_count":1291,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":614,"mirror_url":null,"archived":false,"open_issues_count":319,"forks":614,"open_issues":319,"watchers":1291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/espressif/esp-idf/pulls/1163"},"html":{"href":"https://github.com/espressif/esp-idf/pull/1163"},"issue":{"href":"https://api.github.com/repos/espressif/esp-idf/issues/1163"},"comments":{"href":"https://api.github.com/repos/espressif/esp-idf/issues/1163/comments"},"review_comments":{"href":"https://api.github.com/repos/espressif/esp-idf/pulls/1163/comments"},"review_comment":{"href":"https://api.github.com/repos/espressif/esp-idf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/espressif/esp-idf/pulls/1163/commits"},"statuses":{"href":"https://api.github.com/repos/espressif/esp-idf/statuses/7af3787086dd8e210feb91ec843bbd46620b3fde"}},"author_association":"NONE"}}
{"actor":{"display_login":"brainstorm"}}