bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

continuous integration // GNU Mach for Xen fails to build


From: Justus Winter
Subject: continuous integration // GNU Mach for Xen fails to build
Date: Wed, 18 Dec 2013 12:38:31 +0100

Hi :)

I've been playing around with buildbot, the goal is to automatically
produce Debian packages from the upstream git repositories.  This is
work in progress.

To that end I took the Debian repositories of Hurd, MIG and GNU Mach
and removed anything that is present in the upstream repositories.
The resulting repositories are here [0].

0: http://darnassus.sceen.net/gitweb/teythoon/packaging/

Any commit in the upstream repositories triggers a build.  The
upstream repository is populated with the packaging bits and a package
is build.  All packages are then uploaded here [1].

1: http://darnassus.sceen.net/~teythoon/hurd-ci/


While doing that I discovered that the recent cleanups broke GNU Mach
when compiled for the Xen target. Two issues were merely missing
includes, but now it fails like this:

% ./configure --enable-kdb --enable-platform=xen --enable-silent-rules
[...]
% make
[...]
  CPPAS    i386/i386/locore.o
In file included from i386/i386/locore.S:37:0:
i386/i386/i386asm.h:276:0: warning: "KERNEL_RING" redefined [enabled by default]
 #define KERNEL_RING 0
 ^
In file included from i386/i386/locore.S:35:0:
i386/i386/seg.h:42:0: note: this is the location of the previous definition
 #define KERNEL_RING 1
 ^
i386/i386/locore.S:1185:2: warning: #warning Assuming not Cyrix CPU [-Wcpp]
 #warning Assuming not Cyrix CPU
  ^
i386/i386/locore.S: Assembler messages:
i386/i386/locore.S:436: Error: invalid operands (*UND* and *UND* sections) for 
`+'
make[2]: *** [i386/i386/locore.o] Error 1

For quick reference, the relevant code is:

#ifdef  MACH_PV_PAGETABLES
        movl    %ss:hyp_shared_info+CR2,%eax
#else   /* MACH_PV_PAGETABLES */

Justus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]