From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id EC58CC40A for ; Mon, 3 Aug 2015 00:26:38 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so97568085wib.0 for ; Sun, 02 Aug 2015 15:26:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=WDRFF8V8KZdDduSfbdiXNwRwbNZxKvT0JTQMDD40n9s=; b=JNNQfEdOYQYS67N4L6XN71+CntmpZ/SxSJJ4zS5JDn8pCiFI+oeoJixDJVlGap4UbU oo7Irlk6WTfRFNUyZtdw9gwtbddlxnwvRoo8VEKovwdMXYNKge+pln5DPYhAdNhmYKO9 9r3oLL/HUP5EhvijR7v/oPpT1L18EL3mEZUhXD3w1ZsINOVfwZpZZV47kxkWOBW6wUgS UOqZ2u+AOBUDfB9El6jt4q31LrpV7nRvQFy9cSq2FtoCBxkeskPxVFO7UuMfoWPMslQZ GsXDSj5qLn65r7bJ1NEEsKF+4db16TznOJdMaEW0CtNlOCMwQ010IqZ/GwAsElVFI/JC EUsQ== X-Gm-Message-State: ALoCoQmDqiQXM/5Xesgr/LIhFNxoEGPlSFcHWK1h5Hh5o0qF/7ZFNH1cX1eCg8rw6FFvFsyg0BGB X-Received: by 10.194.238.168 with SMTP id vl8mr28951615wjc.128.1438554398702; Sun, 02 Aug 2015 15:26:38 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id df1sm10272574wib.12.2015.08.02.15.26.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 15:26:37 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Date: Mon, 03 Aug 2015 00:25:24 +0200 Message-ID: <2133764.5Y3MGMYgGN@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1438288008-4294-1-git-send-email-olivier.matz@6wind.com> References: <1438288008-4294-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix compilation for x86_x32-native-linuxapp-gcc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 22:26:39 -0000 2015-07-30 22:26, Olivier Matz: > Compiling for dpdk x86_x32 gives the following error: > > CC eal_common_timer.o > In file included from /usr/include/sys/sysctl.h:63:0, > from dpdk.org/lib/librte_eal/common/eal_common_timer.c:39: > /usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel" > # error "sysctl system call is unsupported in x32 kernel" > ^ > dpdk.org/mk/internal/rte.compile-pre.mk:126: recipe for target 'eal_common_timer.o' failed > make[6]: *** [eal_common_timer.o] Error 1 > > Including sysctl.h was added by mistake when merging bsd and linux EAL > timer code. It can be safely removed in this file, fixing the > compilation. > > Fixes: 040cf8a411 ("eal: deduplicate timer functions") > Signed-off-by: Olivier Matz Applied, thanks