From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 91D2238582BB; Fri, 2 Feb 2024 07:27:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 91D2238582BB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706858826; bh=sBOpxnsbIATJZyf+8lN7/WM8vxQe2FB1OZ4vSRMfGEc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=j655wcSbtoT/Zp4hHhs9mLSmnQ1EOCnFXYUrBoW7zCjehTP+o/G25ebwqNgOA5Qyr DU15p75Ncek5Pm5nbwAvtmvw4qXH+ynh0pUvHZSP/9mQHwBp6X5htb+tWHTxXrGQ1S Cq3/XVikIV/mYP7MKGcpdq8eEQfHZz6Xraicx2Yk= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/113204] lto1: error: qsort comparator non-negative on sorted output: 64 Date: Fri, 02 Feb 2024 07:27:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code, lto, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 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: cc keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113204 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org Keywords| |testsuite-fail --- Comment #5 from Xi Ruoyao --- I've hit a similar ICE testing libbacktrace with LTO bootstrapped GCC on LoongArch: during IPA pass: static-var lto1: internal compiler error: qsort checking failed 0x7ffff1b13047 __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7ffff1b1316f __libc_start_main_impl /sources/glibc-2.39/csu/libc-start.c:360 0x12019a547 _start ../sysdeps/loongarch/start.S:75 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: /sources/gcc-14-8722+hotfix/build/./prev-gcc/xgcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1340: btest_lto] Error 1 Unfortunately I didn't enable the debug info. I'll keep my build tree and = try to gather some info when I get some time...=