Skip to contentSkip to conversation

libhugetlbfs: not build obj32 for all 64b platforms

PATCH New [email protected] 1 participant 2 messages Jul 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libhugetlbfs: not build obj32 for all 64b platforms

From: Ting Liu <[email protected]>

qemux86_64 has the same issue with powerpc64, set
BUILDTYPE=NATIVEONLY as default

Fix the below build issue for 64bit platforms:

| fatal error: gnu/stubs-32.h: No such file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| make: *** [obj32/elflink.o] Error 1
---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +1 -2
index 55d555b..315863d 100644
@@ -28,8 +28,7 @@ LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
 LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
 LIBHUGETLBFS_ARCH_powerpc = "ppc"
 LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
-EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2"
-EXTRA_OEMAKE_append_powerpc64 = " BUILDTYPE=NATIVEONLY"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} BUILDTYPE=NATIVEONLY V=2"
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/2 ipsec-tools: enable Dead Peer Detection and NAT traversal

From: Ting Liu <[email protected]>

* Dead peer detection (DPD) is a method that network devices use to verify the current existence and availability of other peer devices.
* NAT traversal (sometimes abbreviated as NAT-T) is a general term for techniques that establish and maintain Internet protocol connections traversing network address translation (NAT) gateways

---
 .../ipsec-tools/ipsec-tools_0.8.1.bb               |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.1.bb +2 -0
index 2e5c0a4..eed5b92 100644
@@ -49,6 +49,8 @@ EXTRA_OECONF = "--with-kernel-headers=${STAGING_INCDIR} \
                 --without-libpam \
                 --disable-security-context \
                 --enable-shared \
+                --enable-dpd \
+                --enable-natt=yes \
                 ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6=yes', '', d)}"
 
 # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527
Signature · 1 line
1.7.3.4