Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 12:06:31 +0800 (SGT)
From:      Patrick Dung <patrick_dkt@yahoo.com.hk>
To:        Sebastian Kuzminsky <S.Kuzminsky@F5.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, "ivoras@freebsd.org" <ivoras@freebsd.org>
Subject:   Re: About Transparent Superpages and Non-transparent superapges
Message-ID:  <1379649991.82562.YahooMailNeo@web193502.mail.sg3.yahoo.com>
In-Reply-To: <22E7E628-E997-4B64-B229-92E425D85084@f5.com>
References:  <mailman.2681.1379448875.363.freebsd-hackers@freebsd.org> <1379520488.49964.YahooMailNeo@web193502.mail.sg3.yahoo.com> <22E7E628-E997-4B64-B229-92E425D85084@f5.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: Sebastian Kuzminsky <S.Kuzminsky@F5.com>=0A>To: Patrick Dung <patric=
k_dkt@yahoo.com.hk>=0A>Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@f=
reebsd.org>; "ivoras@freebsd.org" <ivoras@freebsd.org>=0A>Sent: Friday, Sep=
tember 20, 2013 4:34 AM=0A>Subject: Re: About Transparent Superpages and No=
n-transparent superapges=0A>=0A>On Sep 18, 2013, at 10:08 , Patrick Dung wr=
ote:=0A>=0A>> I have seen somewhere that superpages support was being devel=
oped in HEAD too.=0A>> Any insight on it?=0A>=0A>=0A>We at Line Rate (now F=
5) are developing support for 1 Gig superpages on amd64.=A0 We're basing ou=
r work on 9.1.0 for now.=0A>=0A>An early preview is available here:=0A>=0A>=
https://github.com/Seb-LineRate/freebsd/tree/freebsd-9.1.0-1gig-pages-NOT-R=
EADY-2=0A>=0A>=0A>-- =0A>Sebastian Kuzminsky=0A>=0A=0AThat is cool.=0A=0AWh=
at type of applications can take advantage of the 1Gb page size?=0AAnd is i=
t transparent? Or applications need to be modified?=0A=0AThanks,=0APatrick =
Dung=0A
From owner-freebsd-hackers@FreeBSD.ORG  Fri Sep 20 04:39:16 2013
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id 15CC09C8
 for <freebsd-hackers@freebsd.org>; Fri, 20 Sep 2013 04:39:16 +0000 (UTC)
 (envelope-from lidl@pix.net)
Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id DEC6A2CCA
 for <freebsd-hackers@freebsd.org>; Fri, 20 Sep 2013 04:39:15 +0000 (UTC)
Received: from torb.pix.net (torb.pix.net
 [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0)
 by hydra.pix.net (8.14.5/8.14.5) with ESMTP id r8K4dDe2043507
 for <freebsd-hackers@freebsd.org>; Fri, 20 Sep 2013 00:39:13 -0400 (EDT)
 (envelope-from lidl@pix.net)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.97.8 at mail.pix.net
Message-ID: <523BD171.6000803@pix.net>
Date: Fri, 20 Sep 2013 00:39:13 -0400
From: Kurt Lidl <lidl@pix.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8;
 rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: freebsd-hackers <freebsd-hackers@freebsd.org>
Subject: complicated dependency file generation and "make depend"
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
 <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Sep 2013 04:39:16 -0000

Greetings all -

I've come across a problem that I do not know how to solve.
(one of many, I'm sure)

In a project that I am working on, there is a tool used
to generate a few header files that are used when
compiling parts of the entire project.

This tool, itself, relies on some of the libraries built
in the project.  These libraries must exist before the tool
can be created.

I'm struggling with how to build the libraries and then
the header generating tool, as part of the 'make depend'
phase of the entire project.

I'd like to be able to just do "make obj depend && make all"
and end up with all the binaries, libraries, etc built
and ready to be installed.

"make obj && make all" works...

I mean, from a certain point of view, I know that I ought
to be able to hook into the beforedepend: target
in an individual Makefile, but I don't see how I'm supposed
to do that at the top level Makefile, which uses bsd.subdir.mk.

The top level Makefile drives the compilation of the libraries,
then the tools, then some more libraries that require the tools,
and finally the binaries that make up the project (which
require both the libraries and the tools).

Thanks for any insight!

-Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1379649991.82562.YahooMailNeo>