From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id 79497385DC2E for ; Sat, 5 Dec 2020 21:20:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 79497385DC2E Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-342-X_Iz311pNqinyU_PIuMsUw-1; Sat, 05 Dec 2020 16:20:05 -0500 X-MC-Unique: X_Iz311pNqinyU_PIuMsUw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5EA7410054FF; Sat, 5 Dec 2020 21:20:04 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-11.ams2.redhat.com [10.36.112.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C70DB10023AF; Sat, 5 Dec 2020 21:20:03 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 0B5LK1Sh1238661 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 5 Dec 2020 22:20:01 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 0B5LJxWC1238660; Sat, 5 Dec 2020 22:19:59 +0100 Date: Sat, 5 Dec 2020 22:19:59 +0100 From: Jakub Jelinek To: Alexandre Oliva Cc: Andreas Schwab , gcc Patches Subject: Re: introduce overridable clear_cache emitter Message-ID: <20201205211959.GH3788@tucnak> Reply-To: Jakub Jelinek References: <87v9dgd06t.fsf@linux-m68k.org> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , X-List-Received-Date: Sat, 05 Dec 2020 21:20:10 -0000 On Sat, Dec 05, 2020 at 06:01:59PM -0300, Alexandre Oliva wrote: > On Dec 5, 2020, Andreas Schwab wrote: > > > ../../../../libffi/src/aarch64/ffi.c: In function 'ffi_prep_closure_loc': > > ../../../../libffi/src/aarch64/ffi.c:67:3: internal compiler error: in emit_library_call_value_1, at calls.c:5300 > > 67 | __builtin___clear_cache (start, end); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Is this still aarch64-linux-gnu -mabi=ilp32? I'm afraid I couldn't > duplicate this error using a cross compiler (without binutils, but with > HAVE_AS_MABI_OPTION forced enabled), and many variants of a manually > minimized ffi.c (to build without libc): See PR98147, I've put there an untested patch, but I have no way to test it. Jakub