Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Remaining kmsxx build issue
Date: Fri, 26 Aug 2016 21:42:08 +0200	[thread overview]
Message-ID: <20160826214208.36fe8c70@free-electrons.com> (raw)
In-Reply-To: <fd5d1345-f377-59e8-7270-39759b8ddfac@mind.be>

Hello,

On Fri, 26 Aug 2016 21:30:09 +0200, Arnout Vandecappelle wrote:

>  I also can't reproduce on my laptop, unless when I remove /usr/bin/gcc-ar :-)
> 
>  This piece of code is obviously broken. Unfortunately, I'm not sure how to fix
> it. Replace gcc-ar with ${CMAKE_C_COMPILER}-ar ? But that doesn't work if
> BR2_CCACHE=y... Symlink gcc-ar -> cross-gcc-ar in host/usr/bin? But that could
> create a discrepancy between the host gcc's LTO tools and the cross-tools.
> 
>  Oh, hang on, some genius moved the ccache support to the toolchain wrapper, so
> ${CMAKE_C_COMPILER}-ar might actually work... Let me try that...

Shouldn't instead this CMakeLists.txt allow to override the gcc-ar and
gcc-ranlib path using variables, like CMake normally does for the C and
C++ compilers with CMAKE_C_COMPILER and CMAKE_CXX_COMPILER ?

Samuel ?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2016-08-26 19:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-19  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2016-08-18 Thomas Petazzoni
2016-08-19 22:07 ` [Buildroot] Analysis of build " Thomas Petazzoni
2016-08-19 22:19   ` Yann E. MORIN
2016-08-19 22:22   ` Waldemar Brodkorb
2016-08-20 10:27     ` Thomas Petazzoni
2016-08-19 22:29   ` Yann E. MORIN
2016-08-24 16:51     ` Thomas Petazzoni
2016-08-24 20:40       ` [Buildroot] Remaining kmsxx build issue Thomas Petazzoni
2016-08-26 19:30         ` Arnout Vandecappelle
2016-08-26 19:42           ` Thomas Petazzoni [this message]
2016-08-20  9:17   ` [Buildroot] Analysis of build results for 2016-08-18 Rahul Bedarkar
2016-08-20  9:22     ` Thomas Petazzoni
2016-08-20 10:11       ` Rahul Bedarkar
2016-08-20 13:52   ` Gustavo Zacarias
2016-08-20 13:55     ` [Buildroot] odroid-mali issue Thomas Petazzoni
2016-08-21  6:42   ` [Buildroot] Analysis of build results for 2016-08-18 Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160826214208.36fe8c70@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox