From owner-freebsd-net@freebsd.org Wed Jun 24 17:07:48 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 1FCC391558D; Wed, 24 Jun 2015 17:07:48 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) (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 E20051D09; Wed, 24 Jun 2015 17:07:47 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by igboe5 with SMTP id oe5so119303179igb.1; Wed, 24 Jun 2015 10:07:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=+zXkdtxy0QK2O5o61Bx40+/ZW+I4nTHpj1a2g42rXUA=; b=TAc1KlejMmxtRfDMBdQkh2uNc/4D/cRZwn9VFKqwWsO6xWCzJa7cY3VjtMEASEEpEN 0hGWl4QpXr5uAHUgFUMJlxiTXeV12ZnISOJa5mSepypMKo2YubI4hFeFTN4HPBdbAqox i5E1mwY8hF82BI7e73Be3uzfkgbkmFb+7m8e7UXOD+uYUWp3NV7/FjpLwPa+ScP351/V I/go5nORRzSqFNdaTlmkddaVt7HeSNl1ed1Co0avSlsKEYWfQdwauhhiR+5o35WxjnNt CTPBdr0Y0n7SQPYbJJuVqTUu3N+lnawSsojKn+Pt6azVow9bw+A0QuJcFitjhd5TDWCQ bU3A== X-Received: by 10.50.50.130 with SMTP id c2mr1078387igo.19.1435165666833; Wed, 24 Jun 2015 10:07:46 -0700 (PDT) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com. [209.85.223.182]) by mx.google.com with ESMTPSA id lr1sm1403999igb.10.2015.06.24.10.07.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 10:07:46 -0700 (PDT) Received: by iebrt9 with SMTP id rt9so37569947ieb.2; Wed, 24 Jun 2015 10:07:46 -0700 (PDT) X-Received: by 10.50.142.9 with SMTP id rs9mr1080065igb.17.1435165666304; Wed, 24 Jun 2015 10:07:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eric Joyner Date: Wed, 24 Jun 2015 17:07:36 +0000 Message-ID: Subject: Re: FreeBSD-head ixgbe build failed To: Stefano Garzarella , "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:07:48 -0000 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 >> >