Message ID | 20220609025623.592330-2-sam@gentoo.org |
---|---|
State | New |
Headers | show |
Series | [v2,1/2] s390: use $READELF | expand |
On 09/06/2022 04:56, Sam James wrote: > Let's use LC_ALL=C as we do elsewhere for consistency. > > Tested on s390x-ibm-linux-gnu. > > See: 72bd208846535725ea28b8173e79ef60e57a968c > Signed-off-by: Sam James <sam@gentoo.org> > --- > sysdeps/s390/s390-64/configure | 2 +- > sysdeps/s390/s390-64/configure.ac | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sysdeps/s390/s390-64/configure b/sysdeps/s390/s390-64/configure > index e1b419ef27..19a9c8a27b 100644 > --- a/sysdeps/s390/s390-64/configure > +++ b/sysdeps/s390/s390-64/configure > @@ -50,7 +50,7 @@ EOF > ac_status=$? > $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 > test $ac_status = 0; }; } \ > - && { ac_try='! $READELF -Wr conftest | grep R_390_TLS_TPOFF' > + && { ac_try='! LC_ALL=C $READELF -Wr conftest | grep R_390_TLS_TPOFF' > { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 > (eval $ac_try) 2>&5 > ac_status=$? > diff --git a/sysdeps/s390/s390-64/configure.ac b/sysdeps/s390/s390-64/configure.ac > index 245d83493c..d009f108b1 100644 > --- a/sysdeps/s390/s390-64/configure.ac > +++ b/sysdeps/s390/s390-64/configure.ac > @@ -31,7 +31,7 @@ EOF > if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest1.c -o conftest1.o]) \ > && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest2.c -o conftest2.o]) \ > && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -o conftest conftest1.o conftest2.o]) \ > - && AC_TRY_COMMAND([! $READELF -Wr conftest | grep R_390_TLS_TPOFF]) > + && AC_TRY_COMMAND([! LC_ALL=C $READELF -Wr conftest | grep R_390_TLS_TPOFF]) > then > libc_cv_s390x_staticpie_req=yes > fi LGTM. Reviewed-by: Stefan Liebler <stli@linux.ibm.com> Thanks, Stefan
> On 9 Jun 2022, at 08:24, Stefan Liebler <stli@linux.ibm.com> wrote: > > On 09/06/2022 04:56, Sam James wrote: >> Let's use LC_ALL=C as we do elsewhere for consistency. >> >> Tested on s390x-ibm-linux-gnu. >> >> See: 72bd208846535725ea28b8173e79ef60e57a968c >> Signed-off-by: Sam James <sam@gentoo.org> >> --- >> [snip] > > > LGTM. > > Reviewed-by: Stefan Liebler <stli@linux.ibm.com> > Cheers Stefan. Would you mind pushing for me please? > Thanks, > Stefan Best, sam
On 16/06/2022 03:56, Sam James wrote: > > >> On 9 Jun 2022, at 08:24, Stefan Liebler <stli@linux.ibm.com> wrote: >> >> On 09/06/2022 04:56, Sam James wrote: >>> Let's use LC_ALL=C as we do elsewhere for consistency. >>> >>> Tested on s390x-ibm-linux-gnu. >>> >>> See: 72bd208846535725ea28b8173e79ef60e57a968c >>> Signed-off-by: Sam James <sam@gentoo.org> >>> --- > >>> [snip] >> >> >> LGTM. >> >> Reviewed-by: Stefan Liebler <stli@linux.ibm.com> >> > > Cheers Stefan. > > Would you mind pushing for me please? > >> Thanks, >> Stefan > > > Best, > sam Sure, I've just committed both patches. Thanks, Stefan
diff --git a/sysdeps/s390/s390-64/configure b/sysdeps/s390/s390-64/configure index e1b419ef27..19a9c8a27b 100644 --- a/sysdeps/s390/s390-64/configure +++ b/sysdeps/s390/s390-64/configure @@ -50,7 +50,7 @@ EOF ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } \ - && { ac_try='! $READELF -Wr conftest | grep R_390_TLS_TPOFF' + && { ac_try='! LC_ALL=C $READELF -Wr conftest | grep R_390_TLS_TPOFF' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/sysdeps/s390/s390-64/configure.ac b/sysdeps/s390/s390-64/configure.ac index 245d83493c..d009f108b1 100644 --- a/sysdeps/s390/s390-64/configure.ac +++ b/sysdeps/s390/s390-64/configure.ac @@ -31,7 +31,7 @@ EOF if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest1.c -o conftest1.o]) \ && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest2.c -o conftest2.o]) \ && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -o conftest conftest1.o conftest2.o]) \ - && AC_TRY_COMMAND([! $READELF -Wr conftest | grep R_390_TLS_TPOFF]) + && AC_TRY_COMMAND([! LC_ALL=C $READELF -Wr conftest | grep R_390_TLS_TPOFF]) then libc_cv_s390x_staticpie_req=yes fi
Let's use LC_ALL=C as we do elsewhere for consistency. Tested on s390x-ibm-linux-gnu. See: 72bd208846535725ea28b8173e79ef60e57a968c Signed-off-by: Sam James <sam@gentoo.org> --- sysdeps/s390/s390-64/configure | 2 +- sysdeps/s390/s390-64/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)