Re: [oe] [meta-filesystems][PATCH V2] xfsprogs: Fix parallel install and Make dependencies
On Sun, Dec 18, 2016 at 1:47 PM, Andreas Oberritterwrote: > Hi Khem, > > On 18.12.2016 00:06, Khem Raj wrote: >> This should fix build issues due to missing dependencies >> e.g. libuuid in Makefiles. > > this patch doesn't resolve the issue. I'm using the default linker. > Maybe you could apply link_needed_libs.patch only if clang is used. its really not clang specific either I checked. Its cross-compile specific whats best way to reproduce it. I do not get the errors you see. I wonder if there is some host contamination still going on. Can you check on these lines. > > Regards, > Andreas > >> >> correct libhandle paths >> >> Dont do parallel install its broken >> >> Signed-off-by: Khem Raj >> --- >> Changes from >> v1 -> v2 >> - Drop locking toolchain to gcc it compiles fine with clang too >> >> .../xfsprogs/files/link_needed_libs.patch | 76 >> +- >> .../recipes-utils/xfsprogs/xfsprogs_4.8.0.bb | 6 +- >> 2 files changed, 79 insertions(+), 3 deletions(-) >> >> diff --git >> a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch >> b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch >> index 18b95c1c3..a3c699ce6 100644 >> --- a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch >> +++ b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch >> @@ -1,3 +1,9 @@ >> +use libtool to package install. do not use the manual file install as >> +that'll copy files directly from the .libs/ subdir which might have rpaths >> +pointing to build area. >> + >> +Signed-off-by: Khem Raj >> + >> Index: xfsprogs-4.8.0/libxcmd/Makefile >> === >> --- xfsprogs-4.8.0.orig/libxcmd/Makefile >> @@ -37,11 +43,28 @@ Index: xfsprogs-4.8.0/libxfs/Makefile >> >> install-headers: $(addsuffix -hdrs, $(PKGHFILES)) >> >> +@@ -144,6 +145,7 @@ install-headers: $(addsuffix -hdrs, $(PK >> + $(Q)$(LN_S) -f $(CURDIR)/$* $(TOPDIR)/include/xfs/$* >> + >> + install-dev: install >> ++$(INSTALL_LTLIB_DEV) >> + $(INSTALL) -m 644 $(PKGHFILES) $(PKG_INC_DIR) >> + >> + # We need to install the headers before building the dependencies. If we >> Index: xfsprogs-4.8.0/libxlog/Makefile >> === >> --- xfsprogs-4.8.0.orig/libxlog/Makefile >> +++ xfsprogs-4.8.0/libxlog/Makefile >> -@@ -19,6 +19,10 @@ default: ltdepend $(LTLIBRARY) >> +@@ -12,6 +12,8 @@ LT_AGE = 0 >> + >> + CFILES = xfs_log_recover.c util.c >> + >> ++LTLIBS = $(LIBUUID) $(LIBXFS) >> ++ >> + # don't want to link xfs_repair with a debug libxlog. >> + DEBUG = -DNDEBUG >> + >> +@@ -19,6 +21,10 @@ default: ltdepend $(LTLIBRARY) >> >> include $(BUILDRULES) >> >> @@ -53,3 +76,54 @@ Index: xfsprogs-4.8.0/libxlog/Makefile >> +$(INSTALL_LTLIB_DEV) >> >> -include .ltdep >> +Index: xfsprogs-4.8.0/include/buildmacros >> +=== >> +--- xfsprogs-4.8.0.orig/include/buildmacros >> xfsprogs-4.8.0/include/buildmacros >> +@@ -70,18 +70,9 @@ endif >> + # /usr/lib. >> + ifeq ($(ENABLE_SHARED),yes) >> + INSTALL_LTLIB_DEV = \ >> +-cd $(TOPDIR)/$(LIBNAME)/.libs; \ >> +-../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ >> +-../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR); \ >> +-../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la ; \ >> +-../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \ >> +-../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \ >> +-if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \ >> +- "x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \ >> +-../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a >> $(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \ >> +-../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la >> $(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \ >> +-../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so >> $(PKG_LIB_DIR)/$(LIBNAME).so; \ >> +-fi >> ++set -e; cd $(TOPDIR)/$(LIBNAME); \ >> ++$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ >> ++env -uDIST_ROOT $(LTINSTALL) $(TOPDIR)/$(LIBNAME)/$(LIBNAME).la >> $(DIST_ROOT)$(PKG_LIB_DIR)/$(LIBNAME).la >> + else >> + INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) >> + endif >> +Index: xfsprogs-4.8.0/Makefile >> +=== >> +--- xfsprogs-4.8.0.orig/Makefile >> xfsprogs-4.8.0/Makefile >> +@@ -83,6 +83,8 @@ quota: libxcmd >> + repair: libxlog libxcmd >> + copy: libxlog >> + mkfs: libxcmd >> ++libxlog: libxfs >> ++libxlog-install-dev: libxfs-install-dev >> + >> + ifeq ($(HAVE_BUILDDEFS), yes) >> + include $(BUILDRULES) >> +Index: xfsprogs-4.8.0/libhandle/Makefile >> +=== >> +--- xfsprogs-4.8.0.orig/libhandle/Makefile >> xfsprogs-4.8.0/libhandle/Makefile >> +@@
Re: [oe] [meta-filesystems][PATCH V2] xfsprogs: Fix parallel install and Make dependencies
Hi Khem, On 18.12.2016 00:06, Khem Raj wrote: > This should fix build issues due to missing dependencies > e.g. libuuid in Makefiles. this patch doesn't resolve the issue. I'm using the default linker. Maybe you could apply link_needed_libs.patch only if clang is used. Regards, Andreas > > correct libhandle paths > > Dont do parallel install its broken > > Signed-off-by: Khem Raj> --- > Changes from > v1 -> v2 > - Drop locking toolchain to gcc it compiles fine with clang too > > .../xfsprogs/files/link_needed_libs.patch | 76 > +- > .../recipes-utils/xfsprogs/xfsprogs_4.8.0.bb | 6 +- > 2 files changed, 79 insertions(+), 3 deletions(-) > > diff --git > a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch > b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch > index 18b95c1c3..a3c699ce6 100644 > --- a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch > +++ b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch > @@ -1,3 +1,9 @@ > +use libtool to package install. do not use the manual file install as > +that'll copy files directly from the .libs/ subdir which might have rpaths > +pointing to build area. > + > +Signed-off-by: Khem Raj > + > Index: xfsprogs-4.8.0/libxcmd/Makefile > === > --- xfsprogs-4.8.0.orig/libxcmd/Makefile > @@ -37,11 +43,28 @@ Index: xfsprogs-4.8.0/libxfs/Makefile > > install-headers: $(addsuffix -hdrs, $(PKGHFILES)) > > +@@ -144,6 +145,7 @@ install-headers: $(addsuffix -hdrs, $(PK > + $(Q)$(LN_S) -f $(CURDIR)/$* $(TOPDIR)/include/xfs/$* > + > + install-dev: install > ++$(INSTALL_LTLIB_DEV) > + $(INSTALL) -m 644 $(PKGHFILES) $(PKG_INC_DIR) > + > + # We need to install the headers before building the dependencies. If we > Index: xfsprogs-4.8.0/libxlog/Makefile > === > --- xfsprogs-4.8.0.orig/libxlog/Makefile > +++ xfsprogs-4.8.0/libxlog/Makefile > -@@ -19,6 +19,10 @@ default: ltdepend $(LTLIBRARY) > +@@ -12,6 +12,8 @@ LT_AGE = 0 > + > + CFILES = xfs_log_recover.c util.c > + > ++LTLIBS = $(LIBUUID) $(LIBXFS) > ++ > + # don't want to link xfs_repair with a debug libxlog. > + DEBUG = -DNDEBUG > + > +@@ -19,6 +21,10 @@ default: ltdepend $(LTLIBRARY) > > include $(BUILDRULES) > > @@ -53,3 +76,54 @@ Index: xfsprogs-4.8.0/libxlog/Makefile > +$(INSTALL_LTLIB_DEV) > > -include .ltdep > +Index: xfsprogs-4.8.0/include/buildmacros > +=== > +--- xfsprogs-4.8.0.orig/include/buildmacros > xfsprogs-4.8.0/include/buildmacros > +@@ -70,18 +70,9 @@ endif > + # /usr/lib. > + ifeq ($(ENABLE_SHARED),yes) > + INSTALL_LTLIB_DEV = \ > +-cd $(TOPDIR)/$(LIBNAME)/.libs; \ > +-../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ > +-../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR); \ > +-../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la ; \ > +-../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \ > +-../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \ > +-if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \ > +- "x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \ > +-../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a > $(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \ > +-../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la > $(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \ > +-../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so > $(PKG_LIB_DIR)/$(LIBNAME).so; \ > +-fi > ++set -e; cd $(TOPDIR)/$(LIBNAME); \ > ++$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ > ++env -uDIST_ROOT $(LTINSTALL) $(TOPDIR)/$(LIBNAME)/$(LIBNAME).la > $(DIST_ROOT)$(PKG_LIB_DIR)/$(LIBNAME).la > + else > + INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) > + endif > +Index: xfsprogs-4.8.0/Makefile > +=== > +--- xfsprogs-4.8.0.orig/Makefile > xfsprogs-4.8.0/Makefile > +@@ -83,6 +83,8 @@ quota: libxcmd > + repair: libxlog libxcmd > + copy: libxlog > + mkfs: libxcmd > ++libxlog: libxfs > ++libxlog-install-dev: libxfs-install-dev > + > + ifeq ($(HAVE_BUILDDEFS), yes) > + include $(BUILDRULES) > +Index: xfsprogs-4.8.0/libhandle/Makefile > +=== > +--- xfsprogs-4.8.0.orig/libhandle/Makefile > xfsprogs-4.8.0/libhandle/Makefile > +@@ -24,7 +24,6 @@ default: ltdepend $(LTLIBRARY) > + include $(BUILDRULES) > + > + install: default > +-$(INSTALL_LTLIB) > + > + install-dev: default > + $(INSTALL_LTLIB_DEV) > diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb > b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb > index 9959f0d85..1032fb89b 100644 > --- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb > +++
[oe] [meta-oe][PATCH] pmbw: add recipe for ram benchmarks
This adds the Parallel Memory Bandwidth Benchmark tool to the layer. It consists of a collection of assembly routines for testing cache and memory access performance. It also contains a converter to generate gnuplot scripts for the results. Signed-off-by: Stefan Müller-Klieser--- meta-oe/recipes-benchmark/pmbw/pmbw_git.bb | 28 1 file changed, 28 insertions(+) create mode 100644 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb diff --git a/meta-oe/recipes-benchmark/pmbw/pmbw_git.bb b/meta-oe/recipes-benchmark/pmbw/pmbw_git.bb new file mode 100644 index 000..7a69395 --- /dev/null +++ b/meta-oe/recipes-benchmark/pmbw/pmbw_git.bb @@ -0,0 +1,28 @@ +SUMMERY = "Parallel Memory Bandwidth Measurement / Benchmark" +DESCRIPTION = "\ +The tool pmbw is a set of assembler routines to measure the parallel memory \ +(cache and RAM) bandwidth of modern multi-core machines." +HOMEPAGE = "http://panthema.net/2013/pmbw/; +SECTION = "benchmark/tests" +AUTHOR = "Timo Bingmann" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI = "git://github.com/bingmann/pmbw;protocol=https" + +PV = "0.6.2+git${SRCPV}" +SRCREV = "4a3b37728060a8aba06fc83f157a1965088d79d6" + +S = "${WORKDIR}/git" + +inherit autotools + +# the hand coded asm uses r11, which therefore cannot be used for storing +# the frame pointer when debugging on arm +SELECTED_OPTIMIZATION_remove_arm = "-fno-omit-frame-pointer" + +PACKAGES =+ "${PN}-stats2gnuplot" + +FILES_${PN}-stats2gnuplot = "${bindir}/stats2gnuplot" + +RRECOMMENDS_${PN} = "${PN}-stats2gnuplot" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH 00/11] samba: refresh pending patches
On 17.12.2016 18:33, akuster808 wrote: > > > On 12/16/2016 06:15 PM, Joe MacDonald wrote: >> As I mentioned earlier this week, I'm taking a stab at updating the samba >> patches from Andreas Oberritter that now have conflicts due to other >> changes queued up for samba. Quite a few of them actually applied cleanly >> after resolving earlier conflicts and the basic smoke tests seem to pass >> for me, but this definitely needs a bit of soak time in master-next and if >> you're around, Andreas, and can double-check my work on your patches, >> that'd be much appreciated. >> > > Are some of these changes appropriate for Morty? Not necessarily, but I'd consider commit bb2cbb9 (samba: Avoid timeout for nmbd if started offline with systemd), which was sent separately. Regards, Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel