View Single Post
Old 09-09-2012, 02:03 PM   #508
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Alternately: Source: http://www.kernel.org/pub/linux/utils/kernel/kexec/

Configure: ./configure --prefix=/mnt/us --exec-prefix=/mnt/us --target=arm --host=i686-pc-linux --build=i686-pc-linux --without-xen

flags for the 3:

export ARCH_FLAGS="-march=armv6j -mtune=arm1136jf-s -mfpu=vfp"
export CFLAGS="-fno-stack-protector -O2 -ffast-math ${ARCH_FLAGS} -pipe -fomit-$
export CXXFLAGS="-fno-stack-protector" CPPFLAGS="-U_FORTIFY_SOURCE"
export HOST=i686-pc-linux
export BUILD=arm-unknown-linux-gnueabi

Might want this patch too... (in some form...)
Spoiler:

Quote:
[PATCH] vmcore-dmesg: don't enforce largefile handling

Breaks build on !largefile toolchains.

Instead simply use whatever mode is selected by toolchain / CFLAGS.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
vmcore-dmesg/vmcore-dmesg.c | 2 --
1 file changed, 2 deletions(-)

Index: kexec-tools-2.0.3/vmcore-dmesg/vmcore-dmesg.c
================================================== =================
--- kexec-tools-2.0.3.orig/vmcore-dmesg/vmcore-dmesg.c
+++ kexec-tools-2.0.3/vmcore-dmesg/vmcore-dmesg.c
@@ -1,6 +1,4 @@
#define _XOPEN_SOURCE 600
-#define _LARGEFILE_SOURCE 1
-#define _FILE_OFFSET_BITS 64
#include <endian.h>
#include <byteswap.h>
#include <stdio.h>

Enjoy

Last edited by twobob; 09-09-2012 at 02:23 PM.
twobob is offline   Reply With Quote