From patchwork Wed Nov 4 05:45:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Noonan X-Patchwork-Id: 539707 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 673BA1409F8 for ; Wed, 4 Nov 2015 16:45:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=uplinklabs_net.20150623.gappssmtp.com header.i=@uplinklabs_net.20150623.gappssmtp.com header.b=lwm0Uf2t; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9D6F1872D5; Wed, 4 Nov 2015 05:45:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1c0x9Toj7d5v; Wed, 4 Nov 2015 05:45:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id AF55C88207; Wed, 4 Nov 2015 05:45:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5E6091C154F for ; Wed, 4 Nov 2015 05:45:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5819C88207 for ; Wed, 4 Nov 2015 05:45:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4aIG5SXX0rv1 for ; Wed, 4 Nov 2015 05:45:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 542F3872D5 for ; Wed, 4 Nov 2015 05:45:24 +0000 (UTC) Received: by lbbes7 with SMTP id es7so7932309lbb.2 for ; Tue, 03 Nov 2015 21:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uplinklabs_net.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=RA2PRZbTKPsz86Sc+jkmjD0eTcbbDHaQWZZmqCTucOY=; b=lwm0Uf2tWE6SVWoaHrcdP8CskO5FfH1V+KTdIlkjgmB686eSl0IZMfFom1bs5U4Q7A dIx9ErUk1Hb/Gcut4o1kqmMZCziNAEBuj7fmPtDVWVpRVSxhzlsoBhVRpPRXWH2etpVG jpdJ5YCrS3n8BGE2SsCD5qvL3VqzIzyO6XLtrb9xeQD0gbSeXNITYu0jeWH+J5TCQ7bf f+8UHsP7SlOyMIrYNNU9TCz/RQzOtQn6YdSnHIzPDGpK9SV0ALh7KXO/5uMBGZ6YLtRT PzyOVC60HuxrLaHf6k+4MZLubbPboDjzzkVNtnRJJTq4nZEiGCLGLnjcwAjav3UUtDBQ ycig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=RA2PRZbTKPsz86Sc+jkmjD0eTcbbDHaQWZZmqCTucOY=; b=GbpMVggfQOHT0Z9dkXvB6O32lWGOpUTHeGj3GxzWaFwz2CFaubpfXFHWWWl3Z0E1LF /P0ziTA67eQ31XzqXmYcEPeNDs4Fjtne+7pvfuoekKzxJf1a/if2v2mTddIv9JqbHXhw V2Dl+njEd1838DPDYryCud9n7ctEA3mbUaq4AQFztJhZXFNFIvi2Jk9/iw0vwOnG7Onm 3E/C+rT+Qci+ok6Cj0ubm1qxpE2peJ9Al3TJTYMoww+3yJh+uh/O3z48qXZA+2qM6TFz 5n3kg4Q60ZIR6dtP2lcw1NHyoSPZvVaK71ACtHNKTkTh//jT2cqKQd7o6BUT8L2MjDry BcvA== X-Gm-Message-State: ALoCoQk/lIFs1bc9bMl931T2OzdpqqSkrKLHZGYGXiD0rxTxK5IZleyDnJ7Benf0ieyioKA1XS5d MIME-Version: 1.0 X-Received: by 10.112.180.230 with SMTP id dr6mr14775166lbc.72.1446615922571; Tue, 03 Nov 2015 21:45:22 -0800 (PST) Received: by 10.114.173.237 with HTTP; Tue, 3 Nov 2015 21:45:22 -0800 (PST) Date: Tue, 3 Nov 2015 21:45:22 -0800 Message-ID: From: Steven Noonan To: buildroot@buildroot.org Subject: [Buildroot] cc --version fails with toolchain-wrapper X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" What's up with this? Invoking "*-gcc" works, but "*-cc" does not: $ /home/steven/Development/buildroot/output/host/usr/bin/x86_64-buildroot-linux-gnux32-cc --version ccache: error: execv of /home/steven/Development/buildroot/output/host/usr/bin/x86_64-buildroot-linux-gnux32-cc.br_real.br_real failed: No such file or directory $ /home/steven/Development/buildroot/output/host/usr/bin/x86_64-buildroot-linux-gnux32-gcc --version x86_64-buildroot-linux-gnux32-gcc.br_real (Buildroot 2015.11-git-00965-g8d89653-dirty) 5.2.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. My guess is that doing something like this would solve it. About to test the theory with a rebuild over the next couple hours... diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index 8ac2968..7ccc533 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -91,7 +91,7 @@ HOST_GCC_FINAL_MAKE_OPTS += $(HOST_GCC_COMMON_MAKE_OPTS) # Make sure we have 'cc' define HOST_GCC_FINAL_CREATE_CC_SYMLINKS if [ ! -e $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-cc ]; then \ - ln -snf $(GNU_TARGET_NAME)-gcc \ + cp -l $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-gcc \ $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-cc; \ fi endef