From patchwork Wed Aug 13 18:53:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 379716 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 095541400B2 for ; Thu, 14 Aug 2014 04:53:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2D55389949; Wed, 13 Aug 2014 18:53:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id di+Bm9qC5ONQ; Wed, 13 Aug 2014 18:53:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8AD0B8985A; Wed, 13 Aug 2014 18:53:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D42C61BF978 for ; Wed, 13 Aug 2014 18:53:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CD05F83D2D for ; Wed, 13 Aug 2014 18:53:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F1L+07I4KWfi for ; Wed, 13 Aug 2014 18:53:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs02.rockwellcollins.com (secvs02.rockwellcollins.com [205.175.225.241]) by whitealder.osuosl.org (Postfix) with ESMTPS id E0FAD83D06 for ; Wed, 13 Aug 2014 18:53:44 +0000 (UTC) Received: from nosuchhost.198.131.in-addr.arpa (HELO crulimr02.rockwellcollins.com) ([131.198.26.125]) by mail-virt.rockwellcollins.com with ESMTP; 13 Aug 2014 13:53:44 -0500 From: Matt Weber To: buildroot@busybox.net Date: Wed, 13 Aug 2014 13:53:42 -0500 Message-Id: <1407956022-62199-1-git-send-email-Matthew.Weber@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH 1/1] fio: (bugfix) add libaio dependency (added description) X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The fio package at runtime (dlopen)links in the libaio library when the ioengine is selected as libaio. I.e. this isn't caught at build time since the link wouldn't occur. Signed-off-by: Matt Weber --- package/fio/Config.in | 1 + package/fio/fio.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/package/fio/Config.in b/package/fio/Config.in index 8cbbf6c..b907fb9 100644 --- a/package/fio/Config.in +++ b/package/fio/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_FIO depends on BR2_USE_MMU # fork() depends on BR2_LARGEFILE depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBAIO #ioengine libaio # fio uses posix_madvise(), which is not part of any official # release of uClibc, but is part of uClibc Git, and backported # in Buildroot patch set of uClibc 0.9.33. Therefore, we diff --git a/package/fio/fio.mk b/package/fio/fio.mk index f9a690e..e0c79e8 100644 --- a/package/fio/fio.mk +++ b/package/fio/fio.mk @@ -8,6 +8,7 @@ FIO_VERSION = fio-2.1.4 FIO_SITE = git://git.kernel.dk/fio.git FIO_LICENSE = GPLv2 + special obligations FIO_LICENSE_FILES = LICENSE +FIO_DEPENDENCIES = libaio define FIO_CONFIGURE_CMDS (cd $(@D); ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")