Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] Incorrect ABI setting on ubuntu 14.04LTS
Date: Thu, 3 Jul 2014 18:09:14 +0300	[thread overview]
Message-ID: <20140703150914.GT9025@tarshish> (raw)
In-Reply-To: <20140703165750.3529d265@free-electrons.com>

Hi Thomas,

On Thu, Jul 03, 2014 at 04:57:50PM +0200, Thomas Petazzoni wrote:
> On Thu, 3 Jul 2014 17:54:01 +0300, Baruch Siach wrote:
> > > > $ echo 'int main(void) {}' |
> > > > ./output/host/opt/ext-toolchain/bin/arm-linux-gnueabihf-gcc -x c -o
> > > > /dev/null -
> > > > /mnt/ocz-vector/projects/bb-buildroot-2014.05/output/host/opt/ext-toolchain/bin/../libexec/gcc/arm-linux-gnueabihf/4.8.3/cc1:
> > > > error while loading shared libraries: libz.so.1: cannot open shared object
> > > > file: No such file or directory
> > > 
> > > apt-get install zlib1g:i386
> > > 
> > > is what you need.
> > 
> > I'm afraid Ubuntu 10.04 was not multi-arch enabled. That's why I suggested 
> > ia32-libs instead.
> 
> Marco reported using 14.04 LTS.

Right, of course. Sorry for the noise.

Related to this: why do we redirect stderr of the compiler invocation to 
/dev/null in check_arm_abi? We are not interested in the output itself as we 
only check whether the compiler runs successfully. When the test succeeds it 
should not output anything. Whereas in the failing case the output is very 
interesting.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2014-07-03 15:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03  9:05 [Buildroot] Incorrect ABI setting on ubuntu 14.04LTS Marco Pastorelli
2014-07-03  9:20 ` Baruch Siach
2014-07-03  9:24   ` Baruch Siach
2014-07-03  9:33     ` Thomas Petazzoni
2014-07-03 14:27       ` Marco Pastorelli
2014-07-03 14:32         ` Baruch Siach
2014-07-03 14:42         ` Thomas Petazzoni
2014-07-03 14:54           ` Baruch Siach
2014-07-03 14:57             ` Thomas Petazzoni
2014-07-03 15:09               ` Baruch Siach [this message]
2014-07-03 16:06                 ` Marco Pastorelli
2014-07-03 16:19                 ` 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=20140703150914.GT9025@tarshish \
    --to=baruch@tkos.co.il \
    --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