[Buildroot] Incorrect ABI setting on ubuntu 14.04LTS

Baruch Siach baruch at tkos.co.il
Thu Jul 3 15:09:14 UTC 2014


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 -


More information about the buildroot mailing list