From patchwork Thu Aug 25 09:42:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 753 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:ecc5:0:0:0:0:0 with SMTP id s5csp156431wro; Thu, 25 Aug 2022 02:42:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR7zBoIcNwLRov69MMEagAl23Mjw86YgGpnT/83viZr0DATZa3CsgdzMZr+MXgWirAD+bmA/ X-Received: by 2002:a05:6402:248f:b0:440:9bb3:5936 with SMTP id q15-20020a056402248f00b004409bb35936mr2558127eda.178.1661420560509; Thu, 25 Aug 2022 02:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661420560; cv=none; d=google.com; s=arc-20160816; b=fP6CnxX91zLSkO6Lm1lkoZk19yxni2ucDPPN46DZdmyyuE6ECZO6JUyLQoC5HLhBcV OJZqno1wWtZ50DiIjCk7siPtaG2P+Bp62gv4DgUTuMjoiEqW9miZeeAJFjfG6yNRA8FA shKzReN5ZNcwojDiiLJpL110hwd8wfUI+7KQNJ4bB4DttA0hYofZteEHqSX0PmSo3Tm1 qWRRTEv0IWtCiL8ue/V6P1zR1akTcWFRDPbyAM6tHl5VLnn3cNbIhxhiB6QQ9fQP4Lw/ JgPk6WgaCtWLAO2ZY5sjY7tF4HgC770y+n9oup3T44h7t6wof+mGkVdTyp3ZbESu7jBL 9FYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=Gfd6N8O7McX7jCrPGPmGSB7Gsy/uWFlqqa7qh+7pUp8=; b=jGHkR5nqWXF55RhlbjfotSg4P/QBa7y/5wBk3rd+9rn8PL4IPuBBBC0VeJwFdszigj g54b8Y+sjO3XREAcpmWp9wnH1xRN2dOMSE6HWP3APbmDhSqlYzGxjt0bLtC+8rbypBOP VGZM48sTKxtq8KMtMpW89VfpuGhdxgocTyQPsV2FWzigDofei/n/c2BV64mCaJL95umh bBXQVxrIHkceHtBEySzcDlUNtIVAcapusGMHKGTniuzHyRG3IpFL6zxpfs3xxfG3g7wq rrdp4UYVMq2waV2AseEpoU55xt3i86tMeiz3nropq3UoMH4osmg/U7MlfPbFdaIisDy0 QT8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ioWmrnoR; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id g13-20020a1709065d0d00b00730a2437555si3676626ejt.796.2022.08.25.02.42.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 02:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ioWmrnoR; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D12D2385275A for ; Thu, 25 Aug 2022 09:42:31 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 0FFAB3858C2F for ; Thu, 25 Aug 2022 09:42:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0FFAB3858C2F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DC33534127 for ; Thu, 25 Aug 2022 09:42:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1661420521; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gfd6N8O7McX7jCrPGPmGSB7Gsy/uWFlqqa7qh+7pUp8=; b=ioWmrnoRwl2r6lQG2CINa8qMicNp2VypO4lkyyN1+U+r3C3DkwCftm/KTvj+rbB/oVFv8J dSJslHHAiGQzjnifhaFh9OTY/1ZhO8guEXsKybK4OxSw7IFzBmVLqJHq0XEqe8L4VwhpyV qJAX3cNlYSN2KukFpIgBURvRbauXXuM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1661420521; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gfd6N8O7McX7jCrPGPmGSB7Gsy/uWFlqqa7qh+7pUp8=; b=zDncO9f0VJ0MoN8b1gtU9pjDR9QEKohdLNnjUgM06KuCQ0/mHe6l06N+8Nw4K9owkfm2w7 6GAN/06v+wQFiTBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A770413A8E for ; Thu, 25 Aug 2022 09:42:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Na7rJulDB2PMTAAAMHmgww (envelope-from ) for ; Thu, 25 Aug 2022 09:42:01 +0000 Message-ID: <8aab1f77-6f20-3c7d-9d2d-322664dcc90d@suse.cz> Date: Thu, 25 Aug 2022 11:42:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] regenerate configure files and config.h.in files To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1742125725849433552?= X-GMAIL-MSGID: =?utf-8?q?1742125725849433552?= Hi. I wrote a scipt that runs autoconf in all folders that have configure.ac file and same for autoheader (where AC_CONFIG_HEADERS is present) and this is the output. The script can be seen here: https://github.com/marxin/script-misc/blob/master/gcc-autoconf-all.py I'm going to add the script to my daily Builbot tester. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin fixincludes/ChangeLog: * config.h.in: Regenerate. * configure: Regenerate. libada/ChangeLog: * configure: Regenerate. libiberty/ChangeLog: * configure: Regenerate. libobjc/ChangeLog: * configure: Regenerate. liboffloadmic/ChangeLog: * configure: Regenerate. * plugin/configure: Regenerate. libquadmath/ChangeLog: * configure: Regenerate. libssp/ChangeLog: * configure: Regenerate. libvtv/ChangeLog: * configure: Regenerate. zlib/ChangeLog: * configure: Regenerate. --- fixincludes/config.h.in | 204 --------------------------------- fixincludes/configure | 2 +- libada/configure | 3 + libiberty/configure | 3 + libobjc/configure | 6 +- liboffloadmic/configure | 46 +++----- liboffloadmic/plugin/configure | 46 +++----- libquadmath/configure | 6 +- libssp/configure | 6 +- libvtv/configure | 18 +-- zlib/configure | 6 +- 11 files changed, 61 insertions(+), 285 deletions(-) diff --git a/fixincludes/config.h.in b/fixincludes/config.h.in index 3f6cf1e574e..69a67f5f116 100644 --- a/fixincludes/config.h.in +++ b/fixincludes/config.h.in @@ -1,397 +1,211 @@ /* config.h.in. Generated from configure.ac by autoheader. */ /* Defined to the executable file extension on the host system */ -#ifndef USED_FOR_TARGET #undef EXE_EXT -#endif - /* Define to 1 if you have the `clearerr_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_CLEARERR_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `abort', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_ABORT -#endif - /* Define to 1 if you have the declaration of `asprintf', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_ASPRINTF -#endif - /* Define to 1 if you have the declaration of `basename(char *)', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_BASENAME -#endif - /* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_CLEARERR_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `errno', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_ERRNO -#endif - /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FEOF_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FERROR_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FFLUSH_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fgetc_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FGETC_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FGETS_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fileno_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FILENO_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fprintf_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FPRINTF_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FPUTC_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FPUTS_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FREAD_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_FWRITE_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_GETCHAR_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_GETC_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_PUTCHAR_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_PUTC_UNLOCKED -#endif - /* Define to 1 if you have the declaration of `vasprintf', and to 0 if you don't. */ -#ifndef USED_FOR_TARGET #undef HAVE_DECL_VASPRINTF -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_FCNTL_H -#endif - /* Define to 1 if you have the `feof_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FEOF_UNLOCKED -#endif - /* Define to 1 if you have the `ferror_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FERROR_UNLOCKED -#endif - /* Define to 1 if you have the `fflush_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FFLUSH_UNLOCKED -#endif - /* Define to 1 if you have the `fgetc_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FGETC_UNLOCKED -#endif - /* Define to 1 if you have the `fgets_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FGETS_UNLOCKED -#endif - /* Define to 1 if you have the `fileno_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FILENO_UNLOCKED -#endif - /* Define to 1 if you have the `fprintf_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FPRINTF_UNLOCKED -#endif - /* Define to 1 if you have the `fputc_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FPUTC_UNLOCKED -#endif - /* Define to 1 if you have the `fputs_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FPUTS_UNLOCKED -#endif - /* Define to 1 if you have the `fread_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FREAD_UNLOCKED -#endif - /* Define to 1 if you have the `fwrite_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_FWRITE_UNLOCKED -#endif - /* Define to 1 if you have the `getchar_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_GETCHAR_UNLOCKED -#endif - /* Define to 1 if you have the `getc_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_GETC_UNLOCKED -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_INTTYPES_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_MEMORY_H -#endif - /* Define if mmap with MAP_ANON(YMOUS) works. */ -#ifndef USED_FOR_TARGET #undef HAVE_MMAP_ANON -#endif - /* Define if mmap of /dev/zero works. */ -#ifndef USED_FOR_TARGET #undef HAVE_MMAP_DEV_ZERO -#endif - /* Define if read-only mmap of a plain file works. */ -#ifndef USED_FOR_TARGET #undef HAVE_MMAP_FILE -#endif - /* Define to 1 if you have the `putchar_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_PUTCHAR_UNLOCKED -#endif - /* Define to 1 if you have the `putc_unlocked' function. */ -#ifndef USED_FOR_TARGET #undef HAVE_PUTC_UNLOCKED -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_STDDEF_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_STDINT_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_STDLIB_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_STRINGS_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_STRING_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_SYS_FILE_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_SYS_STAT_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_SYS_TYPES_H -#endif - /* Define to 1 if you have the header file. */ -#ifndef USED_FOR_TARGET #undef HAVE_UNISTD_H -#endif - /* Define to the address where bug reports for this package should be sent. */ -#ifndef USED_FOR_TARGET #undef PACKAGE_BUGREPORT -#endif - /* Define to the full name of this package. */ -#ifndef USED_FOR_TARGET #undef PACKAGE_NAME -#endif - /* Define to the full name and version of this package. */ -#ifndef USED_FOR_TARGET #undef PACKAGE_STRING -#endif - /* Define to the one symbol short name of this package. */ -#ifndef USED_FOR_TARGET #undef PACKAGE_TARNAME -#endif - /* Define to the home page for this package. */ -#ifndef USED_FOR_TARGET #undef PACKAGE_URL -#endif - /* Define to the version of this package. */ -#ifndef USED_FOR_TARGET #undef PACKAGE_VERSION -#endif - /* Defined to the best working sed program on the host system */ -#ifndef USED_FOR_TARGET #undef SED_PROGRAM -#endif - /* Define if testing and fixing are done by separate process */ -#ifndef USED_FOR_TARGET #undef SEPARATE_FIX_PROC -#endif - /* Define to 1 if you have the ANSI C header files. */ -#ifndef USED_FOR_TARGET #undef STDC_HEADERS -#endif - /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE @@ -416,38 +230,20 @@ /* Define to 1 if on MINIX. */ -#ifndef USED_FOR_TARGET #undef _MINIX -#endif - /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ -#ifndef USED_FOR_TARGET #undef _POSIX_1_SOURCE -#endif - /* Define to 1 if you need to in order for `stat' and other things to work. */ -#ifndef USED_FOR_TARGET #undef _POSIX_SOURCE -#endif - /* Define to xatexit if the host system does not support atexit */ -#ifndef USED_FOR_TARGET #undef atexit -#endif - /* Define to empty if `const' does not conform to ANSI C. */ -#ifndef USED_FOR_TARGET #undef const -#endif - /* Define to xexit if the host system does not support atexit */ -#ifndef USED_FOR_TARGET #undef exit -#endif - diff --git a/fixincludes/configure b/fixincludes/configure index 6e2d67b655b..b3bca666a4d 100755 --- a/fixincludes/configure +++ b/fixincludes/configure @@ -2644,7 +2644,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # _LT_DARWIN_LINKER_FEATURES # -------------------------- -# Checks for linker and compiler features on darwin +# Checks for linker and compiler features on Darwin / macOS / iOS # _LT_SYS_MODULE_PATH_AIX diff --git a/libada/configure b/libada/configure index 162d9731f26..9c8b133d817 100755 --- a/libada/configure +++ b/libada/configure @@ -3212,6 +3212,9 @@ case "${host}" in # sets the default TLS model and affects inlining. PICFLAG=-fPIC ;; + loongarch*-*-*) + PICFLAG=-fpic + ;; mips-sgi-irix6*) # PIC is the default. ;; diff --git a/libiberty/configure b/libiberty/configure index 1d42a5e3a11..65fc5002002 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -5209,6 +5209,9 @@ case "${host}" in # sets the default TLS model and affects inlining. PICFLAG=-fPIC ;; + loongarch*-*-*) + PICFLAG=-fpic + ;; mips-sgi-irix6*) # PIC is the default. ;; 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 @@ -10771,7 +10771,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10784 "configure" +#line 10774 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10877,7 +10877,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10890 "configure" +#line 10880 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/liboffloadmic/configure b/liboffloadmic/configure index dfa8287fd75..f8da8fabb6f 100755 --- 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 @@ -11420,7 +11422,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11433 "configure" +#line 11425 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11526,7 +11528,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11539 "configure" +#line 11531 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -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/configure b/liboffloadmic/plugin/configure index 0b21d7d4eed..ce0a5511fc3 100755 --- 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 @@ -11067,7 +11069,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11080 "configure" +#line 11072 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11173,7 +11175,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11186 "configure" +#line 11178 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -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 b3ee64f9c7d..603f2f13140 100755 --- a/libquadmath/configure +++ b/libquadmath/configure @@ -10806,7 +10806,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10819 "configure" +#line 10809 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10912,7 +10912,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10925 "configure" +#line 10915 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -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/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 @@ -10992,7 +10992,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11005 "configure" +#line 10995 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11098,7 +11098,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11111 "configure" +#line 11101 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/libvtv/configure b/libvtv/configure index d64b4af5c6b..897b069b613 100755 --- a/libvtv/configure +++ b/libvtv/configure @@ -12254,7 +12254,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12267 "configure" +#line 12257 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12360,7 +12360,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12373 "configure" +#line 12363 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -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/zlib/configure b/zlib/configure index f489f31bc70..05c41b7e12d 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 @@ -10735,7 +10735,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10748 "configure" +#line 10738 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10841,7 +10841,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10854 "configure" +#line 10844 "configure" #include "confdefs.h" #if HAVE_DLFCN_H