Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 757790 Details for
Bug 777117
sys-devel/gcc-10.2.0-r5: configure: error: Intel CET must be enabled on Intel CET enabled host
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Regenerate-all-configure-files-for-GCC-11.patch
Regenerate-all-configure-files-for-GCC-11.patch (text/plain), 19.32 KB, created by
Calvin Walton
on 2021-12-09 08:43:10 UTC
(
hide
)
Description:
Regenerate-all-configure-files-for-GCC-11.patch
Filename:
MIME Type:
Creator:
Calvin Walton
Created:
2021-12-09 08:43:10 UTC
Size:
19.32 KB
patch
obsolete
>From: Calvin Walton <calvin.walton@kepstin.ca> >Date: Thu, 9 Dec 2021 02:33:23 -0500 >Subject: Regenerate all configure files for GCC 11 > >Not all of the configure scripts in GCC 11 were regenerated prior to >release, so some changes made in that release were not actually >incorporated. Forcibly regenerate all configure files on the unmodified >GCC 11 source code. > >Hunks which only updated line numbers have been excluded to reduce >conflicts. > >diff --git a/libatomic/configure b/libatomic/configure >index 5867e69ac14..fb920c9a687 100755 >--- a/libatomic/configure >+++ b/libatomic/configure >@@ -15588,7 +15588,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >diff --git a/libcc1/configure b/libcc1/configure >index 021ec265526..600e41cf5ea 100755 >--- a/libcc1/configure >+++ b/libcc1/configure >@@ -14028,16 +14028,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -14159,7 +14149,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/libffi/configure b/libffi/configure >index 8d52ec4f495..2b90e5107e8 100755 >--- a/libffi/configure >+++ b/libffi/configure >@@ -14398,16 +14398,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -14529,7 +14519,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/libgfortran/configure b/libgfortran/configure >index f3634389cf8..0d04aaa1f16 100755 >--- a/libgfortran/configure >+++ b/libgfortran/configure >@@ -6017,7 +6017,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >@@ -15532,16 +15532,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -15663,7 +15653,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/libhsail-rt/configure b/libhsail-rt/configure >index c6bf7f7b9d0..5e89d0a80a1 100755 >--- a/libhsail-rt/configure >+++ b/libhsail-rt/configure >@@ -14076,16 +14076,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -14207,7 +14197,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/libiberty/configure b/libiberty/configure >index 821cfa8d26d..61c62a33b3a 100755 >--- a/libiberty/configure >+++ b/libiberty/configure >@@ -7396,7 +7396,12 @@ if ${ac_cv_func_mmap_fixed_mapped+:} false; then : > $as_echo_n "(cached) " >&6 > else > if test "$cross_compiling" = yes; then : >- ac_cv_func_mmap_fixed_mapped=no >+ case "$host_os" in # (( >+ # Guess yes on platforms where we know the result. >+ linux*) ac_cv_func_mmap_fixed_mapped=yes ;; >+ # If we don't know, assume the worst. >+ *) ac_cv_func_mmap_fixed_mapped=no ;; >+ esac > else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ >diff --git a/libitm/configure b/libitm/configure >index b8f1e2360d0..a8dfb9acd7d 100755 >--- a/libitm/configure >+++ b/libitm/configure >@@ -14901,16 +14901,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -15032,7 +15022,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >@@ -17882,7 +17872,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >diff --git a/libobjc/configure b/libobjc/configure >index 5d1b424a66d..2dcc9cd32f6 100755 >--- a/libobjc/configure >+++ b/libobjc/configure >@@ -3466,7 +3466,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >diff --git a/liboffloadmic/configure b/liboffloadmic/configure >index dfa8287fd75..f8da8fabb6f 100644 >--- a/liboffloadmic/configure >+++ b/liboffloadmic/configure >@@ -7900,23 +7900,25 @@ _LT_EOF > fi > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 > $as_echo "$lt_cv_ld_force_load" >&6; } >- case $host_os in >- rhapsody* | darwin1.[012]) >+ # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to >+ # build without first building modern cctools / linker. >+ case $host_cpu-$host_os in >+ *-rhapsody* | *-darwin1.[012]) > _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; >- darwin1.*) >+ *-darwin1.*) > _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; >- darwin*) # darwin 5.x on >- # if running on 10.5 or later, the deployment target defaults >- # to the OS version, if on x86, and 10.4, the deployment >- # target defaults to 10.4. Don't you love it? >- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in >- 10.0,*86*-darwin8*|10.0,*-darwin[91]*) >- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; >+ *-darwin*) >+ # darwin 5.x (macOS 10.1) onwards we only need to adjust when the >+ # deployment target is forced to an earlier version. >+ case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in >+ UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*) >+ ;; > 10.[012][,.]*) >- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; >- 10.*) >- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; >- esac >+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' >+ ;; >+ *) >+ ;; >+ esac > ;; > esac > if test "$lt_cv_apple_cc_single_mod" = "yes"; then >@@ -14265,16 +14267,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -14396,7 +14388,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/liboffloadmic/plugin/aclocal.m4 b/liboffloadmic/plugin/aclocal.m4 >index 9fa1d1216c1..1bb91402f66 100644 >--- a/liboffloadmic/plugin/aclocal.m4 >+++ b/liboffloadmic/plugin/aclocal.m4 >@@ -1169,10 +1169,10 @@ AC_SUBST([am__untar]) > > m4_include([../../config/acx.m4]) > m4_include([../../config/depstand.m4]) >-m4_include([../../config/toolexeclibdir.m4]) > m4_include([../../config/lead-dot.m4]) > m4_include([../../config/multi.m4]) > m4_include([../../config/override.m4]) >+m4_include([../../config/toolexeclibdir.m4]) > m4_include([../../libtool.m4]) > m4_include([../../ltoptions.m4]) > m4_include([../../ltsugar.m4]) >diff --git a/liboffloadmic/plugin/configure b/liboffloadmic/plugin/configure >index 0b21d7d4eed..ce0a5511fc3 100644 >--- a/liboffloadmic/plugin/configure >+++ b/liboffloadmic/plugin/configure >@@ -7280,23 +7280,25 @@ _LT_EOF > fi > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 > $as_echo "$lt_cv_ld_force_load" >&6; } >- case $host_os in >- rhapsody* | darwin1.[012]) >+ # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to >+ # build without first building modern cctools / linker. >+ case $host_cpu-$host_os in >+ *-rhapsody* | *-darwin1.[012]) > _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; >- darwin1.*) >+ *-darwin1.*) > _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; >- darwin*) # darwin 5.x on >- # if running on 10.5 or later, the deployment target defaults >- # to the OS version, if on x86, and 10.4, the deployment >- # target defaults to 10.4. Don't you love it? >- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in >- 10.0,*86*-darwin8*|10.0,*-darwin[91]*) >- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; >+ *-darwin*) >+ # darwin 5.x (macOS 10.1) onwards we only need to adjust when the >+ # deployment target is forced to an earlier version. >+ case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in >+ UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*) >+ ;; > 10.[012][,.]*) >- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; >- 10.*) >- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; >- esac >+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' >+ ;; >+ *) >+ ;; >+ esac > ;; > esac > if test "$lt_cv_apple_cc_single_mod" = "yes"; then >@@ -13912,16 +13914,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -14043,7 +14035,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/libquadmath/configure b/libquadmath/configure >index 31918507f62..6e8e3982594 100755 >--- a/libquadmath/configure >+++ b/libquadmath/configure >@@ -13031,7 +13031,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >diff --git a/libsanitizer/configure b/libsanitizer/configure >index 1d9ae59be67..08bdbc68841 100755 >--- a/libsanitizer/configure >+++ b/libsanitizer/configure >@@ -15201,16 +15201,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -15332,7 +15322,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >diff --git a/libssp/configure b/libssp/configure >index 10ba209bde8..b27ae22a976 100755 >--- a/libssp/configure >+++ b/libssp/configure >@@ -4338,7 +4338,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >diff --git a/libvtv/configure b/libvtv/configure >index d64b4af5c6b..897b069b613 100755 >--- a/libvtv/configure >+++ b/libvtv/configure >@@ -15099,16 +15099,6 @@ freebsd* | dragonfly*) > esac > ;; > >-gnu*) >- version_type=linux >- need_lib_prefix=no >- need_version=no >- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' >- soname_spec='${libname}${release}${shared_ext}$major' >- shlibpath_var=LD_LIBRARY_PATH >- hardcode_into_libs=yes >- ;; >- > haiku*) > version_type=linux > need_lib_prefix=no >@@ -15230,7 +15220,7 @@ linux*oldld* | linux*aout* | linux*coff*) > # project, but have not yet been accepted: they are GCC-local changes > # for the time being. (See > # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) >-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) >+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) > version_type=linux > need_lib_prefix=no > need_version=no >@@ -15672,7 +15662,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >diff --git a/lto-plugin/configure b/lto-plugin/configure >index baa84adbb6c..22a4357a58e 100755 >--- a/lto-plugin/configure >+++ b/lto-plugin/configure >@@ -8429,23 +8429,25 @@ _LT_EOF > fi > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 > $as_echo "$lt_cv_ld_force_load" >&6; } >- case $host_os in >- rhapsody* | darwin1.[012]) >+ # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to >+ # build without first building modern cctools / linker. >+ case $host_cpu-$host_os in >+ *-rhapsody* | *-darwin1.[012]) > _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; >- darwin1.*) >+ *-darwin1.*) > _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; >- darwin*) # darwin 5.x on >- # if running on 10.5 or later, the deployment target defaults >- # to the OS version, if on x86, and 10.4, the deployment >- # target defaults to 10.4. Don't you love it? >- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in >- 10.0,*86*-darwin8*|10.0,*-darwin[91]*) >- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; >+ *-darwin*) >+ # darwin 5.x (macOS 10.1) onwards we only need to adjust when the >+ # deployment target is forced to an earlier version. >+ case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in >+ UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*) >+ ;; > 10.[012][,.]*) >- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; >- 10.*) >- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; >- esac >+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' >+ ;; >+ *) >+ ;; >+ esac > ;; > esac > if test "$lt_cv_apple_cc_single_mod" = "yes"; then >diff --git a/zlib/configure b/zlib/configure >index f489f31bc70..52c299a6fbe 100755 >--- a/zlib/configure >+++ b/zlib/configure >@@ -4169,7 +4169,7 @@ case "$host" in > case "$enable_cet" in > auto) > # Check if target supports multi-byte NOPs >- # and if assembler supports CET insn. >+ # and if compiler and assembler support CET insn. > cet_save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -fcf-protection" > cat confdefs.h - <<_ACEOF >conftest.$ac_ext >@@ -11278,7 +11278,12 @@ if ${ac_cv_func_mmap_fixed_mapped+:} false; then : > $as_echo_n "(cached) " >&6 > else > if test "$cross_compiling" = yes; then : >- ac_cv_func_mmap_fixed_mapped=no >+ case "$host_os" in # (( >+ # Guess yes on platforms where we know the result. >+ linux*) ac_cv_func_mmap_fixed_mapped=yes ;; >+ # If we don't know, assume the worst. >+ *) ac_cv_func_mmap_fixed_mapped=no ;; >+ esac > else > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 777117
:
692322
|
692325
|
692328
|
692367
|
692421
|
692460
|
757621
|
757642
|
757656
|
757769
|
757789
| 757790