Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1106426imm; Mon, 9 Jul 2018 17:32:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeX7vb+/NV/YNAReibaawddsSbQM+vJ0JxNVPAZr4/mTSGUONss5MmZhvjfh5CvpapLWLh2 X-Received: by 2002:a63:d5b:: with SMTP id 27-v6mr14537470pgn.107.1531182759258; Mon, 09 Jul 2018 17:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531182759; cv=none; d=google.com; s=arc-20160816; b=sUC2wD9JgMcuMGLYGsmqLOz67hSOB/e68oGoNi7wqes+ye+gtm3w7zC+NAMoE0sBA8 dXTe46z4GPnBVAidN/xEMrN47kjsj6deanbuP3VK7TmdDZR0ZaTzct/kQnLtQCU6yD9k 0BwRa0EnBi2u5rUVysCeyyU8YOGrJnJWS/U2oK4m5XV4YMR/nQQ0802QP7BfIgrd0fna LF/WLiGyQ2UCIDFsGP4KT+/gqrYa8DK6zqpgvtH3KrTMSarIM8q3mxbfzNWHPF+Hgrj/ hRtfLmfukFISi+XL6ASB79CCvRkVmDREmb0Glh1CnCNJ7V7yfXdM2000RQC3+LAxie2c gTlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=daDKxgiwcbzt90FlX96tJY1XOvHT9kfh9jCTEXLPark=; b=C2Xnjs/xCxFxeUyLsnahYGl8HyQx8hhv9antBr9oMt8iOtqJAtkPMCcyua17LMkK6X mmGWyy4pnbhg/oRqFibZ8CwQpN4pggBQA70NQe8pO7GzyqX3r/sRcWm1ITK/CViLx6// JlL34DG7BjPolsceyr0oAddQYazWzlDNQ4k5ao+7hwvvmIhOLRo0GaCDRIx+rvcVpv5S FXBlMDD/O6o/OWgpjmtRQBhyB7audyLbISgImjv5rI1Z7vAghelgtJlfGNOPz0lnsVVV xc6qAPfz86cbl8Q+jJS9wpX6pJEemZdVBM46Oe/s0IBh0wOKZQVAqw/XRHt0ZUhMpqu7 +17A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qfLUAqxL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si16271023pfk.166.2018.07.09.17.32.24; Mon, 09 Jul 2018 17:32:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qfLUAqxL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754639AbeGJA3w (ORCPT + 99 others); Mon, 9 Jul 2018 20:29:52 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:44912 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754550AbeGJA3t (ORCPT ); Mon, 9 Jul 2018 20:29:49 -0400 Received: by mail-oi0-f66.google.com with SMTP id s198-v6so39332842oih.11 for ; Mon, 09 Jul 2018 17:29:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=daDKxgiwcbzt90FlX96tJY1XOvHT9kfh9jCTEXLPark=; b=qfLUAqxLylLlGSLp8bvTbr5LYJQySX2s9v961yU8ISlIP5z+qjNQDWB+eXd3i6AzUx R4bcVD/hx2yu5DT7PzutuQjQzYQorZ2qaA3p5TZQCITuCez9Cp/8BDSZab/dpUnCy85g TqCfjq8mV6Hh5fo3SDrR/hltA9vaWayzUZFuw96xKSH/g50WKrNSpIg5fdP/i9H3CFK6 R+m5EAz7+e9SwhZQhUpusTGbGGBrNItTr5uFweC8PKVNpBS+oDm606V3FPRt8RjeBZCk QahVfF9Yp63Erk5dudbOkbwqpPfjHH6h3jVsWxeDEXiegdFyhGfKM5aWJaPMPu9ykhdC sy0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=daDKxgiwcbzt90FlX96tJY1XOvHT9kfh9jCTEXLPark=; b=cOfvR0wBSmYS6fhf+VBn2OUkM7dNOqg/hKTjw9njwmiIcNLk3UIHoG+lOIZU/tNwAo aLLv4xE5gkK3hdgCfJIUvUrDONWT/RbcNjxK4SpuW/8Zzyg9RgJ/oEBiBs/Kuyn2bIrn Gvwr8u5tZyJv3ou455V9xXtxP9TIdn4PvJzm4gtnabr7IXyttEvTm4ROnZKS2o+Q0ZV/ 8ppDO64NSUeDcwpIVo1cRwplO8H37kLNWgo5YHOgn663a/mF3PuLS6dq5YaNllHRlMNS i4kgFThv1W1870vewL8+IuijloN6LsZj5b7m3tDH3PcyYrQPBuTXcv+lhm1cvdJg70Kj 4P5Q== X-Gm-Message-State: AOUpUlFMr0TpaZJ46b4EHlp6qnBncQMiiEFAlEvcOrE7d5CMP48YVZjl 1tuhQxTb3e2mGgLCGUqUSoqBUYbSzCIw9dXS14ZWFQ== X-Received: by 2002:aca:6749:: with SMTP id b9-v6mr1651868oiy.247.1531182588212; Mon, 09 Jul 2018 17:29:48 -0700 (PDT) MIME-Version: 1.0 References: <20180709200956.31158-1-labbott@redhat.com> In-Reply-To: From: Kevin Hilman Date: Mon, 9 Jul 2018 17:29:37 -0700 Message-ID: Subject: Re: [PATCH] Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants" To: labbott@redhat.com Cc: Will Deacon , contact@paulk.fr, Catalin Marinas , linux-arm-kernel , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 9, 2018 at 4:24 PM Laura Abbott wrote: > > On 07/09/2018 01:09 PM, Laura Abbott wrote: > > 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 > > --- > > 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. > > The answer appears to be that Fedora binutils does not package the assembly > scripts. The logic behind this is not immediately obvious but it's been > removed since 2004. Obviously this is a packaging issue on Fedora's side > but I'd still like to revert since it is a build breakage and fixing > this might require some coordination. I'll send a v2 with clarified > commit text if there's agreement. Tested-by: Kevin Hilman FWIW, the build is broken with debian packaged toolchain also. I noticed it on stretch[1], and this patch gets things building again. Kevin [1] $ aarch64-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=aarch64-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/6/lto-wrapper Target: aarch64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-arm64-cross/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-arm64-cross --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-arm64-cross --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj --enable-multiarch --enable-fix-cortex-a53-843419 --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include Thread model: posix gcc version 6.3.0 20170516 (Debian 6.3.0-18)