From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) by sourceware.org (Postfix) with ESMTPS id 7FAEF384CBBC for ; Wed, 17 Jan 2024 08:17:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7FAEF384CBBC Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gaisler.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7FAEF384CBBC Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=94.231.106.210 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705479434; cv=none; b=N7C0Tn/ReyTt8Cq1msuEUHLqNegbE0KSDpiY93qcOjQBZfgnIfJwmr6JWyMXaKCguRT+nlkKV9hLdvheHMoRzjBqLP07APb4w6jQWWneyW+V6A5LnnkS5aF98JFw5KRYvvPN7M6bXJ7IBzCL7BfyEg5F/6b9BTq7+K8sw/OAkGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705479434; c=relaxed/simple; bh=6cgoM81neqVn4FsH+PauRBjJslROb9FZRbEM0hfYz4w=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=QHRxl7xdZ8FfySaaClWpKZnbYmBomwx1D1MvJuLv9lpN1AblO8seLC99krspa8MYXmLzIaA/GPTUDdVH+g0r0TXSTf9SXNJWoHPZCBBDtHXnAHkobIG+qhzL/s2iMDOOduXYpSibAz4OAN+9gm5prDCgre3ScE5Z+7+8bU1ODD4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4TFJdL1kVmz67lq; Wed, 17 Jan 2024 09:17:10 +0100 (CET) Received: from [192.168.0.86] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4TFJdK5ldsz67jW; Wed, 17 Jan 2024 09:17:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1705479430; bh=sEf3baTdv6Sb9lk8RD9Cd60uI8sVqt8f429YYSNRBh0=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=RvoWipTSsP+LK20r9GMIS1mwPRB0ndygQ17i2UDs4uj0lWfE5519A1VYwdiJ4Ndp6 4yAUEepYIjs3gmb0OFbls2t67ZuTbCXto7l4yUE7AeAlBKNhJOxImF5VExUgWvayTf kxFiwoQx/VWjeYqdOsyUzcCD2BBk+ILjZoGvFa9w= Message-ID: <77110292-b88a-4900-ad23-782481edad1b@gaisler.com> Date: Wed, 17 Jan 2024 09:17:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] libsanitizer: Replace memcpy with internal version in sanitizer_common Content-Language: en-US To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org, ro@cebitec.uni-bielefeld.de, ebotcazou@libertysurf.fr, daniel@gaisler.com References: <20240116141139.3477027-1-cederman@gaisler.com> From: Daniel Cederman Organization: Frontgrade Gaisler AB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_STOCKGEN,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2024-01-16 15:44, Jakub Jelinek wrote: > On Tue, Jan 16, 2024 at 03:11:39PM +0100, Daniel Cederman wrote: >> When GCC is configured with --enable-target-optspace the compiler generates >> a memcpy call in the Symbolizer constructor in sanitizer_symbolizer.cpp >> when compiling for SPARC V8. Add HAVE_AS_SYM_ASSIGN to replace it with a >> call to __sanitizer_internal_memcpy. >> >> libsanitizer/ChangeLog: >> >> * sanitizer_common/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@. >> * sanitizer_common/Makefile.in: Regenerate. > > Ok. > > Jakub > We have only been granted write approval for the SPARC port. Is it ok to push this anyway or could you help us with it? /Daniel