From: Ole J. B. <ole...@ya...> - 2011-02-15 04:30:35
|
Am I the only one that has to do multiple make passes for a complete build? (ie. first make fails after a while, second make progresses a bit further, ..., last make succeeds) I remember that this happened with ion3plus (and probably ion3) too, so it's not something introduced in notion, and isn't really that annoying either. (After an initial build, a single make usually suffices) Just curios if it's some weird thing going on in my environment. - Ole Jørgen Brønner |
From: <eb...@dr...> - 2011-02-15 12:32:49
Attachments:
signature.asc
|
One pass is enough here, but I did NOT INSTALLED libtu and libextl. What is the error that it stops on? I changed build/libs.mk (both in notion and in libextl) instead of installing libtu and libextl. Here is the contents of my notion/build/libs.mk: LIBS_SUBDIRS = libmainloop LIBTU_DIR = $(TOPDIR)/../libtu LIBTU_INCLUDES = -I$(TOPDIR)/.. LIBTU_LIBS = -L$(LIBTU_DIR) -ltu LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop LIBMAINLOOP_INCLUDES = -I$(TOPDIR) LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop LIBEXTL_DIR = $(TOPDIR)/../libextl LIBEXTL_INCLUDES = -I$(TOPDIR)/.. LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports On Tue, 15 Feb 2011 05:30:07 +0100 Ole Jørgen Brønner <ole...@ya...> wrote: > Am I the only one that has to do multiple make passes for a complete > build? (ie. first make fails after a while, second make progresses a > bit further, ..., last make succeeds) > > I remember that this happened with ion3plus (and probably ion3) too, > so it's not something introduced in notion, and isn't really that > annoying either. (After an initial build, a single make usually > suffices) Just curios if it's some weird thing going on in my > environment. > > - Ole Jørgen Brønner > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio > XE: Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel -- Tomáš 'ebík' Ebenlendr PF 2011.12480463597 |
From: Ole J. B. <ole...@ya...> - 2011-02-15 17:48:26
|
I figured it out :) I looked a bit closer, and the problem was related to export.h (which is afaik generated from the c source by a lua script) I had aliased make to 'make -j2' and the parallel build tripped up the order of export.{h,c} generation and compiling. On Tue, 15 Feb 2011 13:32:27 +0100, <eb...@dr...> wrote: > One pass is enough here, but I did NOT INSTALLED libtu and libextl. > What is the error that it stops on? > > I changed build/libs.mk (both in notion and in libextl) instead > of installing libtu and libextl. Here is the contents of my > notion/build/libs.mk: > > LIBS_SUBDIRS = libmainloop > > LIBTU_DIR = $(TOPDIR)/../libtu > LIBTU_INCLUDES = -I$(TOPDIR)/.. > LIBTU_LIBS = -L$(LIBTU_DIR) -ltu > > LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop > LIBMAINLOOP_INCLUDES = -I$(TOPDIR) > LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop > > LIBEXTL_DIR = $(TOPDIR)/../libextl > LIBEXTL_INCLUDES = -I$(TOPDIR)/.. > LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl > > MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports > > > > On Tue, 15 Feb 2011 05:30:07 +0100 > Ole Jørgen Brønner <ole...@ya...> wrote: >> Am I the only one that has to do multiple make passes for a complete >> build? (ie. first make fails after a while, second make progresses a >> bit further, ..., last make succeeds) >> >> I remember that this happened with ion3plus (and probably ion3) too, >> so it's not something introduced in notion, and isn't really that >> annoying either. (After an initial build, a single make usually >> suffices) Just curios if it's some weird thing going on in my >> environment. >> >> - Ole Jørgen Brønner |
From: <eb...@dr...> - 2011-02-15 20:19:03
Attachments:
signature.asc
|
Then the dependencies are wrong. I mean wrong by relying on nonparallel building. We should document this somewhere (in README) or fix the Makefile. On Tue, 15 Feb 2011 18:34:21 +0100 Ole Jørgen Brønner <ole...@ya...> wrote: > I figured it out :) > > I looked a bit closer, and the problem was related to export.h (which > is afaik generated from the c source by a lua script) I had aliased > make to 'make -j2' and the parallel build tripped up the order of > export.{h,c} generation and compiling. > > > On Tue, 15 Feb 2011 13:32:27 +0100, <eb...@dr...> wrote: > > > One pass is enough here, but I did NOT INSTALLED libtu and libextl. > > What is the error that it stops on? > > > > I changed build/libs.mk (both in notion and in libextl) instead > > of installing libtu and libextl. Here is the contents of my > > notion/build/libs.mk: > > > > LIBS_SUBDIRS = libmainloop > > > > LIBTU_DIR = $(TOPDIR)/../libtu > > LIBTU_INCLUDES = -I$(TOPDIR)/.. > > LIBTU_LIBS = -L$(LIBTU_DIR) -ltu > > > > LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop > > LIBMAINLOOP_INCLUDES = -I$(TOPDIR) > > LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop > > > > LIBEXTL_DIR = $(TOPDIR)/../libextl > > LIBEXTL_INCLUDES = -I$(TOPDIR)/.. > > LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl > > > > MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports > > > > > > > > On Tue, 15 Feb 2011 05:30:07 +0100 > > Ole Jørgen Brønner <ole...@ya...> wrote: > >> Am I the only one that has to do multiple make passes for a > >> complete build? (ie. first make fails after a while, second make > >> progresses a bit further, ..., last make succeeds) > >> > >> I remember that this happened with ion3plus (and probably ion3) > >> too, so it's not something introduced in notion, and isn't really > >> that annoying either. (After an initial build, a single make > >> usually suffices) Just curios if it's some weird thing going on in > >> my environment. > >> > >> - Ole Jørgen Brønner > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio > XE: Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel -- Tomáš 'ebík' Ebenlendr PF 2011.12571486555 |
From: Arnout E. <no...@bz...> - 2011-02-15 21:16:30
|
On Tue, Feb 15, 2011 at 01:32:27PM +0100, eb...@dr... wrote: > One pass is enough here, but I did NOT INSTALLED libtu and libextl. > I changed build/libs.mk (both in notion and in libextl) instead > of installing libtu and libextl. Hmm, that's actually pretty neat, perhaps we should document that as the preferred way to build notion. Arnout > notion/build/libs.mk: > > LIBS_SUBDIRS = libmainloop > > LIBTU_DIR = $(TOPDIR)/../libtu > LIBTU_INCLUDES = -I$(TOPDIR)/.. > LIBTU_LIBS = -L$(LIBTU_DIR) -ltu > > LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop > LIBMAINLOOP_INCLUDES = -I$(TOPDIR) > LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop > > LIBEXTL_DIR = $(TOPDIR)/../libextl > LIBEXTL_INCLUDES = -I$(TOPDIR)/.. > LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl > > MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports > > > > On Tue, 15 Feb 2011 05:30:07 +0100 > Ole Jørgen Brønner <ole...@ya...> wrote: > > Am I the only one that has to do multiple make passes for a complete > > build? (ie. first make fails after a while, second make progresses a > > bit further, ..., last make succeeds) > > > > I remember that this happened with ion3plus (and probably ion3) too, > > so it's not something introduced in notion, and isn't really that > > annoying either. (After an initial build, a single make usually > > suffices) Just curios if it's some weird thing going on in my > > environment. > > > > - Ole Jørgen Brønner > > > > ------------------------------------------------------------------------------ > > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio > > XE: Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Notion-devel mailing list > > Not...@li... > > https://lists.sourceforge.net/lists/listinfo/notion-devel > > > -- > Tomáš 'ebík' Ebenlendr > PF 2011.12480463597 > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel |
From: Arnout E. <no...@bz...> - 2011-02-15 21:19:03
|
On Tue, Feb 15, 2011 at 06:34:21PM +0100, Ole Jørgen Brønner wrote: > I figured it out :) > > I looked a bit closer, and the problem was related to export.h (which is > afaik generated from the c source by a lua script) I had aliased make to > 'make -j2' and the parallel build tripped up the order of export.{h,c} > generation and compiling. Changing this line in build/rules.mk: -%.o: %.c +%.o: %.c $(EXPORTS_H) $(CC) $(CC_PICFLAGS) $(CFLAGS) -c $< -o $@ .. makes 'make -j2' work for me, but not 'make -j4'. I wonder what's going on there. Kind regards, Arnout > On Tue, 15 Feb 2011 13:32:27 +0100, <eb...@dr...> wrote: > > One pass is enough here, but I did NOT INSTALLED libtu and libextl. > > What is the error that it stops on? > > > > I changed build/libs.mk (both in notion and in libextl) instead > > of installing libtu and libextl. Here is the contents of my > > notion/build/libs.mk: > > > > LIBS_SUBDIRS = libmainloop > > > > LIBTU_DIR = $(TOPDIR)/../libtu > > LIBTU_INCLUDES = -I$(TOPDIR)/.. > > LIBTU_LIBS = -L$(LIBTU_DIR) -ltu > > > > LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop > > LIBMAINLOOP_INCLUDES = -I$(TOPDIR) > > LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop > > > > LIBEXTL_DIR = $(TOPDIR)/../libextl > > LIBEXTL_INCLUDES = -I$(TOPDIR)/.. > > LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl > > > > MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports > > > > > > > > On Tue, 15 Feb 2011 05:30:07 +0100 > > Ole Jørgen Brønner <ole...@ya...> wrote: > >> Am I the only one that has to do multiple make passes for a complete > >> build? (ie. first make fails after a while, second make progresses a > >> bit further, ..., last make succeeds) > >> > >> I remember that this happened with ion3plus (and probably ion3) too, > >> so it's not something introduced in notion, and isn't really that > >> annoying either. (After an initial build, a single make usually > >> suffices) Just curios if it's some weird thing going on in my > >> environment. > >> > >> - Ole Jørgen Brønner > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel |
From: Arnout E. <no...@bz...> - 2011-02-15 21:27:19
|
On Tue, Feb 15, 2011 at 10:18:53PM +0100, Arnout Engelen wrote: > Changing this line in build/rules.mk: > -%.o: %.c > +%.o: %.c $(EXPORTS_H) > $(CC) $(CC_PICFLAGS) $(CFLAGS) -c $< -o $@ > > .. makes 'make -j2' work for me, but not 'make -j4'. I wonder what's going > on there. Ah, missed 2 spots. This should do it: http://notion.git.sourceforge.net/git/gitweb.cgi?p=notion/notion;a=commitdiff;h=522169b166439f8f479e2baf5d6805e1c76b8e66 -- Kind regards, Arnout > > On Tue, 15 Feb 2011 13:32:27 +0100, <eb...@dr...> wrote: > > > One pass is enough here, but I did NOT INSTALLED libtu and libextl. > > > What is the error that it stops on? > > > > > > I changed build/libs.mk (both in notion and in libextl) instead > > > of installing libtu and libextl. Here is the contents of my > > > notion/build/libs.mk: > > > > > > LIBS_SUBDIRS = libmainloop > > > > > > LIBTU_DIR = $(TOPDIR)/../libtu > > > LIBTU_INCLUDES = -I$(TOPDIR)/.. > > > LIBTU_LIBS = -L$(LIBTU_DIR) -ltu > > > > > > LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop > > > LIBMAINLOOP_INCLUDES = -I$(TOPDIR) > > > LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop > > > > > > LIBEXTL_DIR = $(TOPDIR)/../libextl > > > LIBEXTL_INCLUDES = -I$(TOPDIR)/.. > > > LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl > > > > > > MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports > > > > > > > > > > > > On Tue, 15 Feb 2011 05:30:07 +0100 > > > Ole Jørgen Brønner <ole...@ya...> wrote: > > >> Am I the only one that has to do multiple make passes for a complete > > >> build? (ie. first make fails after a while, second make progresses a > > >> bit further, ..., last make succeeds) > > >> > > >> I remember that this happened with ion3plus (and probably ion3) too, > > >> so it's not something introduced in notion, and isn't really that > > >> annoying either. (After an initial build, a single make usually > > >> suffices) Just curios if it's some weird thing going on in my > > >> environment. > > >> > > >> - Ole Jørgen Brønner > > > > ------------------------------------------------------------------------------ > > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > > Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Notion-devel mailing list > > Not...@li... > > https://lists.sourceforge.net/lists/listinfo/notion-devel > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel |