From owner-freebsd-net@freebsd.org Wed Jun 24 17:47:51 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12BDA915F68; Wed, 24 Jun 2015 17:47:51 +0000 (UTC) (envelope-from stefanogarzarella@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92BBE1D6F; Wed, 24 Jun 2015 17:47:50 +0000 (UTC) (envelope-from stefanogarzarella@gmail.com) Received: by wgbhy7 with SMTP id hy7so42547543wgb.2; Wed, 24 Jun 2015 10:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HxUbUQu/rx2Pu998UTVXMR/7C3xhhEkw+o009Uqp7z0=; b=dycH3m9IxEkD8QbEs1AIprheUug+O9lsxSOrUL/EDnLh0St3k5kfzu7B6N7syxk1Dv 8hmLD3o3ofLxeMr94sM9UYPixMMnHkKgVJNhRI3UDrvbDYZuSmzoS1idPVARLZNhraWf 0LUgTBnqlmXgioojFfsqRFMc8DU6r4nFGyozR+Ug7N8dmaK8GdD2e2czYEDpb96zEAnq cteSqDyg+4pzoyOsIpZxzOE7x2aAsVP0X9xlbzcnMWi0OmmnaeSOjIlteyzq8Aq02XnL SYYaGu7msGniC4mvfKDEhroXHLZ9NcrA7mdcXtDCiGdNjRmZDKxO1G0/f7A6E55S+CAp ieng== X-Received: by 10.194.157.168 with SMTP id wn8mr71216377wjb.79.1435168069169; Wed, 24 Jun 2015 10:47:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.39.135 with HTTP; Wed, 24 Jun 2015 10:47:29 -0700 (PDT) In-Reply-To: References: From: Stefano Garzarella Date: Wed, 24 Jun 2015 19:47:29 +0200 Message-ID: Subject: Re: FreeBSD-head ixgbe build failed To: Eric Joyner Cc: "freebsd-net@freebsd.org" , freebsd-current , Luigi Rizzo , jfv@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 17:47:51 -0000 Great! Now all work fine! Thanks, Stefano 2015-06-24 19:07 GMT+02:00 Eric Joyner : > I made the change in r284767. It leaves out the backwards compatibility > ixgbe build target that the stable/10 commit allowed, but you can now build > the modules seperately. > > On Mon, Jun 22, 2015 at 2:29 PM Eric Joyner wrote: > >> I guess I could reverse-MFC r283668, then, to make that work on HEAD. >> >> On Mon, Jun 22, 2015, 12:07 PM Stefano Garzarella < >> stefanogarzarella@gmail.com> wrote: >> >>> Hi all, >>> I tried to compile FreeBSD-head with only "device ix" (without "device >>> ixv") but the build failed. >>> >>> I fixed this behavior using this patch: >>> diff --git a/sys/conf/files b/sys/conf/files >>> index 65606b0..279b161 100644 >>> --- a/sys/conf/files >>> +++ b/sys/conf/files >>> @@ -1774,25 +1774,25 @@ dev/ixgbe/if_ix.c optional ix inet >>> \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe -DSMP" >>> dev/ixgbe/if_ixv.c optional ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe -DSMP" >>> -dev/ixgbe/ix_txrx.c optional ix ixv inet \ >>> +dev/ixgbe/ix_txrx.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe -DSMP" >>> -dev/ixgbe/ixgbe_phy.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_phy.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_api.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_api.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_common.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_common.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_mbx.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_mbx.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_vf.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_vf.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_82598.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_82598.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_82599.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_82599.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_x540.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_x540.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> -dev/ixgbe/ixgbe_x550.c optional ix ixv inet \ >>> +dev/ixgbe/ixgbe_x550.c optional ix | ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> dev/ixgbe/ixgbe_dcb.c optional ix ixv inet \ >>> compile-with "${NORMAL_C} -I$S/dev/ixgbe" >>> >>> cheers, >>> Stefano >>> >>> -- >>> *Stefano Garzarella* >>> Software Engineer >>> >>> e-mail: stefano.garzarella@gmail.com >>> github: http://github.com/stefano-garzarella >>> linkedin: http://it.linkedin.com/pub/stefano-garzarella >>> >> -- *Stefano Garzarella* Software Engineer e-mail: stefano.garzarella@gmail.com github: http://github.com/stefano-garzarella linkedin: http://it.linkedin.com/pub/stefano-garzarella