* Re: mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp)
[not found] ` <20100107080402.2f41d6f9.randy.dunlap@oracle.com>
@ 2010-01-08 6:54 ` Valdis.Kletnieks
2010-01-08 16:37 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Valdis.Kletnieks @ 2010-01-08 6:54 UTC (permalink / raw)
To: Randy Dunlap, Roman Zippel, Michal Marek
Cc: Andrew Morton, linux-kernel, linux-kbuild
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
On Thu, 07 Jan 2010 08:04:02 PST, Randy Dunlap said:
> On Wed, 06 Jan 2010 23:01:47 -0500 Valdis.Kletnieks@vt.edu wrote:
>
> > On Wed, 06 Jan 2010 22:48:16 EST, Valdis.Kletnieks@vt.edu said:
> >
> > > Building with CONFIG_SQUASHFS=m, CONFIG_SQUASHFS_LZMA=y ,
> > > and CONFIG_DECOMPRESS_LZMA=n fails:
> >
> > > Looks like a missing select/depends for DECOMPRESS_LZMA. Somebody else can
> > > decide which it should be...
> >
> > Digging further:
> >
> > x Symbol: DECOMPRESS_LZMA [=n] x
> > x Selected by: RD_LZMA [=n] && BLK_DEV_INITRD [=y] || SQUASHFS_LZMA [=y x
> >
> > How the heck did this happen? Looks like a SELECT *is* there but it's
> > not firing??!?
>
> I saw this build error in linux-next and sent a patch for it -- it's below.
> However, it doesn't appear to be exactly the same config as yours.
Yeah, that patch is how you ended up cc'ed - it was already in the linux-next
patch in Andrew's -mmotm tarball. It looked like you addressed one corner case
of the problem, and I tripped over another. But now I'm trying to get my
brain wrapped around how I was able to get SQUASHFS_LZMA=y, and it had a
select for DECOMPRESS_LZMA, but that *still* was 'n' anyhow? How did we end
up with both && and || in that 'Selected by:' line? Is that saying that
RD_LZMA needs to be on too?
Adding some plausible-sounding kbuild-related entries from MAINTAINERS to
the cc: list, maybe they can explain it...
[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp)
2010-01-08 6:54 ` mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp) Valdis.Kletnieks
@ 2010-01-08 16:37 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2010-01-08 16:37 UTC (permalink / raw)
To: Valdis.Kletnieks
Cc: Roman Zippel, Michal Marek, Andrew Morton, linux-kernel,
linux-kbuild
On Fri, 08 Jan 2010 01:54:54 -0500 Valdis.Kletnieks@vt.edu wrote:
> On Thu, 07 Jan 2010 08:04:02 PST, Randy Dunlap said:
> > On Wed, 06 Jan 2010 23:01:47 -0500 Valdis.Kletnieks@vt.edu wrote:
> >
> > > On Wed, 06 Jan 2010 22:48:16 EST, Valdis.Kletnieks@vt.edu said:
> > >
> > > > Building with CONFIG_SQUASHFS=m, CONFIG_SQUASHFS_LZMA=y ,
> > > > and CONFIG_DECOMPRESS_LZMA=n fails:
> > >
> > > > Looks like a missing select/depends for DECOMPRESS_LZMA. Somebody else can
> > > > decide which it should be...
> > >
> > > Digging further:
> > >
> > > x Symbol: DECOMPRESS_LZMA [=n] x
> > > x Selected by: RD_LZMA [=n] && BLK_DEV_INITRD [=y] || SQUASHFS_LZMA [=y x
> > >
> > > How the heck did this happen? Looks like a SELECT *is* there but it's
> > > not firing??!?
> >
> > I saw this build error in linux-next and sent a patch for it -- it's below.
> > However, it doesn't appear to be exactly the same config as yours.
>
> Yeah, that patch is how you ended up cc'ed - it was already in the linux-next
> patch in Andrew's -mmotm tarball. It looked like you addressed one corner case
> of the problem, and I tripped over another. But now I'm trying to get my
> brain wrapped around how I was able to get SQUASHFS_LZMA=y, and it had a
> select for DECOMPRESS_LZMA, but that *still* was 'n' anyhow? How did we end
> up with both && and || in that 'Selected by:' line? Is that saying that
> RD_LZMA needs to be on too?
The menuconfig display is truncated (use left/right arrow keys to pan it).
The xconfig display shows this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DECOMPRESS_LZMA
type: tristate
reverse dep: RD_LZMA && BLK_DEV_INITRD || SQUASHFS_LZMA && MISC_FILESYSTEMS && SQUASHFS
defined at lib/Kconfig:117
There is no help available for this kernel option.
Symbol: DECOMPRESS_LZMA [=n]
Selected by: RD_LZMA [=n] && BLK_DEV_INITRD [=n] || SQUASHFS_LZMA [=n] && MISC_FILESYSTEMS [=n] && SQUASHFS [=n]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the "reverse dep:" line, && has higher precedence that || does, so it's:
reverse dep: (RD_LZMA && BLK_DEV_INITRD) || (SQUASHFS_LZMA && MISC_FILESYSTEMS && SQUASHFS)
So RD_LZMA and BLK_DEV_INITRD don't matter.
> Adding some plausible-sounding kbuild-related entries from MAINTAINERS to
> the cc: list, maybe they can explain it...
---
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-08 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201001062259.o06MxQrp023236@imap1.linux-foundation.org>
[not found] ` <12343.1262836096@localhost>
[not found] ` <12823.1262836907@localhost>
[not found] ` <20100107080402.2f41d6f9.randy.dunlap@oracle.com>
2010-01-08 6:54 ` mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp) Valdis.Kletnieks
2010-01-08 16:37 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox