[Buildroot] [PATCH] package/acpitool: needs threads, shared; unavailable for bfin

Peter Korsgaard peter at korsgaard.com
Wed Sep 28 05:49:19 UTC 2016


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > acpitool requires threads.
 > However, it does not check fo threads in its configure script, so
 > forgets to link with -pthreads, so fails to build in static-only
 > scenarii.

 > However, upstream has been dead for the past 7+ years now, so there is
 > not much point trying to fix this. Besides, a system with ACPI is most
 > probably a biggish system, so shared libs will probably be enabled, so
 > we just require shared libs.

 > As for bfin, the cryptic configure failure:
 >     configure: error: C++ compiler cannot create executables

 > is due to the order in which AC_PROG_CXX and AC_PROG_CC are called.
 > Calling AC_PROG_CC first fixes this error message.

Didn't we conclude this was a toolchain issue?

 > Since there's not many chances that a bfin board has ACPI, we just
 > disable acpitool for bfin.

Agreed.

 > ---
 > Changes v1 -> v2:
 >   - add dependencies on threads and !static

You seem to have forgotten to actually do so?

-- 
Venlig hilsen,
Peter Korsgaard 


More information about the buildroot mailing list