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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 8B5D6C43464 for ; Sat, 19 Sep 2020 20:08:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 0562621D42 for ; Sat, 19 Sep 2020 20:08:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DW0yq+hC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0562621D42 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=m3y3r.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EA47rVHFzlbvRja9UfMrkpNYANTB+I3c7DPKLKPp4ds=; b=DW0yq+hCkFTeNC/aGDu96PhyfN ud5GahiifF9XZRoWOKy6cdE0BFM1zMUCCzv/iuBRv/+p4EN8qWgELblmrT0SFf2gGLEdM49eqLK6u xdogrX5BYRG4qwQQNqtDcaWmEoN1q9+r36BOl0mx8fvcnxM3eqgJABhA9XbKCRxs0U3/QitqpK/Zw HbL/Uvkcvp1axToql2dW4WUmaSTGgnw9Qno7uIP17c8aliHiYrcd+bR67xuD7qDi+GV+R9qK85FDq QpTRlfIRyWzJ4bg4Qg9jw3aNyZEMgvndzxkszEjysHLxik1v0VeLoa4LRAoNDXESYlT/uRD97jxwO N4/qhBtQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJj7j-0005eG-OZ; Sat, 19 Sep 2020 20:06:19 +0000 Received: from www17.your-server.de ([213.133.104.17]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJj7h-0005dY-Hz for linux-arm-kernel@lists.infradead.org; Sat, 19 Sep 2020 20:06:18 +0000 Received: from sslproxy01.your-server.de ([78.46.139.224]) by www17.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kJj7X-0007nO-Ad for linux-arm-kernel@lists.infradead.org; Sat, 19 Sep 2020 22:06:07 +0200 Received: from [2a02:908:4c22:ec00:8ad5:993:4cda:a89f] (helo=localhost.localdomain) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJj7X-000Ue9-6I for linux-arm-kernel@lists.infradead.org; Sat, 19 Sep 2020 22:06:07 +0200 Date: Sat, 19 Sep 2020 22:06:05 +0200 From: Thomas Meyer To: linux-arm-kernel@lists.infradead.org Subject: arm kernel won't boot when compiled with gcc > 9 Message-ID: <20200919200605.GA555125@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline X-Authenticated-Sender: thomas@m3y3r.de X-Virus-Scanned: Clear (ClamAV 0.102.4/25932/Fri Sep 18 15:48:08 2020) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200919_160617_610514_1400CC9E X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, currently I do play around a bit with my android phone and I want to compile the vendor kernel myself, but I did encounter a strange phenomena. The vendor kernel is based on 3.18.x and I did apply some patches from current upstream so it does compile with gcc 9/10. The kernel compiles successfully, but it the boot hangs for unknown reasons. gcc 4.9.2 -> compiles and boots gcc 7.5.0 -> compiles and boots gcc 8.4.0 -> compiles and boots gcc 9.2.1 -> compiles but doesn't boot (this is the arm cross compiler from fedora 32) gcc 9.3.0 -> compiles but doesn't boot gcc 10.2.0 -> compiles but doesn't boot. as I have no UART and no fbcon or any other debugging capability, can somebody in this mailing list think of something obviously that I may miss or encounter in my endeavour? PS: code is here: https://github.com/thomasmey/linux/commits/motorola-msm-potter-v3.18.x with kind regards thomas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel