Stabil állapotban lévő openvz-sources-t szeretnék fordítani egy opteronos gépen genkernel-lel.
A gondom az, hogy a fordítás még az elején elszáll.
Pár napja ugyanezt elvégeztem 32biten, akkor nem tapasztaltam ilyet.
Debug miatt megpróbáltam sima "make -j1"-el is lefordítani genkernel helyett. A kiemenete:
make -j1
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86_64/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86_64
CC arch/x86_64/kernel/asm-offsets.s
GEN include/asm-x86_64/asm-offsets.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC init/main.o
In file included from include/linux/compat.h:14,
from include/linux/quota.h:325,
from include/linux/syscalls.h:65,
from include/asm/unistd.h:776,
from include/linux/unistd.h:11,
from include/asm/seccomp.h:11,
from include/linux/seccomp.h:10,
from include/linux/sched.h:78,
from include/linux/module.h:9,
from init/main.c:15:
include/asm/compat.h: In function `compat_alloc_user_space':
include/asm/compat.h:201: error: dereferencing pointer to incomplete type
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
Konfig fájl: pastebin 1
emerge --info: pastebin 2
Ha valakinek van valami ötlete az jól jönne.
Szerk: kifelejtettem a verziót: openvz-sources-2.6.18.028.056.1
Szerk 2: felraktam a szűsz 2.6.18 + hivatalos patch formát is kézzel, de ugyanez a jelenség. Más EMT64-es rendszeren viszont rendben lefordult, bár az nem hardened.
Szerk 3: kipróbáltam nem hardened 64bites chroot-ban is, ugyanaz a helyzet :(
- 1405 megtekintés
Hozzászólások
A rendszer nemrég lett újrafordítva --march=opteron CFLAGS-szel. Ez "emerge -avue system && emerge -avue world" segítségével ment. revdep-rebuilt megvolt. A rendszer up-to-date.
Valakinek esetleg van tippe, hogy kernel fordításkor mely alap csomagok vesznek részt?
binutils, gcc, stb?
--
\\-- blog --//*
- A hozzászóláshoz be kell jelentkezni
Bugreport lett belőle. BGO: #242728
Szerk: url fixed
--
\\-- blog --//
- A hozzászóláshoz be kell jelentkezni