From: Vlad Zakharov <Vladislav.Zakharov@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] Analysis of build results for 2016-08-05
Date: Thu, 11 Aug 2016 10:43:04 +0000 [thread overview]
Message-ID: <1470912183.20896.30.camel@synopsys.com> (raw)
In-Reply-To: <20160808223407.4f535efd@free-electrons.com>
Hi Thomas,?
writing you about stella-4.7.2 failure for ARC as I promised.?
Following patch fixes it:
https://patchwork.ozlabs.org/patch/658158/
Few words about this failure. The real bug wasn't evident for me for long time - I was unable to reproduce the issue on my build host.
On your side x86_64-linux-gnu-g++ compiler was chosen by stella configure script because:
1) check of arc-buildroot-linux-uclibc-g++ compiler failed due to bad configure script logic,
2) for some reason script doesn't fail but try to find another compiler. This is performed with help of config.guess script. config.guess
script is used to determine your host arch and os. The result is x86_64 and linux-gnu on your side.
3) so, it tries x86_64-linux-gnu toolchain.
The errors like:
> Looking for C++ compiler... ./configure: line 110: eval: -g:
> invalid option eval: usage: eval [arg ...]?
> ./configure: line 110: eval: -c: invalid option
> eval: usage: eval [arg ...] ?
appear when script is not able to find any suitable toolchains.
For example it happened to me - I have?x86_64-redhat-linux-g++ instead of x86_64-linux-gnu-g++ on my host.
So the script wasn't able to find suitable compiler.
And what is really funny - configure script doesn't exit in such case.?
It leaves the first possible value in $CXX variable (arc-buildroot-linux-uclibc-g++ in case of ARC).
Because of such behavior configure dind't fail to me and correct arc-buildroot-linux-uclibc-g++ was chosen somehow (even though the script
decided it is not suitable for build), and package was build successfully.
Eventually though build the package is fixed by my patch I still keep in mind two following problems:
1) Why should we try to build for other platform if specified toolchain is not suitable?
2) Why configure script doesn't stop the build when it is unable to fond correct toolchain?
What do you think about it?
Thanks.
--
Best regards,
Vlad Zakharov <vzakhar@synopsys.com>
On Mon, 2016-08-08 at 22:34 +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Mon, 8 Aug 2016 15:56:21 +0000, Vlad Zakharov wrote:
>
> >
> > The failures listed above occurred due to the same issue -
> > crtbeginT.o file was missing as the corresponding dependency wasn't
> > added. The issue has already been solved internally and will be
> > included in our next engineering build. We hope that new build happen
> > tomorrow or the day after tomorrow. Anyway we will send patch patch
> > with bumping to new arc toolchain as soon as it will come up.
> OK, thanks!
>
> >
> > >
> > > >
> > > > Looking for C++ compiler... ./configure: line 110: eval: -g:
> > > > invalid option eval: usage: eval [arg ...]
> > > > ./configure: line 110: eval: -c: invalid option
> > > > eval: usage: eval [arg ...]??
> > > ??
> > I am looking at this issue now. I will report about it ASAP.
> Perfect, thanks!
>
> Thomas
next prev parent reply other threads:[~2016-08-11 10:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-06 6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2016-08-05 Thomas Petazzoni
2016-08-07 9:26 ` [Buildroot] Analysis of build " Thomas Petazzoni
2016-08-07 11:46 ` Waldemar Brodkorb
2016-08-09 10:03 ` Thomas Petazzoni
2016-08-07 14:33 ` Frank Hunleth
2016-08-07 15:48 ` Samuel Martin
2016-08-09 14:15 ` Ben Boeckel
2016-08-17 21:18 ` Samuel Martin
2016-08-08 15:56 ` Vlad Zakharov
2016-08-08 20:34 ` Thomas Petazzoni
2016-08-11 10:43 ` Vlad Zakharov [this message]
2016-08-09 13:27 ` gwenhael.goavec
2016-08-09 13:41 ` Thomas Petazzoni
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=1470912183.20896.30.camel@synopsys.com \
--to=vladislav.zakharov@synopsys.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