All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG: make O= broken
@ 2006-12-07 10:19 Gerd Hoffmann
  2006-12-07 10:32 ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Gerd Hoffmann @ 2006-12-07 10:19 UTC (permalink / raw)
  To: Xen devel list

  Hi,

Building xenlinux kernels with separate source/build trees (aka "make
O=/path/to/build/tree") doesn't work.

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: BUG: make O= broken
  2006-12-07 10:19 BUG: make O= broken Gerd Hoffmann
@ 2006-12-07 10:32 ` Ian Campbell
  2006-12-07 11:00   ` Gerd Hoffmann
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Campbell @ 2006-12-07 10:32 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Xen devel list

On Thu, 2006-12-07 at 11:19 +0100, Gerd Hoffmann wrote:
> Building xenlinux kernels with separate source/build trees (aka "make
> O=/path/to/build/tree") doesn't work.

I build that way all the time, what specifically is broken?

Ian.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: BUG: make O= broken
  2006-12-07 10:32 ` Ian Campbell
@ 2006-12-07 11:00   ` Gerd Hoffmann
  2006-12-07 11:08     ` Ian Campbell
  2006-12-07 13:18     ` Muli Ben-Yehuda
  0 siblings, 2 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2006-12-07 11:00 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Xen devel list

Ian Campbell wrote:
> On Thu, 2006-12-07 at 11:19 +0100, Gerd Hoffmann wrote:
>> Building xenlinux kernels with separate source/build trees (aka "make
>> O=/path/to/build/tree") doesn't work.
> 
> I build that way all the time, what specifically is broken?

Sorry, was something different.

I've tried to turn the sparse tree into a big patch (is there an easy
way to do this btw?).  Documentation/dontdiff excludes too much giving
me a incomplete xenlinux tree, which in turn generated build errors
looking much like it takes the wrong (native) include files.  I've seen
that in the past with O=, so I blamed it first ...

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: BUG: make O= broken
  2006-12-07 11:00   ` Gerd Hoffmann
@ 2006-12-07 11:08     ` Ian Campbell
  2006-12-07 11:18       ` Gerd Hoffmann
  2006-12-07 13:18     ` Muli Ben-Yehuda
  1 sibling, 1 reply; 6+ messages in thread
From: Ian Campbell @ 2006-12-07 11:08 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Xen devel list

On Thu, 2006-12-07 at 12:00 +0100, Gerd Hoffmann wrote:
> I've tried to turn the sparse tree into a big patch (is there an easy
> way to do this btw?).

make linux-2.6-xen.patch should give you a patch against the upstream
kernel, is that what you are looking for?

>   Documentation/dontdiff excludes too much giving
> me a incomplete xenlinux tree, which in turn generated build errors
> looking much like it takes the wrong (native) include files.  I've seen
> that in the past with O=, so I blamed it first ...

That's strange -- I wouldn't expect the sparse tree to add anything
which would be listed in dontdiff. Are the symlinks into the sparse tree
confusing diff perhaps?

Ian.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: BUG: make O= broken
  2006-12-07 11:08     ` Ian Campbell
@ 2006-12-07 11:18       ` Gerd Hoffmann
  0 siblings, 0 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2006-12-07 11:18 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Xen devel list

Ian Campbell wrote:
> On Thu, 2006-12-07 at 12:00 +0100, Gerd Hoffmann wrote:
>> I've tried to turn the sparse tree into a big patch (is there an easy
>> way to do this btw?).
> 
> make linux-2.6-xen.patch should give you a patch against the upstream
> kernel, is that what you are looking for?

I needed a patch against the ref tree, not the pristine tree.  It should
come close though, I'll have a look.

>>   Documentation/dontdiff excludes too much giving
>> me a incomplete xenlinux tree, which in turn generated build errors
>> looking much like it takes the wrong (native) include files.  I've seen
>> that in the past with O=, so I blamed it first ...
> 
> That's strange -- I wouldn't expect the sparse tree to add anything
> which would be listed in dontdiff. Are the symlinks into the sparse tree
> confusing diff perhaps?

No.  Fixed up dontdiff, now it works, at least as long as I do the
"prep" step only.  Offending entries:

  asm-offset.c  (which is a bug IMHO).
  asm           (probably to catch include/asm symlink, but catches
                 include/asm-{arch}/mach-xen/asm too).
  version.h     (guess for the generated include/linux/version.h,
                 but catches include/xen/interface/version.h too).

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: BUG: make O= broken
  2006-12-07 11:00   ` Gerd Hoffmann
  2006-12-07 11:08     ` Ian Campbell
@ 2006-12-07 13:18     ` Muli Ben-Yehuda
  1 sibling, 0 replies; 6+ messages in thread
From: Muli Ben-Yehuda @ 2006-12-07 13:18 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Xen devel list, Ian Campbell

On Thu, Dec 07, 2006 at 12:00:32PM +0100, Gerd Hoffmann wrote:

> I've tried to turn the sparse tree into a big patch (is there an easy
> way to do this btw?).  Documentation/dontdiff excludes too much giving
> me a incomplete xenlinux tree, which in turn generated build errors
> looking much like it takes the wrong (native) include files.  I've seen
> that in the past with O=, so I blamed it first ...

I'm guess you got bit by dontdiff excluding `asm'? unfortunate naming
there of asm-i386/mach-xen/asm and asm-x86/mach-xen/asm.

Cheers,
Muli

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-12-07 13:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 10:19 BUG: make O= broken Gerd Hoffmann
2006-12-07 10:32 ` Ian Campbell
2006-12-07 11:00   ` Gerd Hoffmann
2006-12-07 11:08     ` Ian Campbell
2006-12-07 11:18       ` Gerd Hoffmann
2006-12-07 13:18     ` Muli Ben-Yehuda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.