From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79ACB3858C98; Thu, 16 Nov 2023 10:20:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79ACB3858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700130008; bh=dXcptGiuZbZAAE0pvjnK77ndTpoSiV5uKUAe10dltl4=; h=From:To:Subject:Date:From; b=tLF6Uhb4qbqItYIMoAQRYhMPU6pNphyK46d3WzkdVam5+W/0s1QDOJYNoJpkHu1CP GGl15oJyf3jzrDD3C53CUjl32OmuaKT+5bnftx0nkqBayQdePmLeGkywYYe6F1y3h+ Y+BtZQWtPBc8GgH9BB8N/O7tmgcVtl3J5gLeKIeY= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/112563] New: [14 regression] libsanitizer doesn't assemble with Solaris/sparc as Date: Thu, 16 Nov 2023 10:20:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112563 Bug ID: 112563 Summary: [14 regression] libsanitizer doesn't assemble with Solaris/sparc as Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxi= n at gcc dot gnu.org Target Milestone: --- Host: sparc-sun-solaris2.11 Target: sparc-sun-solaris2.11 Build: sparc-sun-solaris2.11 The recent libsanitizer import broke bootstrap with the native Solaris/sparc as: /usr/ccs/bin/as: ".libs/sanitizer_errno.s", line 4247: error: symbol "__sanitizer_internal_memset" is used but not defined /usr/ccs/bin/as: ".libs/sanitizer_errno.s", line 4247: error: symbol "__sanitizer_internal_memcpy" is used but not defined /usr/ccs/bin/as: ".libs/sanitizer_errno.s", line 4247: error: symbol "__sanitizer_internal_memmove" is used but not defined make[4]: *** [Makefile:623: sanitizer_errno.lo] Error 1 The code in question is memcpy =3D __sanitizer_internal_memcpy memmove =3D __sanitizer_internal_memmove memset =3D __sanitizer_internal_memset which is from libsanitizer/sanitizer_common/sanitizer_redefine_builtins.h. I'm currently continuing the build with that hack disabled on Solaris/sparc (it isn't easy to distinguish between as and gas toolchains here).=