[TH] geninitrd x86_64 vs. v86

Daniel Dawid Majewski light-i w o2.pl
Wto, 11 Lis 2008, 11:59:14 CET


Pewnego dnia wpadła wieść od Paweł Sikora i powiedziała :
> On Tuesday 11 of November 2008 09:28:16 Daniel Dawid Majewski wrote:
> 
>> Coś na sztywno siedzi...
> 
> no to zobacz do naglowka speca, ze lrmi jest tylko dla x86,
> a dla innych architektur jest x86emu.
No OK, ale czemu się nie buduje dla x86_64 ?
$ builder --with klibc v86d.spec
# $Revision: 1.18 $, $Date: 2008/11/01 10:27:55 $

Building v86d.spec with the following conditional flags:
 --with klibc

from available:
--with   :       <klibc> x86emu
--without:

Available branches:
v86d-0.1.9.tar.bz2 having proper md5sum already exists
Wykonywanie(%prep): /bin/sh -e /home/users/builder/tmp/rpm-tmp.27843
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd /home/users/builder/rpm/BUILD
+ rm -rf v86d-0.1.9
+ /usr/bin/bzip2 -dc /home/users/builder/rpm/SOURCES/v86d-0.1.9.tar.bz2
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd v86d-0.1.9
+ /bin/id -u
+ [ 1001 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo Patch #0 (v86d-system-klibc.patch):
Patch #0 (v86d-system-klibc.patch):
+ patch -p1 -s
+ < /home/users/builder/rpm/SOURCES/v86d-system-klibc.patch
+ echo Patch #1 (v86d-system-libs.patch):
Patch #1 (v86d-system-libs.patch):
+ patch -p1 -s
+ < /home/users/builder/rpm/SOURCES/v86d-system-libs.patch
+ sed -i s:-g -O2:$(OPTFLAGS): Makefile
+ exit 0
Wykonywanie(%build): /bin/sh -e /home/users/builder/tmp/rpm-tmp.27843
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd v86d-0.1.9
+ ./configure --with-klibc --with-x86emu
config.h successfully created.
You can run `make` now.
+ /usr/bin/make OPTFLAGS=-O2 -fno-strict-aliasing -fwrapv -march=x86-64
-gdwarf-2 -g2
klcc -static -I/usr/include/klibc -c -o v86_x86emu.o v86_x86emu.c
v86_x86emu.c:3:20: error: x86emu.h: No such file or directory
v86_x86emu.c: In function 'pushw':
v86_x86emu.c:24: error: 'M' undeclared (first use in this function)
v86_x86emu.c:24: error: (Each undeclared identifier is reported only once
v86_x86emu.c:24: error: for each function it appears in.)
v86_x86emu.c: In function 'x86emu_do_int':
v86_x86emu.c:32: error: 'M' undeclared (first use in this function)
v86_x86emu.c: In function 'v86_init':
v86_x86emu.c:46: error: 'X86EMU_intrFuncs' undeclared (first use in this
function)
v86_x86emu.c:46: error: expected ';' before 'intFuncs'
v86_x86emu.c:47: error: 'X86EMU_pioFuncs' undeclared (first use in this
function)
v86_x86emu.c:47: error: expected ';' before 'pioFuncs'
v86_x86emu.c:56: error: 'X86EMU_memFuncs' undeclared (first use in this
function)
v86_x86emu.c:56: error: expected ';' before 'memFuncs'
v86_x86emu.c:78: error: 'M' undeclared (first use in this function)
v86_x86emu.c:88: error: 'pioFuncs' undeclared (first use in this function)
v86_x86emu.c:89: error: 'memFuncs' undeclared (first use in this function)
v86_x86emu.c:93: error: 'intFuncs' undeclared (first use in this function)
v86_x86emu.c: In function 'rconv_v86_to_x86emu':
v86_x86emu.c:113: error: 'M' undeclared (first use in this function)
v86_x86emu.c: In function 'rconv_x86emu_to_v86':
v86_x86emu.c:132: error: 'M' undeclared (first use in this function)
v86_x86emu.c: In function 'v86_int':
v86_x86emu.c:156: error: 'M' undeclared (first use in this function)
v86_x86emu.c: In function 'v86_dump_regs':
v86_x86emu.c:177: error: 'M' undeclared (first use in this function)
make: *** [v86_x86emu.o] Error 1
błąd: Błędny status wyjścia z /home/users/builder/tmp/rpm-tmp.27843 (%build)


Błędy budowania RPM-a:
    Błędny status wyjścia z /home/users/builder/tmp/rpm-tmp.27843 (%build)
Error: package build failed. (no more info)

-- 
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/jid.pl


Więcej informacji o liście dyskusyjnej pld-devel-pl