From patchwork Mon Jul 9 20:09:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10515619 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E4786032C for ; Mon, 9 Jul 2018 20:10:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FF0828D80 for ; Mon, 9 Jul 2018 20:10:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0470028DD5; Mon, 9 Jul 2018 20:10:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9C7B628E78 for ; Mon, 9 Jul 2018 20:10:21 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=QifYcyF/tTu7qqBc6gUfPTcvAPYIkTBuiCCLNurn7Kk=; b=Ed5 oyFdfyBOA21UuK1HrdJN/ewk1ytxK6KVHDmtgpLsP9x5CFxIEblmss4s8ilQbjr4Yfu+z5TboUypx 6edRC1FEaBLFSh28XMoVWQz7ceHv3y1wNpqDl7hLucSc+VT6BVtykLnRO53xp5XeEofYuu4H3FZPn TxT+jCYbElX21ZyyWOhAGc0OOx+rRksoFrxybOFCTLujtc65EpRFcJQrJJgnBmRi/KET1YmZSq08Z WVSTAng7NutYUio+YcXLuNwGyeJx0gew91AMvy2NbR4oaVAwI4Gbh++r/OxN1B/F2LwZGsaS2amd2 XfEC2BpBWVQlO0X73tMXlooUHjnMT5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fccUE-000168-3T; Mon, 09 Jul 2018 20:10:18 +0000 Received: from mail-qk0-f196.google.com ([209.85.220.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fccUA-0008Kr-Ia for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2018 20:10:16 +0000 Received: by mail-qk0-f196.google.com with SMTP id z74-v6so10369161qkb.10 for ; Mon, 09 Jul 2018 13:10:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5ZvllqU+yCoIfEg1F3pN8YU4kBCsy97ZTGsd2ONb0xM=; b=s/Z3WHRxO8MVfaDH0H2YtI8joz9poOl/TsuJWWPcv2zbhn4loqzMBecL1oOawxIDH7 1bgu5hXXXa7e2ykQ9+knLc+Dv+5z23UVDZI5qxKCOfzXDmScSzWcktb4gRv+60pfK3MP GMemMMft520sdimNGCkDgbxXSMWQCeqSqLU+P1ZtKaNnr6yjUD33XfryTFF2HVIoLrMX iOmjDKMVqAb3VXJrFzWvR9k4nZblSfG4aziUu/jH9+YvyGPQ990xNtiZ6GVDQMkKOxD6 DNLxUPEM1nOey8RS0l0L/wlEKjLWaeNGWcGTemJ7vjSRWiP53c/BPdkG5xwZ46eIJH58 P70w== X-Gm-Message-State: AOUpUlFFlBgounnqz42jvSKtysLc/SJ+3Re1z6KnZak6cKz3xoo162MV zE4dHjZpv1SEDmKZ7TS64M7u2Q== X-Google-Smtp-Source: AAOMgpe+EXSigwBf5yaIsdESePm7jkBqZobIH80kTg1uN62KNcGDNdHSkRKq8Rh5fAJ2f9JUWShLAw== X-Received: by 2002:a37:6b03:: with SMTP id g3-v6mr7895010qkc.107.1531167003541; Mon, 09 Jul 2018 13:10:03 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::1941]) by smtp.gmail.com with ESMTPSA id a66-v6sm2149001qkf.96.2018.07.09.13.10.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 13:10:02 -0700 (PDT) From: Laura Abbott To: Will Deacon , Paul Kocialkowski , Catalin Marinas Subject: [PATCH] Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants" Date: Mon, 9 Jul 2018 13:09:56 -0700 Message-Id: <20180709200956.31158-1-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180709_131014_629977_74055584 X-CRM114-Status: GOOD ( 12.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laura Abbott , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This reverts commit 38fc4248677552ce35efc09902fdcb06b61d7ef9. This breaks compilation with Fedora gcc-8 tool chains: CHK include/generated/compile.h LD [M] arch/arm64/crypto/sha512-ce.o aarch64-linux-gnu-ld: cannot open linker script file ldscripts/aarch64elf.xr: No such file or directory make[1]: *** [scripts/Makefile.build:530: arch/arm64/crypto/sha512-ce.o] Error 1 make: *** [Makefile:1029: arch/arm64/crypto] Error 2 Fixes: 38fc42486775 ("arm64: Use aarch64elf and aarch64elfb emulation mode variants") Signed-off-by: Laura Abbott Tested-by: Kevin Hilman --- A bit rushed and I'm still debugging but I wanted to send this out before anyone else gets hit since it is -rc4. Seeing this on both native and cross compiles. --- arch/arm64/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 7976d2d242fa..f476d52ad8d6 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -60,13 +60,13 @@ ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) KBUILD_CPPFLAGS += -mbig-endian CHECKFLAGS += -D__AARCH64EB__ AS += -EB -LDFLAGS += -EB -maarch64elfb +LDFLAGS += -EB -maarch64linuxb UTS_MACHINE := aarch64_be else KBUILD_CPPFLAGS += -mlittle-endian CHECKFLAGS += -D__AARCH64EL__ AS += -EL -LDFLAGS += -EL -maarch64elf +LDFLAGS += -EL -maarch64linux UTS_MACHINE := aarch64 endif