* Some recipes from my work on HipHopVM
@ 2013-02-07 10:50 Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
` (9 more replies)
0 siblings, 10 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:50 UTC (permalink / raw)
To: openembedded-devel
Some time ago I started working on porting HipHopVM for AArch64
platform. My job was to identify and build all dependencies. Effect of
it is in this patchset.
I added them to meta-oe/recipes-support/ just to show them and get
suggestions where to move them. Some may be useful for people outside of
HHVM (which is 64bit only and (iirc) supports x86-64 now).
For most of them I will have updates during next months.
^ permalink raw reply [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 1/8] google-glog: added svn version
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
@ 2013-02-07 10:50 ` Marcin Juszkiewicz
2013-02-16 5:18 ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
` (8 subsequent siblings)
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:50 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/google-glog/google-glog_svn.bb | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 meta-oe/recipes-support/google-glog/google-glog_svn.bb
diff --git a/meta-oe/recipes-support/google-glog/google-glog_svn.bb b/meta-oe/recipes-support/google-glog/google-glog_svn.bb
new file mode 100644
index 0000000..b70aa82
--- /dev/null
+++ b/meta-oe/recipes-support/google-glog/google-glog_svn.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "The glog library implements application-level logging. This \
+library provides logging APIs based on C++-style streams and various helper \
+macros."
+HOMEPAGE = "https://code.google.com/p/google-glog/"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
+
+SRC_URI = "svn://google-glog.googlecode.com/svn/;module=trunk;protocol=http"
+
+SRCREV = "${AUTOREV}"
+
+PV = "0.3.2+svn${SRCPV}"
+
+S = "${WORKDIR}/trunk"
+
+inherit autotools pkgconfig
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
@ 2013-02-07 10:50 ` Marcin Juszkiewicz
2013-02-16 5:16 ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version Marcin Juszkiewicz
` (7 subsequent siblings)
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:50 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../recipes-support/tbb/tbb/cross-compile.patch | 25 +++
meta-oe/recipes-support/tbb/tbb/tbb.pc | 11 +
.../recipes-support/tbb/tbb/tbb41-aarch64.patch | 233 +++++++++++++++++++++
meta-oe/recipes-support/tbb/tbb_4.1.bb | 31 +++
4 files changed, 300 insertions(+)
create mode 100644 meta-oe/recipes-support/tbb/tbb/cross-compile.patch
create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb.pc
create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
create mode 100644 meta-oe/recipes-support/tbb/tbb_4.1.bb
diff --git a/meta-oe/recipes-support/tbb/tbb/cross-compile.patch b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
new file mode 100644
index 0000000..b970a37
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
@@ -0,0 +1,25 @@
+Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
+
+Upstream-Status: unsuitable
+---
+ build/linux.gcc.inc | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+--- tbb41_20121003oss.orig/build/linux.gcc.inc
++++ tbb41_20121003oss/build/linux.gcc.inc
+@@ -40,12 +40,13 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = -ldl
+
+ TBB_NOSTRICT = 1
+
+-CPLUS = g++
+-CONLY = gcc
++CPLUS = $(CXX)
++CONLY = $(CC)
++CPLUS_FLAGS = $(CXXFLAGS)
+ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS += -lpthread -lrt
+ LINK_FLAGS = -Wl,-rpath-link=.
+ C_FLAGS = $(CPLUS_FLAGS)
+ # gcc 4.4 and higher support -std=c++0x
diff --git a/meta-oe/recipes-support/tbb/tbb/tbb.pc b/meta-oe/recipes-support/tbb/tbb/tbb.pc
new file mode 100644
index 0000000..644b64f
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/tbb.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Threading Building Blocks
+Description: Intel's parallelism library for C++
+URL: http://www.threadingbuildingblocks.org/
+Version: 3.0+r018
+Libs: -L${libdir} -ltbb
+Cflags: -I${includedir}
diff --git a/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch b/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
new file mode 100644
index 0000000..3366f87
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
@@ -0,0 +1,233 @@
+Author: Leif Lindholm <leif.lindholm@linaro.org>
+
+Upstream-Status: not there yet
+
+https://bugs.launchpad.net/linaro-aarch64/+bug/1091353
+
+diff --git a/build/linux.inc b/build/linux.inc
+index bdad142..7db323c 100644
+--- a/build/linux.inc
++++ b/build/linux.inc
+@@ -104,6 +104,9 @@ endif
+ ifeq ($(arch),sparc)
+ def_prefix = lin64
+ endif
++ifeq ($(arch),aarch64)
++ def_prefix = lin64
++endif
+ ifeq (,$(def_prefix))
+ ifeq (64,$(findstring 64,$(arch)))
+ def_prefix = lin64
+diff --git a/include/tbb/machine/linux_aarch64.h b/include/tbb/machine/linux_aarch64.h
+new file mode 100644
+index 0000000..e3ebc36
+--- /dev/null
++++ b/include/tbb/machine/linux_aarch64.h
+@@ -0,0 +1,153 @@
++/*
++ Copyright 2013 Linaro All Rights Reserved.
++
++ This file is part of Threading Building Blocks.
++
++ Threading Building Blocks is free software; you can redistribute it
++ and/or modify it under the terms of the GNU General Public License
++ version 2 as published by the Free Software Foundation.
++
++ Threading Building Blocks is distributed in the hope that it will be
++ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
++ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
++
++ You should have received a copy of the GNU General Public License
++ along with Threading Building Blocks; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
++
++ As a special exception, you may use this file as part of a free software
++ library without restriction. Specifically, if other files instantiate
++ templates or use macros or inline functions from this file, or you compile
++ this file and link it with other files to produce an executable, this
++ file does not by itself cause the resulting executable to be covered by
++ the GNU General Public License. This exception does not however
++ invalidate any other reasons why the executable file might be covered by
++ the GNU General Public License.
++*/
++
++/*
++ This is the TBB implementation for the ARM AArch64 architecture.
++*/
++
++#ifndef __TBB_machine_H
++#error Do not include this file directly; include tbb_machine.h instead
++#endif
++
++#if !(__aarch64__)
++#error Threading Building Blocks AArch64 port requires an AArch64 architecture.
++#endif
++
++#include <sys/param.h>
++#include <unistd.h>
++
++#define __TBB_WORDSIZE 8
++
++#ifndef __BYTE_ORDER__
++ // Hopefully endianness can be validly determined at runtime.
++ // This may silently fail in some embedded systems with page-specific endianness.
++#elif __BYTE_ORDER__==__ORDER_BIG_ENDIAN__
++ #define __TBB_BIG_ENDIAN 1
++#elif __BYTE_ORDER__==__ORDER_LITTLE_ENDIAN__
++ #define __TBB_BIG_ENDIAN 0
++#else
++ #define __TBB_BIG_ENDIAN -1 // not currently supported
++#endif
++
++
++#define __TBB_compiler_fence() __asm__ __volatile__("": : :"memory")
++#define __TBB_control_consistency_helper() __TBB_compiler_fence()
++
++#define __TBB_aarch64_inner_shareable_barrier() __asm__ __volatile__("dmb ish": : :"memory")
++#define __TBB_acquire_consistency_helper() __TBB_aarch64_inner_shareable_barrier()
++#define __TBB_release_consistency_helper() __TBB_aarch64_inner_shareable_barrier()
++#define __TBB_full_memory_fence() __TBB_aarch64_inner_shareable_barrier()
++
++//--------------------------------------------------
++// Compare and swap
++//--------------------------------------------------
++
++/**
++ * Atomic CAS for 32 bit values, if *ptr==comparand, then *ptr=value,
++ * returns *ptr
++ *
++ * @param ptr pointer to value in memory to be swapped with value
++ * if *ptr==comparand
++ * @param value value to assign *ptr to if *ptr==comparand
++ * @param comparand value to compare with *ptr
++ * @return value originally in memory at ptr, regardless of success
++*/
++static inline int32_t __TBB_machine_cmpswp4(volatile void *ptr, int32_t value, int32_t comparand )
++{
++ int32_t oldval, res;
++
++ do {
++ __asm__ __volatile__(
++ " ldxr %w1, [%2]\n"
++ " mov %w0, #0\n"
++ " cmp %w1, %w3\n"
++ " b.ne 1f\n"
++ " stxr %w0, %w4, [%2]\n"
++ "1:\n"
++ : "=&r" (res), "=&r" (oldval)
++ : "r" (ptr), "Ir" (value), "r" (comparand)
++ : "cc");
++ } while (res);
++
++ return oldval;
++}
++
++/**
++ * Atomic CAS for 64 bit values, if *ptr==comparand, then *ptr=value,
++ * returns *ptr
++ *
++ * @param ptr pointer to value in memory to be swapped with value
++ * if *ptr==comparand
++ * @param value value to assign *ptr to if *ptr==comparand
++ * @param comparand value to compare with *ptr
++ * @return value originally in memory at ptr, regardless of success
++ */
++static inline int64_t __TBB_machine_cmpswp8(volatile void *ptr, int64_t value, int64_t comparand )
++{
++ int64_t oldval;
++ int64_t res;
++
++ do {
++ __asm__ __volatile__(
++ " ldxr %1, [%2]\n"
++ " mov %w0, #0\n"
++ " cmp %1, %3\n"
++ " b.ne 1f\n"
++ " stxr %w0, %4, [%2]\n"
++ "1:\n"
++ : "=&r" (res), "=&r" (oldval)
++ : "r" (ptr), "Ir" (value), "r" (comparand)
++ : "cc");
++ } while (res);
++
++ return oldval;
++}
++
++inline void __TBB_machine_pause (int32_t delay )
++{
++ while(delay>0)
++ {
++ __TBB_compiler_fence();
++ delay--;
++ }
++}
++
++// Machine specific atomic operations
++
++#define __TBB_CompareAndSwap4(P,V,C) __TBB_machine_cmpswp4(P,V,C)
++#define __TBB_CompareAndSwap8(P,V,C) __TBB_machine_cmpswp8(P,V,C)
++//#define __TBB_CompareAndSwapW(P,V,C) __TBB_machine_cmpswp4(P,V,C)
++#define __TBB_Pause(V) __TBB_machine_pause(V)
++
++// Use generics for some things
++#define __TBB_USE_GENERIC_PART_WORD_CAS 1
++#define __TBB_USE_GENERIC_FETCH_ADD 1
++#define __TBB_USE_GENERIC_FETCH_STORE 1
++#define __TBB_USE_GENERIC_HALF_FENCED_LOAD_STORE 1
++#define __TBB_USE_GENERIC_RELAXED_LOAD_STORE 1
++#define __TBB_USE_GENERIC_SEQUENTIAL_CONSISTENCY_LOAD_STORE 1
+diff --git a/include/tbb/tbb_machine.h b/include/tbb/tbb_machine.h
+index 752062e..5342877 100644
+--- a/include/tbb/tbb_machine.h
++++ b/include/tbb/tbb_machine.h
+@@ -223,6 +223,8 @@ template<> struct atomic_selector<8> {
+ #include "machine/linux_ia64.h"
+ #elif __powerpc__
+ #include "machine/mac_ppc.h"
++ #elif __aarch64__
++ #include "machine/linux_aarch64.h"
+ #elif __TBB_GCC_BUILTIN_ATOMICS_PRESENT
+ #include "machine/gcc_generic.h"
+ #endif
+@@ -391,10 +393,12 @@ void spin_wait_until_eq( const volatile T& location, const U value ) {
+ // - The operation assumes that the architecture consistently uses either little-endian or big-endian:
+ // it does not support mixed-endian or page-specific bi-endian architectures.
+ // This function is the only use of __TBB_BIG_ENDIAN.
+-#if (__TBB_BIG_ENDIAN!=-1)
++#if (__TBB_BIG_ENDIAN==-1)
+ #if ( __TBB_USE_GENERIC_PART_WORD_CAS)
+ #error generic implementation of part-word CAS was explicitly disabled for this configuration
+ #endif
++#endif
++
+ template<typename T>
+ inline T __TBB_MaskedCompareAndSwap (volatile T * const ptr, const T value, const T comparand ) {
+ struct endianness{ static bool is_big_endian(){
+@@ -432,7 +436,6 @@ inline T __TBB_MaskedCompareAndSwap (volatile T * const ptr, const T value, cons
+ else continue; // CAS failed but the bits of interest left unchanged
+ }
+ }
+-#endif
+ template<size_t S, typename T>
+ inline T __TBB_CompareAndSwapGeneric (volatile void *ptr, T value, T comparand );
+
+diff --git a/src/tbbmalloc/frontend.cpp b/src/tbbmalloc/frontend.cpp
+index 4e81870..ddac9e0 100644
+--- a/src/tbbmalloc/frontend.cpp
++++ b/src/tbbmalloc/frontend.cpp
+@@ -653,6 +653,14 @@ static inline unsigned int highestBitPos(unsigned int n)
+ # error highestBitPos() not implemented for this platform
+ # endif
+
++#elif __aarch64__
++ __asm__ __volatile__
++ (
++ "clz %0, %1\n"
++ "mov %1, %2\n"
++ "sub %0, %1, %0\n"
++ :"=&r" (pos), "=&r" (n) :"I" (31)
++ );
+ #else
+ static unsigned int bsr[16] = {0/*N/A*/,6,7,7,8,8,8,8,9,9,9,9,9,9,9,9};
+ pos = bsr[ n>>6 ];
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb
new file mode 100644
index 0000000..e67e755
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Parallelism library for C++ - runtime files \
+ TBB is a library that helps you leverage multi-core processor \
+ performance without having to be a threading expert. It represents a \
+ higher-level, task-based parallelism that abstracts platform details \
+ and threading mechanism for performance and scalability."
+HOMEPAGE = "http://threadingbuildingblocks.org/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1"
+PRDATE = "20121003"
+
+SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz \
+ file://tbb41-aarch64.patch \
+ file://cross-compile.patch \
+ file://tbb.pc"
+
+S = "${WORKDIR}/tbb41_${PRDATE}oss/"
+
+SRC_URI[md5sum] = "2a684fefb855d2d0318d1ef09afa75ff"
+SRC_URI[sha256sum] = "5383727b9582a54cf4c4adbf22186b70e8eba276fcd3be81d746a937c5b47afc"
+
+do_compile() {
+ oe_runmake compiler=gcc arch=aarch64 runtime=cc4.7_libc2.17_kernel3.8 tbb tbbmalloc
+}
+
+do_install() {
+ install -d ${D}${includedir} ${D}${libdir}/pkgconfig
+ rm ${S}/include/tbb/index.html -f
+ cp -a ${S}/include/tbb ${D}${includedir}
+ install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir}
+ install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig
+}
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
@ 2013-02-07 10:50 ` Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
` (6 subsequent siblings)
9 siblings, 0 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:50 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/onig/onig_5.9.3.bb | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 meta-oe/recipes-support/onig/onig_5.9.3.bb
diff --git a/meta-oe/recipes-support/onig/onig_5.9.3.bb b/meta-oe/recipes-support/onig/onig_5.9.3.bb
new file mode 100644
index 0000000..230e585
--- /dev/null
+++ b/meta-oe/recipes-support/onig/onig_5.9.3.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Regular expressions library. The characteristics of this \
+library is that different character encoding for every regular expression \
+object can be specified."
+HOMEPAGE = "http://www.geocities.jp/kosako3/oniguruma/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0d4861b5bc0c392a5aa90d9d76ebd86f"
+
+SRC_URI = "http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0d4eda2066d3c92970842a6790ce897a"
+SRC_URI[sha256sum] = "c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a"
+
+DEPENDS = "libevent"
+
+inherit autotools binconfig
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 4/8] memcached: add 1.4.15
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (2 preceding siblings ...)
2013-02-07 10:50 ` [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version Marcin Juszkiewicz
@ 2013-02-07 10:50 ` Marcin Juszkiewicz
2013-02-18 22:52 ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
` (5 subsequent siblings)
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:50 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/memcached/memcached_1.4.15.bb | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 meta-oe/recipes-support/memcached/memcached_1.4.15.bb
diff --git a/meta-oe/recipes-support/memcached/memcached_1.4.15.bb b/meta-oe/recipes-support/memcached/memcached_1.4.15.bb
new file mode 100644
index 0000000..b6d436e
--- /dev/null
+++ b/meta-oe/recipes-support/memcached/memcached_1.4.15.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Free & open source, high-performance, distributed memory object \
+caching system, generic in nature, but intended for use in speeding up dynamic \
+web applications by alleviating database load."
+HOMEPAGE = "http://memcached.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff"
+
+SRC_URI = "http://memcached.googlecode.com/files/memcached-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "36ea966f5a29655be1746bf4949f7f69"
+SRC_URI[sha256sum] = "169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4"
+
+DEPENDS = "libevent"
+
+inherit autotools
+
+do_configure_prepend_aarch64() {
+ export ac_cv_c_endian=little
+}
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (3 preceding siblings ...)
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
@ 2013-02-07 10:51 ` Marcin Juszkiewicz
2013-02-16 5:21 ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
` (4 subsequent siblings)
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:51 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/libunwind/files/aarch64.patch | 19 +++++++++++++++++++
meta-oe/recipes-support/libunwind/libunwind.inc | 12 ++++++++++++
meta-oe/recipes-support/libunwind/libunwind_1.1.bb | 6 ++++++
3 files changed, 37 insertions(+)
create mode 100644 meta-oe/recipes-support/libunwind/files/aarch64.patch
create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb
diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
new file mode 100644
index 0000000..9ea8d83
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
@@ -0,0 +1,19 @@
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- libunwind-1.1.orig/configure.ac
++++ libunwind-1.1/configure.ac
+@@ -135,11 +135,11 @@ AM_CONDITIONAL(OS_HPUX, expr x$target_os
+ AM_CONDITIONAL(OS_FREEBSD, expr x$target_os : xfreebsd >/dev/null)
+
+ AC_MSG_CHECKING([for ELF helper width])
+ case "${target_arch}" in
+ (arm|hppa|ppc32|x86|sh) use_elf32=yes; AC_MSG_RESULT([32]);;
+-(ia64|ppc64|x86_64) use_elf64=yes; AC_MSG_RESULT([64]);;
++(ia64|ppc64|x86_64|aarch64) use_elf64=yes; AC_MSG_RESULT([64]);;
+ (mips) use_elfxx=yes; AC_MSG_RESULT([xx]);;
+ *) AC_MSG_ERROR([Unknown ELF target: ${target_arch}])
+ esac
+ AM_CONDITIONAL(USE_ELF32, [test x$use_elf32 = xyes])
+ AM_CONDITIONAL(USE_ELF64, [test x$use_elf64 = xyes])
diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc
new file mode 100644
index 0000000..f028766
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/libunwind.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+HOMEPAGE = "http://www.nongnu.org/libunwind"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF_arm = "--enable-debug-frame"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
new file mode 100644
index 0000000..dd6b63c
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
@@ -0,0 +1,6 @@
+require libunwind.inc
+
+SRC_URI += "file://aarch64.patch"
+
+SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
+SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (4 preceding siblings ...)
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
@ 2013-02-07 10:51 ` Marcin Juszkiewicz
2013-02-15 7:11 ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
` (3 subsequent siblings)
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:51 UTC (permalink / raw)
To: openembedded-devel
1.0.15 is latest
1.0.7 is required by HipHopVM
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/libmemcached/libmemcached.inc | 10 ++++++++++
meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb | 6 ++++++
meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb | 8 ++++++++
meta-oe/recipes-support/libunwind/files/aarch64.patch | 8 ++++++++
4 files changed, 32 insertions(+)
create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached.inc
create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
diff --git a/meta-oe/recipes-support/libmemcached/libmemcached.inc b/meta-oe/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 0000000..448a15d
--- /dev/null
+++ b/meta-oe/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
+DEPENDS = "libevent util-linux"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
+
+SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
+
+TARGET_LDFLAGS += "-luuid"
+
+inherit autotools gettext pkgconfig
diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 0000000..18232b4
--- /dev/null
+++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += "file://crosscompile.patch"
+
+SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
+SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 0000000..0aa3050
--- /dev/null
+++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
+SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
+
+do_configure_prepend_aarch64() {
+ export ac_cv_c_endian=little
+}
diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
index 9ea8d83..bb19747 100644
--- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
+++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
@@ -1,3 +1,11 @@
+Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
+
+Upstream-Status: unsuitable
+
+We need to port it for AArch64 first. This patch just makes it die during
+compilation.
+
+https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (5 preceding siblings ...)
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
@ 2013-02-07 10:51 ` Marcin Juszkiewicz
2013-02-16 5:17 ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
` (2 subsequent siblings)
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:51 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../recipes-support/libmcrypt/libmcrypt_2.5.8.bb | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
diff --git a/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
new file mode 100644
index 0000000..0cbe189
--- /dev/null
+++ b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Replacement for the old crypt() package and crypt(1) command, with extensions."
+HOMEPAGE = "http://mcrypt.sourceforge.net/"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0821830d930a86a5c69110837c55b7da"
+SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e"
+
+inherit autotools gettext binconfig
+
+do_configure() {
+ gnu-configize --force
+# libtoolize --force --copy
+ autoconf
+ oe_runconf
+}
+
+do_install_append() {
+ rm ${D}${libdir}/libmcrypt -r
+}
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 8/8] google-perftools: add 2.0
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (6 preceding siblings ...)
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
@ 2013-02-07 10:51 ` Marcin Juszkiewicz
2013-02-16 5:23 ` Martin Jansa
2013-02-08 9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
9 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-07 10:51 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/google-perftools/gperftools_2.0.bb | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
diff --git a/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
new file mode 100644
index 0000000..1717752
--- /dev/null
+++ b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools"
+HOMEPAGE = "http://code.google.com/p/gperftools/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz"
+
+SRC_URI[md5sum] = "13f6e8961bc6a26749783137995786b6"
+SRC_URI[sha256sum] = "7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080"
+
+inherit autotools
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: Some recipes from my work on HipHopVM
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (7 preceding siblings ...)
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
@ 2013-02-08 9:34 ` Paul Eggleton
2013-02-08 17:16 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
9 siblings, 1 reply; 32+ messages in thread
From: Paul Eggleton @ 2013-02-08 9:34 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-devel
On Thursday 07 February 2013 11:50:55 Marcin Juszkiewicz wrote:
> Some time ago I started working on porting HipHopVM for AArch64
> platform. My job was to identify and build all dependencies. Effect of
> it is in this patchset.
>
> I added them to meta-oe/recipes-support/ just to show them and get
> suggestions where to move them. Some may be useful for people outside of
> HHVM (which is 64bit only and (iirc) supports x86-64 now).
>
> For most of them I will have updates during next months.
Thanks. I'm willing to be contradicted, but I would think (lib)memcached might
be best placed in meta-webserver.
Also, it would be great if generally people could start including SUMMARY as
well as DESCRIPTION in their recipes if they aren't already doing so.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 32+ messages in thread
* [meta-oe][PATCH] cyrus-sasl2: add 2.1.26
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
` (8 preceding siblings ...)
2013-02-08 9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
@ 2013-02-08 17:06 ` Marcin Juszkiewicz
2013-02-08 17:13 ` Paul Eggleton
2013-02-18 22:55 ` Martin Jansa
9 siblings, 2 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-08 17:06 UTC (permalink / raw)
To: openembedded-devel
I took recipe from OE classic, updated, cleaned and got it build. I use
it only as build dependency - did not checked binaries from ${PN}-bin.
There are RPATH problems to solve:
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/saslpasswd2
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/pluginviewer
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/sasldblistusers2
WARNING: QA Issue: package cyrus-sasl contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl/usr/lib/sasl2/libsasldb.so.3.0.0
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../cyrus-sasl/cyrus-sasl_2.1.26.bb | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
new file mode 100644
index 0000000..44336f0
--- /dev/null
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Generic client/server library for SASL authentication."
+SECTION = "console/network"
+DEPENDS = "openssl virtual/db"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
+
+SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz "
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--with-dblib=berkeley \
+ --with-bdb-libdir=${STAGING_LIBDIR} \
+ --with-bdb-incdir=${STAGING_INCDIR} \
+ --without-pam --without-opie --without-des"
+
+do_configure_prepend () {
+ rm -f acinclude.m4 config/libtool.m4
+}
+
+do_compile_prepend () {
+ cd include
+ ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} makemd5.c -o makemd5
+ touch makemd5.o makemd5.lo makemd5
+ cd ..
+}
+
+pkg_postinst_${PN}-bin () {
+ grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail -g "Cyrus sasl" cyrus
+ echo "cyrus" | saslpasswd2 -p -c cyrus
+ chgrp mail /etc/sasldb2
+}
+
+SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425"
+SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3"
+
+PACKAGES =+ "${PN}-bin"
+
+FILES_${PN} += "${libdir}/sasl2/*.so.*"
+FILES_${PN}-bin += "${bindir}"
+FILES_${PN}-dev += "${libdir}/sasl2/*.so ${libdir}/sasl2/*.la"
+FILES_${PN}-dbg += "${libdir}/sasl2/.debug"
+FILES_${PN}-staticdev += "${libdir}/sasl2/*.a"
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH] cyrus-sasl2: add 2.1.26
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
@ 2013-02-08 17:13 ` Paul Eggleton
2013-02-08 17:27 ` Marcin Juszkiewicz
2013-02-18 22:55 ` Martin Jansa
1 sibling, 1 reply; 32+ messages in thread
From: Paul Eggleton @ 2013-02-08 17:13 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-devel
On Friday 08 February 2013 18:06:19 Marcin Juszkiewicz wrote:
> I took recipe from OE classic, updated, cleaned and got it build. I use
> it only as build dependency - did not checked binaries from ${PN}-bin.
FYI there is a cyrus-sasl 2.1.19 recipe in meta-kde; not sure how that
compares with this one (and clearly we would prefer to have it in a more
appropriate layer than meta-kde).
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-08 9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
@ 2013-02-08 17:16 ` Marcin Juszkiewicz
2013-02-08 17:16 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-08 17:16 UTC (permalink / raw)
To: openembedded-devel
1.0.15 is latest
1.0.7 is required by HipHopVM
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-networking/recipes-support/libmemcached/libmemcached.inc | 10 ++++++++++
.../recipes-support/libmemcached/libmemcached_1.0.15.bb | 6 ++++++
.../recipes-support/libmemcached/libmemcached_1.0.7.bb | 8 ++++++++
3 files changed, 24 insertions(+)
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached.inc
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 0000000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
+DEPENDS = "libevent util-linux"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
+
+SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
+
+TARGET_LDFLAGS += "-luuid"
+
+inherit autotools gettext pkgconfig
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 0000000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += "file://crosscompile.patch"
+
+SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
+SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 0000000..0aa3050
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
+SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
+
+do_configure_prepend_aarch64() {
+ export ac_cv_c_endian=little
+}
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 4/8] memcached: add 1.4.15
2013-02-08 17:16 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
@ 2013-02-08 17:16 ` Marcin Juszkiewicz
2013-02-24 7:53 ` Khem Raj
0 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-08 17:16 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../recipes-support/memcached/memcached_1.4.15.bb | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 meta-networking/recipes-support/memcached/memcached_1.4.15.bb
diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.15.bb b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
new file mode 100644
index 0000000..b6d436e
--- /dev/null
+++ b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Free & open source, high-performance, distributed memory object \
+caching system, generic in nature, but intended for use in speeding up dynamic \
+web applications by alleviating database load."
+HOMEPAGE = "http://memcached.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff"
+
+SRC_URI = "http://memcached.googlecode.com/files/memcached-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "36ea966f5a29655be1746bf4949f7f69"
+SRC_URI[sha256sum] = "169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4"
+
+DEPENDS = "libevent"
+
+inherit autotools
+
+do_configure_prepend_aarch64() {
+ export ac_cv_c_endian=little
+}
--
1.8.0
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH] cyrus-sasl2: add 2.1.26
2013-02-08 17:13 ` Paul Eggleton
@ 2013-02-08 17:27 ` Marcin Juszkiewicz
0 siblings, 0 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-08 17:27 UTC (permalink / raw)
To: openembedded-devel
W dniu 08.02.2013 18:13, Paul Eggleton pisze:
> On Friday 08 February 2013 18:06:19 Marcin Juszkiewicz wrote:
>> I took recipe from OE classic, updated, cleaned and got it build. I use
>> it only as build dependency - did not checked binaries from ${PN}-bin.
>
> FYI there is a cyrus-sasl 2.1.19 recipe in meta-kde; not sure how that
> compares with this one (and clearly we would prefer to have it in a more
> appropriate layer than meta-kde).
Thanks for info.
2.1.19 from meta-kde does not generate packages (-dev and -dbg are done
but empty). They keep patches from OE classic and add new one but those
are not needed in 2.1.26 cause upstream supports db5 now.
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
@ 2013-02-15 7:11 ` Martin Jansa
2013-02-15 11:46 ` [meta-oe][PATCH] " Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Martin Jansa @ 2013-02-15 7:11 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3737 bytes --]
On Thu, Feb 07, 2013 at 11:51:01AM +0100, Marcin Juszkiewicz wrote:
> 1.0.15 is latest
> 1.0.7 is required by HipHopVM
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta-oe/recipes-support/libmemcached/libmemcached.inc | 10 ++++++++++
> meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb | 6 ++++++
> meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb | 8 ++++++++
> meta-oe/recipes-support/libunwind/files/aarch64.patch | 8 ++++++++
> 4 files changed, 32 insertions(+)
> create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached.inc
> create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
> create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
>
> diff --git a/meta-oe/recipes-support/libmemcached/libmemcached.inc b/meta-oe/recipes-support/libmemcached/libmemcached.inc
> new file mode 100644
> index 0000000..448a15d
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmemcached/libmemcached.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
> +DEPENDS = "libevent util-linux"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
> +
> +SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
> +
> +TARGET_LDFLAGS += "-luuid"
> +
> +inherit autotools gettext pkgconfig
> diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
> new file mode 100644
> index 0000000..18232b4
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
> @@ -0,0 +1,6 @@
> +require libmemcached.inc
> +
> +SRC_URI += "file://crosscompile.patch"
Where do you hide crosscompile.patch? Looks like older/newer name for
aarch64.patch which is not used in recipe?
WARNING: Unable to get checksum for libmemcached SRC_URI entry
crosscompile.patch: file could not be found
> +
> +SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
> +SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
> diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
> new file mode 100644
> index 0000000..0aa3050
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
> @@ -0,0 +1,8 @@
> +require libmemcached.inc
> +
> +SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
> +SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
> +
> +do_configure_prepend_aarch64() {
> + export ac_cv_c_endian=little
> +}
> diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> index 9ea8d83..bb19747 100644
> --- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
> +++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> @@ -1,3 +1,11 @@
> +Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> +
> +Upstream-Status: unsuitable
> +
> +We need to port it for AArch64 first. This patch just makes it die during
> +compilation.
> +
> +https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* [meta-oe][PATCH] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-15 7:11 ` Martin Jansa
@ 2013-02-15 11:46 ` Marcin Juszkiewicz
2013-02-15 21:40 ` Martin Jansa
0 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-15 11:46 UTC (permalink / raw)
To: openembedded-devel
1.0.15 is latest
1.0.7 is required by HipHopVM
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../libmemcached/files/crosscompile.patch | 30 ++++++++++++++++++++++
.../recipes-support/libmemcached/libmemcached.inc | 10 ++++++++
.../libmemcached/libmemcached_1.0.15.bb | 6 +++++
.../libmemcached/libmemcached_1.0.7.bb | 8 ++++++
.../recipes-support/libunwind/files/aarch64.patch | 8 ++++++
5 files changed, 62 insertions(+)
create mode 100644 meta-networking/recipes-support/libmemcached/files/crosscompile.patch
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached.inc
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
diff --git a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
new file mode 100644
index 0000000..63511bf
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
@@ -0,0 +1,30 @@
+ libmemcached/backtrace.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
++++ libmemcached-1.0.15/libmemcached/backtrace.cc
+@@ -75,10 +75,11 @@ void custom_backtrace(void)
+ {
+ for (int x= 0; x < stack_frames; x++)
+ {
+ bool was_demangled= false;
+
++#if USE_DEMANGLE == 1
+ if (USE_DEMANGLE)
+ {
+ #ifdef HAVE_DLFCN_H
+ Dl_info dlinfo;
+ if (dladdr(backtrace_buffer[x], &dlinfo))
+@@ -107,11 +108,11 @@ void custom_backtrace(void)
+ dlinfo.dli_fname);
+ }
+ }
+ #endif
+ }
+-
++#endif
+ if (was_demangled == false)
+ {
+ fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]);
+ }
+ }
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 0000000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
+DEPENDS = "libevent util-linux"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
+
+SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
+
+TARGET_LDFLAGS += "-luuid"
+
+inherit autotools gettext pkgconfig
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 0000000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += "file://crosscompile.patch"
+
+SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
+SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 0000000..0aa3050
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
+SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
+
+do_configure_prepend_aarch64() {
+ export ac_cv_c_endian=little
+}
diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
index 9ea8d83..bb19747 100644
--- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
+++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
@@ -1,3 +1,11 @@
+Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
+
+Upstream-Status: unsuitable
+
+We need to port it for AArch64 first. This patch just makes it die during
+compilation.
+
+https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-15 11:46 ` [meta-oe][PATCH] " Marcin Juszkiewicz
@ 2013-02-15 21:40 ` Martin Jansa
2013-02-18 7:52 ` [meta-oe][PATCH 8/8] " Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Martin Jansa @ 2013-02-15 21:40 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5019 bytes --]
On Fri, Feb 15, 2013 at 12:46:05PM +0100, Marcin Juszkiewicz wrote:
> 1.0.15 is latest
> 1.0.7 is required by HipHopVM
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> .../libmemcached/files/crosscompile.patch | 30 ++++++++++++++++++++++
> .../recipes-support/libmemcached/libmemcached.inc | 10 ++++++++
> .../libmemcached/libmemcached_1.0.15.bb | 6 +++++
> .../libmemcached/libmemcached_1.0.7.bb | 8 ++++++
> .../recipes-support/libunwind/files/aarch64.patch | 8 ++++++
does this one belong here?
> 5 files changed, 62 insertions(+)
> create mode 100644 meta-networking/recipes-support/libmemcached/files/crosscompile.patch
> create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached.inc
> create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
> create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
>
> diff --git a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
> new file mode 100644
> index 0000000..63511bf
> --- /dev/null
> +++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
> @@ -0,0 +1,30 @@
> + libmemcached/backtrace.cc | 3 ++-
> + 1 file changed, 2 insertions(+), 1 deletion(-)
> +
> +--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
> ++++ libmemcached-1.0.15/libmemcached/backtrace.cc
> +@@ -75,10 +75,11 @@ void custom_backtrace(void)
> + {
> + for (int x= 0; x < stack_frames; x++)
> + {
> + bool was_demangled= false;
> +
> ++#if USE_DEMANGLE == 1
> + if (USE_DEMANGLE)
> + {
> + #ifdef HAVE_DLFCN_H
> + Dl_info dlinfo;
> + if (dladdr(backtrace_buffer[x], &dlinfo))
> +@@ -107,11 +108,11 @@ void custom_backtrace(void)
> + dlinfo.dli_fname);
> + }
> + }
> + #endif
> + }
> +-
> ++#endif
> + if (was_demangled == false)
> + {
> + fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]);
> + }
> + }
> diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc
> new file mode 100644
> index 0000000..448a15d
> --- /dev/null
> +++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
> +DEPENDS = "libevent util-linux"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
> +
> +SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
> +
> +TARGET_LDFLAGS += "-luuid"
> +
> +inherit autotools gettext pkgconfig
> diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
> new file mode 100644
> index 0000000..18232b4
> --- /dev/null
> +++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
> @@ -0,0 +1,6 @@
> +require libmemcached.inc
> +
> +SRC_URI += "file://crosscompile.patch"
> +
> +SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
> +SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
> diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
> new file mode 100644
> index 0000000..0aa3050
> --- /dev/null
> +++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
> @@ -0,0 +1,8 @@
> +require libmemcached.inc
> +
> +SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
> +SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
> +
> +do_configure_prepend_aarch64() {
> + export ac_cv_c_endian=little
> +}
> diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> index 9ea8d83..bb19747 100644
> --- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
> +++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> @@ -1,3 +1,11 @@
> +Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> +
> +Upstream-Status: unsuitable
> +
> +We need to port it for AArch64 first. This patch just makes it die during
> +compilation.
> +
> +https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> --
> 1.8.1.2
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
@ 2013-02-16 5:16 ` Martin Jansa
0 siblings, 0 replies; 32+ messages in thread
From: Martin Jansa @ 2013-02-16 5:16 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 14190 bytes --]
On Thu, Feb 07, 2013 at 11:50:57AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> .../recipes-support/tbb/tbb/cross-compile.patch | 25 +++
> meta-oe/recipes-support/tbb/tbb/tbb.pc | 11 +
> .../recipes-support/tbb/tbb/tbb41-aarch64.patch | 233 +++++++++++++++++++++
> meta-oe/recipes-support/tbb/tbb_4.1.bb | 31 +++
> 4 files changed, 300 insertions(+)
> create mode 100644 meta-oe/recipes-support/tbb/tbb/cross-compile.patch
> create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb.pc
> create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
> create mode 100644 meta-oe/recipes-support/tbb/tbb_4.1.bb
Fails to fetch:
ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_20121003oss_src.tgz:
2013-02-15 13:46:41 ERROR 404: Not Found.
ERROR: Function failed: Fetcher failure for URL:
'http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_20121003oss_src.tgz'.
Unable to fetch URL from any source.
complete logs:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130215_060633.log/
>
> diff --git a/meta-oe/recipes-support/tbb/tbb/cross-compile.patch b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
> new file mode 100644
> index 0000000..b970a37
> --- /dev/null
> +++ b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
> @@ -0,0 +1,25 @@
> +Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> +
> +Upstream-Status: unsuitable
> +---
> + build/linux.gcc.inc | 5 +++--
> + 1 file changed, 3 insertions(+), 2 deletions(-)
> +
> +--- tbb41_20121003oss.orig/build/linux.gcc.inc
> ++++ tbb41_20121003oss/build/linux.gcc.inc
> +@@ -40,12 +40,13 @@ DYLIB_KEY = -shared
> + EXPORT_KEY = -Wl,--version-script,
> + LIBDL = -ldl
> +
> + TBB_NOSTRICT = 1
> +
> +-CPLUS = g++
> +-CONLY = gcc
> ++CPLUS = $(CXX)
> ++CONLY = $(CC)
> ++CPLUS_FLAGS = $(CXXFLAGS)
> + LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
> + LIBS += -lpthread -lrt
> + LINK_FLAGS = -Wl,-rpath-link=.
> + C_FLAGS = $(CPLUS_FLAGS)
> + # gcc 4.4 and higher support -std=c++0x
> diff --git a/meta-oe/recipes-support/tbb/tbb/tbb.pc b/meta-oe/recipes-support/tbb/tbb/tbb.pc
> new file mode 100644
> index 0000000..644b64f
> --- /dev/null
> +++ b/meta-oe/recipes-support/tbb/tbb/tbb.pc
> @@ -0,0 +1,11 @@
> +prefix=/usr
> +exec_prefix=${prefix}
> +libdir=${exec_prefix}/lib
> +includedir=${prefix}/include
> +
> +Name: Threading Building Blocks
> +Description: Intel's parallelism library for C++
> +URL: http://www.threadingbuildingblocks.org/
> +Version: 3.0+r018
> +Libs: -L${libdir} -ltbb
> +Cflags: -I${includedir}
> diff --git a/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch b/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
> new file mode 100644
> index 0000000..3366f87
> --- /dev/null
> +++ b/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
> @@ -0,0 +1,233 @@
> +Author: Leif Lindholm <leif.lindholm@linaro.org>
> +
> +Upstream-Status: not there yet
> +
> +https://bugs.launchpad.net/linaro-aarch64/+bug/1091353
> +
> +diff --git a/build/linux.inc b/build/linux.inc
> +index bdad142..7db323c 100644
> +--- a/build/linux.inc
> ++++ b/build/linux.inc
> +@@ -104,6 +104,9 @@ endif
> + ifeq ($(arch),sparc)
> + def_prefix = lin64
> + endif
> ++ifeq ($(arch),aarch64)
> ++ def_prefix = lin64
> ++endif
> + ifeq (,$(def_prefix))
> + ifeq (64,$(findstring 64,$(arch)))
> + def_prefix = lin64
> +diff --git a/include/tbb/machine/linux_aarch64.h b/include/tbb/machine/linux_aarch64.h
> +new file mode 100644
> +index 0000000..e3ebc36
> +--- /dev/null
> ++++ b/include/tbb/machine/linux_aarch64.h
> +@@ -0,0 +1,153 @@
> ++/*
> ++ Copyright 2013 Linaro All Rights Reserved.
> ++
> ++ This file is part of Threading Building Blocks.
> ++
> ++ Threading Building Blocks is free software; you can redistribute it
> ++ and/or modify it under the terms of the GNU General Public License
> ++ version 2 as published by the Free Software Foundation.
> ++
> ++ Threading Building Blocks is distributed in the hope that it will be
> ++ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> ++ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> ++ GNU General Public License for more details.
> ++
> ++ You should have received a copy of the GNU General Public License
> ++ along with Threading Building Blocks; if not, write to the Free Software
> ++ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
> ++
> ++ As a special exception, you may use this file as part of a free software
> ++ library without restriction. Specifically, if other files instantiate
> ++ templates or use macros or inline functions from this file, or you compile
> ++ this file and link it with other files to produce an executable, this
> ++ file does not by itself cause the resulting executable to be covered by
> ++ the GNU General Public License. This exception does not however
> ++ invalidate any other reasons why the executable file might be covered by
> ++ the GNU General Public License.
> ++*/
> ++
> ++/*
> ++ This is the TBB implementation for the ARM AArch64 architecture.
> ++*/
> ++
> ++#ifndef __TBB_machine_H
> ++#error Do not include this file directly; include tbb_machine.h instead
> ++#endif
> ++
> ++#if !(__aarch64__)
> ++#error Threading Building Blocks AArch64 port requires an AArch64 architecture.
> ++#endif
> ++
> ++#include <sys/param.h>
> ++#include <unistd.h>
> ++
> ++#define __TBB_WORDSIZE 8
> ++
> ++#ifndef __BYTE_ORDER__
> ++ // Hopefully endianness can be validly determined at runtime.
> ++ // This may silently fail in some embedded systems with page-specific endianness.
> ++#elif __BYTE_ORDER__==__ORDER_BIG_ENDIAN__
> ++ #define __TBB_BIG_ENDIAN 1
> ++#elif __BYTE_ORDER__==__ORDER_LITTLE_ENDIAN__
> ++ #define __TBB_BIG_ENDIAN 0
> ++#else
> ++ #define __TBB_BIG_ENDIAN -1 // not currently supported
> ++#endif
> ++
> ++
> ++#define __TBB_compiler_fence() __asm__ __volatile__("": : :"memory")
> ++#define __TBB_control_consistency_helper() __TBB_compiler_fence()
> ++
> ++#define __TBB_aarch64_inner_shareable_barrier() __asm__ __volatile__("dmb ish": : :"memory")
> ++#define __TBB_acquire_consistency_helper() __TBB_aarch64_inner_shareable_barrier()
> ++#define __TBB_release_consistency_helper() __TBB_aarch64_inner_shareable_barrier()
> ++#define __TBB_full_memory_fence() __TBB_aarch64_inner_shareable_barrier()
> ++
> ++//--------------------------------------------------
> ++// Compare and swap
> ++//--------------------------------------------------
> ++
> ++/**
> ++ * Atomic CAS for 32 bit values, if *ptr==comparand, then *ptr=value,
> ++ * returns *ptr
> ++ *
> ++ * @param ptr pointer to value in memory to be swapped with value
> ++ * if *ptr==comparand
> ++ * @param value value to assign *ptr to if *ptr==comparand
> ++ * @param comparand value to compare with *ptr
> ++ * @return value originally in memory at ptr, regardless of success
> ++*/
> ++static inline int32_t __TBB_machine_cmpswp4(volatile void *ptr, int32_t value, int32_t comparand )
> ++{
> ++ int32_t oldval, res;
> ++
> ++ do {
> ++ __asm__ __volatile__(
> ++ " ldxr %w1, [%2]\n"
> ++ " mov %w0, #0\n"
> ++ " cmp %w1, %w3\n"
> ++ " b.ne 1f\n"
> ++ " stxr %w0, %w4, [%2]\n"
> ++ "1:\n"
> ++ : "=&r" (res), "=&r" (oldval)
> ++ : "r" (ptr), "Ir" (value), "r" (comparand)
> ++ : "cc");
> ++ } while (res);
> ++
> ++ return oldval;
> ++}
> ++
> ++/**
> ++ * Atomic CAS for 64 bit values, if *ptr==comparand, then *ptr=value,
> ++ * returns *ptr
> ++ *
> ++ * @param ptr pointer to value in memory to be swapped with value
> ++ * if *ptr==comparand
> ++ * @param value value to assign *ptr to if *ptr==comparand
> ++ * @param comparand value to compare with *ptr
> ++ * @return value originally in memory at ptr, regardless of success
> ++ */
> ++static inline int64_t __TBB_machine_cmpswp8(volatile void *ptr, int64_t value, int64_t comparand )
> ++{
> ++ int64_t oldval;
> ++ int64_t res;
> ++
> ++ do {
> ++ __asm__ __volatile__(
> ++ " ldxr %1, [%2]\n"
> ++ " mov %w0, #0\n"
> ++ " cmp %1, %3\n"
> ++ " b.ne 1f\n"
> ++ " stxr %w0, %4, [%2]\n"
> ++ "1:\n"
> ++ : "=&r" (res), "=&r" (oldval)
> ++ : "r" (ptr), "Ir" (value), "r" (comparand)
> ++ : "cc");
> ++ } while (res);
> ++
> ++ return oldval;
> ++}
> ++
> ++inline void __TBB_machine_pause (int32_t delay )
> ++{
> ++ while(delay>0)
> ++ {
> ++ __TBB_compiler_fence();
> ++ delay--;
> ++ }
> ++}
> ++
> ++// Machine specific atomic operations
> ++
> ++#define __TBB_CompareAndSwap4(P,V,C) __TBB_machine_cmpswp4(P,V,C)
> ++#define __TBB_CompareAndSwap8(P,V,C) __TBB_machine_cmpswp8(P,V,C)
> ++//#define __TBB_CompareAndSwapW(P,V,C) __TBB_machine_cmpswp4(P,V,C)
> ++#define __TBB_Pause(V) __TBB_machine_pause(V)
> ++
> ++// Use generics for some things
> ++#define __TBB_USE_GENERIC_PART_WORD_CAS 1
> ++#define __TBB_USE_GENERIC_FETCH_ADD 1
> ++#define __TBB_USE_GENERIC_FETCH_STORE 1
> ++#define __TBB_USE_GENERIC_HALF_FENCED_LOAD_STORE 1
> ++#define __TBB_USE_GENERIC_RELAXED_LOAD_STORE 1
> ++#define __TBB_USE_GENERIC_SEQUENTIAL_CONSISTENCY_LOAD_STORE 1
> +diff --git a/include/tbb/tbb_machine.h b/include/tbb/tbb_machine.h
> +index 752062e..5342877 100644
> +--- a/include/tbb/tbb_machine.h
> ++++ b/include/tbb/tbb_machine.h
> +@@ -223,6 +223,8 @@ template<> struct atomic_selector<8> {
> + #include "machine/linux_ia64.h"
> + #elif __powerpc__
> + #include "machine/mac_ppc.h"
> ++ #elif __aarch64__
> ++ #include "machine/linux_aarch64.h"
> + #elif __TBB_GCC_BUILTIN_ATOMICS_PRESENT
> + #include "machine/gcc_generic.h"
> + #endif
> +@@ -391,10 +393,12 @@ void spin_wait_until_eq( const volatile T& location, const U value ) {
> + // - The operation assumes that the architecture consistently uses either little-endian or big-endian:
> + // it does not support mixed-endian or page-specific bi-endian architectures.
> + // This function is the only use of __TBB_BIG_ENDIAN.
> +-#if (__TBB_BIG_ENDIAN!=-1)
> ++#if (__TBB_BIG_ENDIAN==-1)
> + #if ( __TBB_USE_GENERIC_PART_WORD_CAS)
> + #error generic implementation of part-word CAS was explicitly disabled for this configuration
> + #endif
> ++#endif
> ++
> + template<typename T>
> + inline T __TBB_MaskedCompareAndSwap (volatile T * const ptr, const T value, const T comparand ) {
> + struct endianness{ static bool is_big_endian(){
> +@@ -432,7 +436,6 @@ inline T __TBB_MaskedCompareAndSwap (volatile T * const ptr, const T value, cons
> + else continue; // CAS failed but the bits of interest left unchanged
> + }
> + }
> +-#endif
> + template<size_t S, typename T>
> + inline T __TBB_CompareAndSwapGeneric (volatile void *ptr, T value, T comparand );
> +
> +diff --git a/src/tbbmalloc/frontend.cpp b/src/tbbmalloc/frontend.cpp
> +index 4e81870..ddac9e0 100644
> +--- a/src/tbbmalloc/frontend.cpp
> ++++ b/src/tbbmalloc/frontend.cpp
> +@@ -653,6 +653,14 @@ static inline unsigned int highestBitPos(unsigned int n)
> + # error highestBitPos() not implemented for this platform
> + # endif
> +
> ++#elif __aarch64__
> ++ __asm__ __volatile__
> ++ (
> ++ "clz %0, %1\n"
> ++ "mov %1, %2\n"
> ++ "sub %0, %1, %0\n"
> ++ :"=&r" (pos), "=&r" (n) :"I" (31)
> ++ );
> + #else
> + static unsigned int bsr[16] = {0/*N/A*/,6,7,7,8,8,8,8,9,9,9,9,9,9,9,9};
> + pos = bsr[ n>>6 ];
> diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb
> new file mode 100644
> index 0000000..e67e755
> --- /dev/null
> +++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
> @@ -0,0 +1,31 @@
> +DESCRIPTION = "Parallelism library for C++ - runtime files \
> + TBB is a library that helps you leverage multi-core processor \
> + performance without having to be a threading expert. It represents a \
> + higher-level, task-based parallelism that abstracts platform details \
> + and threading mechanism for performance and scalability."
> +HOMEPAGE = "http://threadingbuildingblocks.org/"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1"
> +PRDATE = "20121003"
> +
> +SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz \
> + file://tbb41-aarch64.patch \
> + file://cross-compile.patch \
> + file://tbb.pc"
> +
> +S = "${WORKDIR}/tbb41_${PRDATE}oss/"
> +
> +SRC_URI[md5sum] = "2a684fefb855d2d0318d1ef09afa75ff"
> +SRC_URI[sha256sum] = "5383727b9582a54cf4c4adbf22186b70e8eba276fcd3be81d746a937c5b47afc"
> +
> +do_compile() {
> + oe_runmake compiler=gcc arch=aarch64 runtime=cc4.7_libc2.17_kernel3.8 tbb tbbmalloc
> +}
> +
> +do_install() {
> + install -d ${D}${includedir} ${D}${libdir}/pkgconfig
> + rm ${S}/include/tbb/index.html -f
> + cp -a ${S}/include/tbb ${D}${includedir}
> + install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir}
> + install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig
> +}
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
@ 2013-02-16 5:17 ` Martin Jansa
0 siblings, 0 replies; 32+ messages in thread
From: Martin Jansa @ 2013-02-16 5:17 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]
On Thu, Feb 07, 2013 at 11:51:02AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Commit message should be libmcrypt:
> ---
> .../recipes-support/libmcrypt/libmcrypt_2.5.8.bb | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
> create mode 100644 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
>
> diff --git a/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
> new file mode 100644
> index 0000000..0cbe189
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "Replacement for the old crypt() package and crypt(1) command, with extensions."
> +HOMEPAGE = "http://mcrypt.sourceforge.net/"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "0821830d930a86a5c69110837c55b7da"
> +SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e"
> +
> +inherit autotools gettext binconfig
> +
> +do_configure() {
> + gnu-configize --force
> +# libtoolize --force --copy
> + autoconf
> + oe_runconf
> +}
> +
> +do_install_append() {
> + rm ${D}${libdir}/libmcrypt -r
> +}
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 1/8] google-glog: added svn version
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
@ 2013-02-16 5:18 ` Martin Jansa
0 siblings, 0 replies; 32+ messages in thread
From: Martin Jansa @ 2013-02-16 5:18 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
On Thu, Feb 07, 2013 at 11:50:56AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta-oe/recipes-support/google-glog/google-glog_svn.bb | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
> create mode 100644 meta-oe/recipes-support/google-glog/google-glog_svn.bb
>
> diff --git a/meta-oe/recipes-support/google-glog/google-glog_svn.bb b/meta-oe/recipes-support/google-glog/google-glog_svn.bb
> new file mode 100644
> index 0000000..b70aa82
> --- /dev/null
> +++ b/meta-oe/recipes-support/google-glog/google-glog_svn.bb
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "The glog library implements application-level logging. This \
> +library provides logging APIs based on C++-style streams and various helper \
> +macros."
> +HOMEPAGE = "https://code.google.com/p/google-glog/"
> +
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
> +
> +SRC_URI = "svn://google-glog.googlecode.com/svn/;module=trunk;protocol=http"
> +
> +SRCREV = "${AUTOREV}"
Please no AUTOREVs
> +
> +PV = "0.3.2+svn${SRCPV}"
> +
> +S = "${WORKDIR}/trunk"
> +
> +inherit autotools pkgconfig
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
@ 2013-02-16 5:21 ` Martin Jansa
2013-02-18 9:08 ` Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Martin Jansa @ 2013-02-16 5:21 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5409 bytes --]
On Thu, Feb 07, 2013 at 11:51:00AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta-oe/recipes-support/libunwind/files/aarch64.patch | 19 +++++++++++++++++++
> meta-oe/recipes-support/libunwind/libunwind.inc | 12 ++++++++++++
> meta-oe/recipes-support/libunwind/libunwind_1.1.bb | 6 ++++++
> 3 files changed, 37 insertions(+)
> create mode 100644 meta-oe/recipes-support/libunwind/files/aarch64.patch
> create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
> create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb
Does not build for qemuarm:
../src/.libs/libunwind.so -lc -lgcc /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/liblzma.so -pthread
| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -fexceptions -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/Gperf-simple Gperf-simple.o ../src/.libs/libunwind-arm.so /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libunwind/1.1-r0/libunwind-1.1/src/.libs/libunwind.so ../src/.libs/libunwind.so -lc -lgcc /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/liblzma.so -pthread
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
| collect2: error: ld returned 1 exit status
| make[1]: *** [test-coredump-unwind] Error 1
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
| collect2: error: ld returned 1 exit status
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Gperf-trace] Error 1
| make[1]: *** [Gperf-simple] Error 1
| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libunwind/1.1-r0/libunwind-1.1/tests'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libunwind/1.1-r0/temp/log.do_compile.20241 for further information)
NOTE: recipe libunwind-1.1-r0: task do_compile: Failed
Complete log:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130215_060633.log/
>
> diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> new file mode 100644
> index 0000000..9ea8d83
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> @@ -0,0 +1,19 @@
> +---
> + configure.ac | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +--- libunwind-1.1.orig/configure.ac
> ++++ libunwind-1.1/configure.ac
> +@@ -135,11 +135,11 @@ AM_CONDITIONAL(OS_HPUX, expr x$target_os
> + AM_CONDITIONAL(OS_FREEBSD, expr x$target_os : xfreebsd >/dev/null)
> +
> + AC_MSG_CHECKING([for ELF helper width])
> + case "${target_arch}" in
> + (arm|hppa|ppc32|x86|sh) use_elf32=yes; AC_MSG_RESULT([32]);;
> +-(ia64|ppc64|x86_64) use_elf64=yes; AC_MSG_RESULT([64]);;
> ++(ia64|ppc64|x86_64|aarch64) use_elf64=yes; AC_MSG_RESULT([64]);;
> + (mips) use_elfxx=yes; AC_MSG_RESULT([xx]);;
> + *) AC_MSG_ERROR([Unknown ELF target: ${target_arch}])
> + esac
> + AM_CONDITIONAL(USE_ELF32, [test x$use_elf32 = xyes])
> + AM_CONDITIONAL(USE_ELF64, [test x$use_elf64 = xyes])
> diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc
> new file mode 100644
> index 0000000..f028766
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/libunwind.inc
> @@ -0,0 +1,12 @@
> +DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
> +HOMEPAGE = "http://www.nongnu.org/libunwind"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
> +
> +SRC_URI = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
> +
> +inherit autotools
> +
> +EXTRA_OECONF_arm = "--enable-debug-frame"
> +
> +BBCLASSEXTEND = "native"
> diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> new file mode 100644
> index 0000000..dd6b63c
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> @@ -0,0 +1,6 @@
> +require libunwind.inc
> +
> +SRC_URI += "file://aarch64.patch"
> +
> +SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
> +SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 8/8] google-perftools: add 2.0
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
@ 2013-02-16 5:23 ` Martin Jansa
2013-02-19 4:09 ` Martin Jansa
0 siblings, 1 reply; 32+ messages in thread
From: Martin Jansa @ 2013-02-16 5:23 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1892 bytes --]
On Thu, Feb 07, 2013 at 11:51:03AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Fails to install with newer autotools:
| /usr/bin/install: will not overwrite just-created
`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gperftools/2.0-r0/image/usr/include/google/tcmalloc.h'
with `src/windows/google/tcmalloc.h'
| make[1]: *** [install-googleincludeHEADERS] Error 1
Complete log:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130215_060633.log/
> ---
> meta-oe/recipes-support/google-perftools/gperftools_2.0.bb | 11 +++++++++++
> 1 file changed, 11 insertions(+)
> create mode 100644 meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
>
> diff --git a/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
> new file mode 100644
> index 0000000..1717752
> --- /dev/null
> +++ b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
> @@ -0,0 +1,11 @@
> +DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools"
> +HOMEPAGE = "http://code.google.com/p/gperftools/"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
> +
> +SRC_URI = "${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz"
> +
> +SRC_URI[md5sum] = "13f6e8961bc6a26749783137995786b6"
> +SRC_URI[sha256sum] = "7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080"
> +
> +inherit autotools
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* [meta-oe][PATCH 8/8] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-15 21:40 ` Martin Jansa
@ 2013-02-18 7:52 ` Marcin Juszkiewicz
2013-04-23 8:44 ` [meta-oe][PATCH v5] " Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-18 7:52 UTC (permalink / raw)
To: openembedded-devel
1.0.15 is latest
1.0.7 is required by HipHopVM
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../libmemcached/files/crosscompile.patch | 30 ++++++++++++++++++++++
.../recipes-support/libmemcached/libmemcached.inc | 10 ++++++++
.../libmemcached/libmemcached_1.0.15.bb | 6 +++++
.../libmemcached/libmemcached_1.0.7.bb | 8 ++++++
4 files changed, 54 insertions(+)
create mode 100644 meta-networking/recipes-support/libmemcached/files/crosscompile.patch
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached.inc
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
diff --git a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
new file mode 100644
index 0000000..63511bf
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
@@ -0,0 +1,30 @@
+ libmemcached/backtrace.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
++++ libmemcached-1.0.15/libmemcached/backtrace.cc
+@@ -75,10 +75,11 @@ void custom_backtrace(void)
+ {
+ for (int x= 0; x < stack_frames; x++)
+ {
+ bool was_demangled= false;
+
++#if USE_DEMANGLE == 1
+ if (USE_DEMANGLE)
+ {
+ #ifdef HAVE_DLFCN_H
+ Dl_info dlinfo;
+ if (dladdr(backtrace_buffer[x], &dlinfo))
+@@ -107,11 +108,11 @@ void custom_backtrace(void)
+ dlinfo.dli_fname);
+ }
+ }
+ #endif
+ }
+-
++#endif
+ if (was_demangled == false)
+ {
+ fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]);
+ }
+ }
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 0000000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
+DEPENDS = "libevent util-linux"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
+
+SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
+
+TARGET_LDFLAGS += "-luuid"
+
+inherit autotools gettext pkgconfig
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 0000000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += "file://crosscompile.patch"
+
+SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
+SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 0000000..0aa3050
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
+SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
+
+do_configure_prepend_aarch64() {
+ export ac_cv_c_endian=little
+}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch
2013-02-16 5:21 ` Martin Jansa
@ 2013-02-18 9:08 ` Marcin Juszkiewicz
0 siblings, 0 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-18 9:08 UTC (permalink / raw)
To: openembedded-devel
W dniu 16.02.2013 06:21, Martin Jansa pisze:
> On Thu, Feb 07, 2013 at 11:51:00AM +0100, Marcin Juszkiewicz wrote:
>> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
>> ---
>> meta-oe/recipes-support/libunwind/files/aarch64.patch | 19 +++++++++++++++++++
>> meta-oe/recipes-support/libunwind/libunwind.inc | 12 ++++++++++++
>> meta-oe/recipes-support/libunwind/libunwind_1.1.bb | 6 ++++++
>> 3 files changed, 37 insertions(+)
>> create mode 100644 meta-oe/recipes-support/libunwind/files/aarch64.patch
>> create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
>> create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb
>
> Does not build for qemuarm:
10:07 hrw@puchatek:build$ find tmp-eglibc/deploy/ipk/ -name libunwind_1.1*
tmp-eglibc/deploy/ipk/armv5te/libunwind_1.1-r0_armv5te.ipk
tmp-eglibc/deploy/ipk/armv7ahf-vfp-neon/libunwind_1.1-r0_armv7ahf-vfp-neon.ipk
Built fine for qemuarm and genericarmv7a here.
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 4/8] memcached: add 1.4.15
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
@ 2013-02-18 22:52 ` Martin Jansa
2013-04-23 8:43 ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Martin Jansa @ 2013-02-18 22:52 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1973 bytes --]
On Thu, Feb 07, 2013 at 11:50:59AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta-oe/recipes-support/memcached/memcached_1.4.15.bb | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 meta-oe/recipes-support/memcached/memcached_1.4.15.bb
>
> diff --git a/meta-oe/recipes-support/memcached/memcached_1.4.15.bb b/meta-oe/recipes-support/memcached/memcached_1.4.15.bb
> new file mode 100644
> index 0000000..b6d436e
> --- /dev/null
> +++ b/meta-oe/recipes-support/memcached/memcached_1.4.15.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "Free & open source, high-performance, distributed memory object \
> +caching system, generic in nature, but intended for use in speeding up dynamic \
> +web applications by alleviating database load."
> +HOMEPAGE = "http://memcached.org/"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff"
> +
> +SRC_URI = "http://memcached.googlecode.com/files/memcached-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "36ea966f5a29655be1746bf4949f7f69"
> +SRC_URI[sha256sum] = "169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4"
> +
> +DEPENDS = "libevent"
> +
> +inherit autotools
> +
> +do_configure_prepend_aarch64() {
> + export ac_cv_c_endian=little
we need this for other machines as well
| checking for endianness... configure: error: in
`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/memcached/1.4.15-r0/memcached-1.4.15':
| configure: error: cannot run test program while cross compiling
| See `config.log' for more details
> +}
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH] cyrus-sasl2: add 2.1.26
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
2013-02-08 17:13 ` Paul Eggleton
@ 2013-02-18 22:55 ` Martin Jansa
1 sibling, 0 replies; 32+ messages in thread
From: Martin Jansa @ 2013-02-18 22:55 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 4517 bytes --]
On Fri, Feb 08, 2013 at 06:06:19PM +0100, Marcin Juszkiewicz wrote:
> I took recipe from OE classic, updated, cleaned and got it build. I use
> it only as build dependency - did not checked binaries from ${PN}-bin.
>
> There are RPATH problems to solve:
>
> WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/saslpasswd2
> WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/pluginviewer
> WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/sasldblistusers2
> WARNING: QA Issue: package cyrus-sasl contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl/usr/lib/sasl2/libsasldb.so.3.0.0
It was building with only those QA warnings before, but now on 2nd build
it fails with fatal error:
| checking for SPNEGO support in GSSAPI libraries... configure: error:
in
`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/cyrus-sasl/2.1.26-r0/cyrus-sasl-2.1.26':
| configure: error: cannot run test program while cross compiling
| See `config.log' for more details
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> .../cyrus-sasl/cyrus-sasl_2.1.26.bb | 42 ++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
> create mode 100644 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
>
> diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
> new file mode 100644
> index 0000000..44336f0
> --- /dev/null
> +++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
> @@ -0,0 +1,42 @@
> +DESCRIPTION = "Generic client/server library for SASL authentication."
> +SECTION = "console/network"
> +DEPENDS = "openssl virtual/db"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
> +
> +SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz "
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF += "--with-dblib=berkeley \
> + --with-bdb-libdir=${STAGING_LIBDIR} \
> + --with-bdb-incdir=${STAGING_INCDIR} \
> + --without-pam --without-opie --without-des"
> +
> +do_configure_prepend () {
> + rm -f acinclude.m4 config/libtool.m4
> +}
> +
> +do_compile_prepend () {
> + cd include
> + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} makemd5.c -o makemd5
> + touch makemd5.o makemd5.lo makemd5
> + cd ..
> +}
> +
> +pkg_postinst_${PN}-bin () {
> + grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail -g "Cyrus sasl" cyrus
> + echo "cyrus" | saslpasswd2 -p -c cyrus
> + chgrp mail /etc/sasldb2
> +}
> +
> +SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425"
> +SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3"
> +
> +PACKAGES =+ "${PN}-bin"
> +
> +FILES_${PN} += "${libdir}/sasl2/*.so.*"
> +FILES_${PN}-bin += "${bindir}"
> +FILES_${PN}-dev += "${libdir}/sasl2/*.so ${libdir}/sasl2/*.la"
> +FILES_${PN}-dbg += "${libdir}/sasl2/.debug"
> +FILES_${PN}-staticdev += "${libdir}/sasl2/*.a"
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 8/8] google-perftools: add 2.0
2013-02-16 5:23 ` Martin Jansa
@ 2013-02-19 4:09 ` Martin Jansa
2013-02-25 10:55 ` [meta-oe][PATCH] gperftools: " Marcin Juszkiewicz
0 siblings, 1 reply; 32+ messages in thread
From: Martin Jansa @ 2013-02-19 4:09 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]
On Sat, Feb 16, 2013 at 06:23:06AM +0100, Martin Jansa wrote:
> On Thu, Feb 07, 2013 at 11:51:03AM +0100, Marcin Juszkiewicz wrote:
> > Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
>
> Fails to install with newer autotools:
>
> | /usr/bin/install: will not overwrite just-created
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gperftools/2.0-r0/image/usr/include/google/tcmalloc.h'
> with `src/windows/google/tcmalloc.h'
> | make[1]: *** [install-googleincludeHEADERS] Error 1
>
> Complete log:
> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130215_060633.log/
Also the subject and maybe also the directory should be gperftools not
google-perftools.
>
> > ---
> > meta-oe/recipes-support/google-perftools/gperftools_2.0.bb | 11 +++++++++++
> > 1 file changed, 11 insertions(+)
> > create mode 100644 meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
> >
> > diff --git a/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
> > new file mode 100644
> > index 0000000..1717752
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
> > @@ -0,0 +1,11 @@
> > +DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools"
> > +HOMEPAGE = "http://code.google.com/p/gperftools/"
> > +LICENSE = "BSD"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
> > +
> > +SRC_URI = "${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz"
> > +
> > +SRC_URI[md5sum] = "13f6e8961bc6a26749783137995786b6"
> > +SRC_URI[sha256sum] = "7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080"
> > +
> > +inherit autotools
> > --
> > 1.8.0
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [meta-oe][PATCH 4/8] memcached: add 1.4.15
2013-02-08 17:16 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
@ 2013-02-24 7:53 ` Khem Raj
0 siblings, 0 replies; 32+ messages in thread
From: Khem Raj @ 2013-02-24 7:53 UTC (permalink / raw)
To: openembedded-devel
On (08/02/13 18:16), Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> .../recipes-support/memcached/memcached_1.4.15.bb | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 meta-networking/recipes-support/memcached/memcached_1.4.15.bb
>
> diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.15.bb b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
> new file mode 100644
> index 0000000..b6d436e
> --- /dev/null
> +++ b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "Free & open source, high-performance, distributed memory object \
> +caching system, generic in nature, but intended for use in speeding up dynamic \
> +web applications by alleviating database load."
> +HOMEPAGE = "http://memcached.org/"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff"
> +
> +SRC_URI = "http://memcached.googlecode.com/files/memcached-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "36ea966f5a29655be1746bf4949f7f69"
> +SRC_URI[sha256sum] = "169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4"
> +
> +DEPENDS = "libevent"
> +
> +inherit autotools
> +
> +do_configure_prepend_aarch64() {
> + export ac_cv_c_endian=little
> +}
instead you could have used CACHED_CONFIGUREVARS_aarch64 =
"ac_cv_c_endian=little"
> --
> 1.8.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
-Khem
^ permalink raw reply [flat|nested] 32+ messages in thread
* [meta-oe][PATCH] gperftools: add 2.0
2013-02-19 4:09 ` Martin Jansa
@ 2013-02-25 10:55 ` Marcin Juszkiewicz
0 siblings, 0 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-02-25 10:55 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/gperftools/gperftools_2.0.bb | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 meta-oe/recipes-support/gperftools/gperftools_2.0.bb
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.0.bb b/meta-oe/recipes-support/gperftools/gperftools_2.0.bb
new file mode 100644
index 0000000..1717752
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools"
+HOMEPAGE = "http://code.google.com/p/gperftools/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz"
+
+SRC_URI[md5sum] = "13f6e8961bc6a26749783137995786b6"
+SRC_URI[sha256sum] = "7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080"
+
+inherit autotools
--
1.8.1.2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH v2] memcached: add 1.4.15
2013-02-18 22:52 ` Martin Jansa
@ 2013-04-23 8:43 ` Marcin Juszkiewicz
0 siblings, 0 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-04-23 8:43 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../recipes-support/memcached/memcached_1.4.15.bb | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 meta-networking/recipes-support/memcached/memcached_1.4.15.bb
diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.15.bb b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
new file mode 100644
index 0000000..016eaeb
--- /dev/null
+++ b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Free & open source, high-performance, distributed memory object \
+caching system, generic in nature, but intended for use in speeding up dynamic \
+web applications by alleviating database load."
+HOMEPAGE = "http://memcached.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff"
+
+SRC_URI = "http://memcached.googlecode.com/files/memcached-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "36ea966f5a29655be1746bf4949f7f69"
+SRC_URI[sha256sum] = "169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4"
+
+DEPENDS = "libevent"
+
+inherit autotools
--
1.8.1.2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [meta-oe][PATCH v5] libmemcached: add 1.0.15 and 1.0.7 versions
2013-02-18 7:52 ` [meta-oe][PATCH 8/8] " Marcin Juszkiewicz
@ 2013-04-23 8:44 ` Marcin Juszkiewicz
0 siblings, 0 replies; 32+ messages in thread
From: Marcin Juszkiewicz @ 2013-04-23 8:44 UTC (permalink / raw)
To: openembedded-devel
1.0.15 is latest
1.0.7 is required by HipHopVM
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../libmemcached/files/crosscompile.patch | 30 ++++++++++++++++++++++
.../recipes-support/libmemcached/libmemcached.inc | 10 ++++++++
.../libmemcached/libmemcached_1.0.15.bb | 6 +++++
.../libmemcached/libmemcached_1.0.7.bb | 4 +++
4 files changed, 50 insertions(+)
create mode 100644 meta-networking/recipes-support/libmemcached/files/crosscompile.patch
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached.inc
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
diff --git a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
new file mode 100644
index 0000000..63511bf
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
@@ -0,0 +1,30 @@
+ libmemcached/backtrace.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
++++ libmemcached-1.0.15/libmemcached/backtrace.cc
+@@ -75,10 +75,11 @@ void custom_backtrace(void)
+ {
+ for (int x= 0; x < stack_frames; x++)
+ {
+ bool was_demangled= false;
+
++#if USE_DEMANGLE == 1
+ if (USE_DEMANGLE)
+ {
+ #ifdef HAVE_DLFCN_H
+ Dl_info dlinfo;
+ if (dladdr(backtrace_buffer[x], &dlinfo))
+@@ -107,11 +108,11 @@ void custom_backtrace(void)
+ dlinfo.dli_fname);
+ }
+ }
+ #endif
+ }
+-
++#endif
+ if (was_demangled == false)
+ {
+ fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]);
+ }
+ }
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 0000000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
+DEPENDS = "libevent util-linux"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
+
+SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
+
+TARGET_LDFLAGS += "-luuid"
+
+inherit autotools gettext pkgconfig
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 0000000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += "file://crosscompile.patch"
+
+SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
+SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 0000000..cdf8415
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,4 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
+SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
--
1.8.1.2
^ permalink raw reply related [flat|nested] 32+ messages in thread
end of thread, other threads:[~2013-04-23 9:02 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
2013-02-16 5:18 ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
2013-02-16 5:16 ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-18 22:52 ` Martin Jansa
2013-04-23 8:43 ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
2013-02-16 5:21 ` Martin Jansa
2013-02-18 9:08 ` Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-15 7:11 ` Martin Jansa
2013-02-15 11:46 ` [meta-oe][PATCH] " Marcin Juszkiewicz
2013-02-15 21:40 ` Martin Jansa
2013-02-18 7:52 ` [meta-oe][PATCH 8/8] " Marcin Juszkiewicz
2013-04-23 8:44 ` [meta-oe][PATCH v5] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
2013-02-16 5:17 ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
2013-02-16 5:23 ` Martin Jansa
2013-02-19 4:09 ` Martin Jansa
2013-02-25 10:55 ` [meta-oe][PATCH] gperftools: " Marcin Juszkiewicz
2013-02-08 9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
2013-02-08 17:16 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-08 17:16 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-24 7:53 ` Khem Raj
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
2013-02-08 17:13 ` Paul Eggleton
2013-02-08 17:27 ` Marcin Juszkiewicz
2013-02-18 22:55 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.