[Buildroot] [PATCH] package/acpitool: not available for bfin

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 18 20:29:03 UTC 2016


Hello,

On Mon, 18 Jul 2016 22:23:36 +0200, Yann E. MORIN wrote:

> Ok, so nothing in autoconf states that AC_PROG_CC should be before
> AC_PROG_CXX.
> 
> So, I tried to autoreconf acpitool without changing the ordering. And it
> still breaks at the same location, but for another reason:
> 
>     [...]
>     checking host system type... bfin-buildroot-linux-uclibc
>     checking whether the C++ compiler works... no
>     configure: error: in `/home/ymorin/dev/buildroot/O/build/acpitool-0.5.1':
>     configure: error: C++ compiler cannot create executables
>     See `config.log' for more details
> 
> And config.log says:
> 
>     configure:3032: checking whether the C++ compiler works
>     configure:3054: /home/ymorin/dev/buildroot/O/host/usr/bin/bfin-linux-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.cpp  >&5
>     /home/ymorin/dev/buildroot/O/host/opt/ext-toolchain/bin/../lib/gcc/bfin-buildroot-linux-uclibc/6.1.0/../../../../bfin-buildroot-linux-uclibc/bin/ld: a.out: hidden symbol `___udivsi3' in /home/ymorin/dev/buildroot/O/host/opt/ext-toolchain/bin/../lib/gcc/bfin-buildroot-linux-uclibc/6.1.0/libgcc.a(_udivsi3.o) is referenced by DSO
>     /home/ymorin/dev/buildroot/O/host/opt/ext-toolchain/bin/../lib/gcc/bfin-buildroot-linux-uclibc/6.1.0/../../../../bfin-buildroot-linux-uclibc/bin/ld: final link failed: Bad value
>     collect2: error: ld returned 1 exit status
>     configure:3058: $? = 1
>     configure:3096: result: no
> 
> So. Their configure file is borked. It was generated with autoconf 2.63,
> if that is of any importance.

I'm probably missing something, but what makes you conclude that their
configure file is borked? What I'm seeing here is a compiler issue, not
a configure script issue.

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



More information about the buildroot mailing list