[OE-core] [PATCH] gcc8: drop stray uClibc specific patch

Khem Raj raj.khem at gmail.com
Wed Jun 13 18:12:31 UTC 2018


On 6/13/18 10:28 AM, Andre McCurdy wrote:
> The patch was previously removed for gcc7 but came back with gcc8.
> 
>   http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87
> 

This is ok to apply, thanks for noticing it. I am planning to look into
the patches wholesale and see what we can remove. We have been carrying
several patches for long time.

> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
>  meta/recipes-devtools/gcc/gcc-8.1.inc              |  1 -
>  .../gcc/gcc-8.1/0002-c99-snprintf.patch            | 28 ----------------------
>  2 files changed, 29 deletions(-)
>  delete mode 100644 meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-8.1.inc b/meta/recipes-devtools/gcc/gcc-8.1.inc
> index cb0fbd9..d83ba65 100644
> --- a/meta/recipes-devtools/gcc/gcc-8.1.inc
> +++ b/meta/recipes-devtools/gcc/gcc-8.1.inc
> @@ -32,7 +32,6 @@ BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
>  SRC_URI = "\
>             ${BASEURI} \
>             file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
> -           file://0002-c99-snprintf.patch \
>             file://0003-gcc-poison-system-directories.patch \
>             file://0004-gcc-poison-dir-extend.patch \
>             file://0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
> diff --git a/meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch
> deleted file mode 100644
> index aa123b4..0000000
> --- a/meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -From 5fbfcf247ed6dd01263639daf0c9c3a291e2fd3a Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem at gmail.com>
> -Date: Fri, 29 Mar 2013 08:49:03 +0400
> -Subject: [PATCH 02/39] c99-snprintf
> -
> -Signed-off-by: Khem Raj <raj.khem at gmail.com>
> -
> -Upstream-Status: Pending
> ----
> - libstdc++-v3/include/c_std/cstdio | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/libstdc++-v3/include/c_std/cstdio b/libstdc++-v3/include/c_std/cstdio
> -index 1b9571eaa8d..ad816be4fd1 100644
> ---- a/libstdc++-v3/include/c_std/cstdio
> -+++ b/libstdc++-v3/include/c_std/cstdio
> -@@ -144,7 +144,7 @@ namespace std
> -   using ::vsprintf;
> - } // namespace std
> - 
> --#if _GLIBCXX_USE_C99_STDIO
> -+#if _GLIBCXX_USE_C99_STDIO || defined(__UCLIBC__)
> - 
> - #undef snprintf
> - #undef vfscanf
> --- 
> -2.17.0
> -
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180613/1ec4fc4f/attachment-0002.sig>


More information about the Openembedded-core mailing list