From e7f5600a5d2c69a532eecbca3cb816c5960a3561 Mon Sep 17 00:00:00 2001 From: Dmitrii Kuvaiskii Date: Thu, 2 Jul 2020 21:32:25 +0000 Subject: [PATCH] [LibOS] Hide "ar: `u' modifier ignored ..." during Glibc build --- LibOS/glibc-patches/glibc-2.23.patch | 13 +++++++++++++ LibOS/glibc-patches/glibc-2.27.patch | 13 +++++++++++++ LibOS/glibc-patches/glibc-2.31.patch | 13 +++++++++++++ 3 files changed, 39 insertions(+) diff --git a/LibOS/glibc-patches/glibc-2.23.patch b/LibOS/glibc-patches/glibc-2.23.patch index 8ab19960..8b95ef6c 100644 --- a/LibOS/glibc-patches/glibc-2.23.patch +++ b/LibOS/glibc-patches/glibc-2.23.patch @@ -603,3 +603,16 @@ index 2b061a07c6c59575e93de08d699b7c69720faf03..e0fea4445f43dad1b812381da4afbd42 : "=a" (_result) \ : "0" ((unsigned long int) __NR_arch_prctl), \ "D" ((unsigned long int) ARCH_SET_FS), \ +diff --git a/Makerules b/Makerules +index 53eabfaba82a127221089112b40a51dc5e6949ea..fcb9f92ccee70fdaf5d4acd2430668e5964d57e3 100644 +--- a/Makerules ++++ b/Makerules +@@ -802,7 +802,7 @@ verbose := + endif # not -s + + ARFLAGS := r$(verbose) +-CREATE_ARFLAGS := cru$(verbose) ++CREATE_ARFLAGS := cr$(verbose) + + # This makes all the object files in the parent library archive. + diff --git a/LibOS/glibc-patches/glibc-2.27.patch b/LibOS/glibc-patches/glibc-2.27.patch index 687dcf69..cbc1d7d7 100644 --- a/LibOS/glibc-patches/glibc-2.27.patch +++ b/LibOS/glibc-patches/glibc-2.27.patch @@ -456,3 +456,16 @@ index bdd02376f985b102ea76b54fb5b4f0f4fcbc19bb..762f188b6ed340dbb2cd13852b636b31 : "=a" (_result) \ : "0" ((unsigned long int) __NR_arch_prctl), \ "D" ((unsigned long int) ARCH_SET_FS), \ +diff --git a/Makerules b/Makerules +index ef6abeac6d9dd0e9bb1aa68db7f1b64e64f9c9eb..e4872b3d632383b6d771a26cf6fbf745ce5ce06d 100644 +--- a/Makerules ++++ b/Makerules +@@ -895,7 +895,7 @@ verbose := + endif # not -s + + ARFLAGS := r$(verbose) +-CREATE_ARFLAGS := cru$(verbose) ++CREATE_ARFLAGS := cr$(verbose) + + # This makes all the object files in the parent library archive. + diff --git a/LibOS/glibc-patches/glibc-2.31.patch b/LibOS/glibc-patches/glibc-2.31.patch index 4200e941..f939db4c 100644 --- a/LibOS/glibc-patches/glibc-2.31.patch +++ b/LibOS/glibc-patches/glibc-2.31.patch @@ -447,3 +447,16 @@ index e7c1416eec4a490312ed56cc51a03a33eaa8e222..0d3b7babb0827f6abb9828e87f5982a4 : "=a" (_result) \ : "0" ((unsigned long int) __NR_arch_prctl), \ "D" ((unsigned long int) ARCH_SET_FS), \ +diff --git a/Makerules b/Makerules +index 1e9c18f0d866731910d29327b975e359dbb3ea33..3fa0d4a52489b6d05111e76ade0a68cc618f2679 100644 +--- a/Makerules ++++ b/Makerules +@@ -829,7 +829,7 @@ verbose := + endif # not -s + + ARFLAGS := r$(verbose) +-CREATE_ARFLAGS := cru$(verbose) ++CREATE_ARFLAGS := cr$(verbose) + + # This makes all the object files in the parent library archive. +