From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B626E389202B; Wed, 21 Apr 2021 12:28:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B626E389202B From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94278] [amdgcn] Offloading build failures due to 'llvm-mc' SIGSEGV Date: Wed, 21 Apr 2021 12:27:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2021 12:28:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94278 --- Comment #5 from Richard Biener --- I'm running into the same issue (and filed PR100181) but with llvm11 based llvm-mc the CUs are instead rejected due to a section crossing jump: ./pr93515.xamdgcn-amdhsa.mkoffload.2.s:634:2: error: undefined label '.L33' s_branch .L33 ^ mkoffload: fatal error: /usr/bin//x86_64-suse-linux-accel-amdgcn-amdhsa-gcc= -11 returned 1 exit status s_branch .L33 .section .text.unlikely .type main._omp_fn.4.cold, @function main._omp_fn.4.cold: .L33: s_getpc_b64 s[2:3] s_add_u32 s2, s2, abort@rel32@lo+4 s_addc_u32 s3, s3, abort@rel32@hi+4 s_swappc_b64 s[18:19], s[2:3] .text=