From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5CDF03858296; Sat, 24 Jun 2023 09:46:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5CDF03858296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687599963; bh=mes6FSJF89OgU9FpwFKSvQTmknBVEo0I27lR/nbUnnk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qGncK9wb+lpTOVniwEKyPSJVORkBPOTm5TPmLVSXxKpbLHJdgNtQo9JDO59MyDrOz V8pp3OfIepEEku5S8Hg9u4YcrVYh9Bqy7oxmSQAsYOYsFfer3SyfNTs/QcVPvISbwp zJ8IXZfyDOfE1/m3sz+ZGa7sh4Rz5njLloDRjuGE= From: "jbglaw@lug-owl.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87281] qsort checking ICE in ia64_reorg building libgo Date: Sat, 24 Jun 2023 09:45:53 +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: 9.0 X-Bugzilla-Keywords: build, ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jbglaw@lug-owl.de 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87281 --- Comment #14 from Jan-Benedict Glaw --- Still observable as of a8994014041: [...] ia64-linux-gcc -Wp,-MMD,kernel/.kallsyms.o.d -nostdinc -I./arch/ia64/incl= ude -I./arch/ia64/include/generated -I./include -I./arch/ia64/include/uapi -I./arch/ia64/include/generated/uapi -I. /include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -incl= ude ./include/linux/compiler_types.h -D__KERNEL__ -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE -fmacro-prefix-map= =3D./=3D -Wall -Wundef -Werror=3Dstrict-prototypes -Wno-trigraphs -fno-strict-aliasi= ng -fno-common -fshort-wchar -fno-PIE -Werror=3Dimplicit-function-declaration -Werror=3Dimplicit-int -Werror=3Dreturn-type -Wno-format-security -funsigne= d-char -std=3Dgnu11 -pipe -ffixed-r13 -mfixed-range=3Df12-f15,f32-f127 -frename-re= gisters -fno-optimize-sibling-calls -fno-delete-null-pointer-checks -Wno-frame-addr= ess -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -= O2 -fno-allow-store-data-races -Wframe-larger-than=3D2048 -fno-stack-protector -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fomit-frame-pointer -ftrivial-auto-var-init=3Dzero -fno-stack-clash-protection -falign-functions=3D32 -Wdeclaration-after-stat= ement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bo= unds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=3D5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=3Ddate-time -Werror=3Dincompatible-pointer-types -Werror=3Ddesignated-init -Wno-packed-not-aligned -mconstant-gp -DKBUILD_MODFILE=3D'"kernel/kallsym= s"' -DKBUILD_BASENAME=3D'"kallsyms"' -DKBUILD_MODNAME=3D'"kallsyms"' -D__KBUILD_MODNAME=3Dkmod_kallsyms -c -o kernel/kallsyms.o kernel/kallsyms.= c=20=20 kernel/kallsyms.c: In function 'kallsyms_lookup_names': kernel/kallsyms.c:268:1: error: qsort comparator non-negative on sorted out= put: 1 268 | } | ^ during RTL pass: mach kernel/kallsyms.c:268:1: internal compiler error: qsort checking failed 0x188b086 internal_error(char const*, ...) ???:0 0x18bf855 gcc_qsort(void*, unsigned long, unsigned long, int (*)(void const= *, void const*)) ???:0 0x15c7a08 schedule_block(basic_block_def**, void*) ???:0 0x1685c1b schedule_ebb(rtx_insn*, rtx_insn*, bool) ???:0 0x168622d schedule_ebbs() ???:0 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. make[2]: *** [scripts/Makefile.build:252: kernel/kallsyms.o] Error 1 make[1]: *** [scripts/Makefile.build:494: kernel] Error 2 make: *** [Makefile:2026: .] Error 2=