From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44666C0650F for ; Tue, 30 Jul 2019 06:56:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14DD5206E0 for ; Tue, 30 Jul 2019 06:56:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b8fEECD/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14DD5206E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vIK1+8HNfVgVG7s929o4xOX65pU1XcFvEwrsC8nSrBY=; b=b8fEECD/ycURIf zQatwK5Q04+SNeeyGSq5bbdNQ1ec8X9VcpH8q8VZysYNcJatfcZOIvMst8roLtSARl48erhwvnRmn BrHpA5ETHUst5d1K1d+a1Ndrkx5kQEKoXuy35iqH4ePQOKNT5agPfI5nZVVhaAlHctlnY5+7ULCmb 1dnG7mnU9Ri601VZL5aEObPI5oqnUfY415U0+19/MJfahHUAeIGwp02oib/S6qFpMNQd9CU9jDh2+ ESWmt6XrJtnCwuiogUQHmDRml4+9ZiXH0dmocycfGgf01sA9OdqLoTd5UHjJDgN/ACJmrZSktae22 y5Y6cCVR9HH7DB+pGMkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hsM3s-0003LJ-Hr; Tue, 30 Jul 2019 06:56:40 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsM3p-0003L2-U2 for linux-riscv@lists.infradead.org; Tue, 30 Jul 2019 06:56:39 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9D253AB9B; Tue, 30 Jul 2019 06:56:36 +0000 (UTC) From: Andreas Schwab To: David Abdurachmanov Subject: Re: Random memory corruption with v5.2 References: X-Yow: Were these parsnips CORRECTLY MARINATED in TACO SAUCE? Date: Tue, 30 Jul 2019 08:56:36 +0200 In-Reply-To: (David Abdurachmanov's message of "Tue, 30 Jul 2019 01:58:04 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190729_235638_117865_83743F66 X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-riscv@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Jul 30 2019, David Abdurachmanov wrote: > On Mon, Jul 29, 2019 at 1:51 PM Andreas Schwab wrote: >> >> Since switching to 5.2 kernels I'm seeing random crashes and >> misbehaviors on the HiFive, for example while building gcc or glibc. >> Perhaps missing TLB flushes? > > Do you have some examples of crashes? While building glibc: an_ES.UTF-8...realloc(): invalid pointer /bin/sh: line 1: 7841 Aborted (core dumped) I18NPATH=. GCONV_PATH=/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/iconvdata LC_ALL=C /home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/elf/ld-linux-riscv64-lp64d.so.1 --library-path /home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/math:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/elf:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/nss:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/nis:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/rt:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/resolv:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/mathvec:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/support:/home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/nptl /home/abuild/rpmbuild/BUILD/glibc-2.29/cc-base/locale/localedef $flags --alias-file=../intl/locale.alias -i locales/$input -f charmaps/$charset --prefix=/home/abuild/rpmbuild/BUILDROOT /glibc-2.29-0.riscv64 $locale make[2]: *** [Makefile:422: install-archive-an_ES.UTF-8/UTF-8] Error 134 While building gcc: ../../gcc/ada/exp_aggr.adb: In function 'Exp_Aggr.Expand_N_Aggregate': ../../gcc/ada/exp_aggr.adb:5311:21: warning: 'Csiz' may be used uninitialized in this function [-Wmaybe-uninitialized] ../../gcc/ada/exp_aggr.adb:5220:10: note: 'Csiz' was declared here +===========================GNAT BUG DETECTED==============================+ | 10.0.0 20190727 (experimental) [trunk revision 273844] (riscv64-suse-linux) | | Storage_Error stack overflow or erroneous memory access | | Error detected at output.ads:39:8 | realloc(): invalid pointer raised PROGRAM_ERROR : unhandled signal make[3]: *** [../../gcc/ada/gcc-interface/Make-lang.in:140: ada/exp_ch3.o] Error 1 Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv