On Mon, 25 Jul 2011, Matthew McClintock wrote: > Signed-off-by: Matthew McClintock <m...@freescale.com> > --- > Not 100% sure about this fix, but it does remove a build failure when > build with -j100 > > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index d781871..7f03eb4 100644 > --- a/Makefile > +++ b/Makefile > @@ -196,7 +196,7 @@ libs: $(foreach > file,$(INSTALL_OBJ_LIBS),$(OBJDIRS:%=%/$(file))) $(BIN_OBJ_DIR)/ > tests: libs # Force make to build the library first > tests: tests/all > > -tests/%: > +tests/%: libs > $(MAKE) -C tests $* > > tools: $(foreach file,$(INSTALL_BIN),$(BIN_OBJ_DIR)/$(file))
Unfortunately this doesn't work for me for a -j values. There is a subtle timing issue with the linker script and the old linker tests. When I build with -j4 I get failures that suggest the linker script is not yet in place or being used. /usr/bin/ld: unrecognized option '--hugetlbfs-link=BDT' /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status make[1]: *** [obj64/xBDT.linkshare] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [tests/all] Error 2 and collect2: error trying to exec './obj32/ld': execvp: No such file or directory collect2: ld returned 255 exit status make[1]: *** [obj32/xB.linkhuge] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [tests/all] Error 2 I believe these are the same issues we have always had with parallel builds. Eric
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel