mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Valdis.Kletnieks@vt.edu
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp)
Date: Thu, 7 Jan 2010 08:04:02 -0800	[thread overview]
Message-ID: <20100107080402.2f41d6f9.randy.dunlap@oracle.com> (raw)
In-Reply-To: <12823.1262836907@localhost>

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.


---
From: Randy Dunlap <randy.dunlap@oracle.com>

When CONFIG_SQUASHFS=m and CONFIG_DECOMPRESS_LZMA=m, decompress_lzma
is built but then discarded from the library because no built-in code
uses it, so change it from a lib- to an obj- to force it to be kept
in the library.

ERROR: "unlzma" [fs/squashfs/squashfs.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Cc: Michal Marek <mmarek@suse.cz>
---
 lib/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100101.orig/lib/Makefile
+++ linux-next-20100101/lib/Makefile
@@ -69,7 +69,7 @@ obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
 
 lib-$(CONFIG_DECOMPRESS_GZIP) += decompress_inflate.o
 lib-$(CONFIG_DECOMPRESS_BZIP2) += decompress_bunzip2.o
-lib-$(CONFIG_DECOMPRESS_LZMA) += decompress_unlzma.o
+obj-$(CONFIG_DECOMPRESS_LZMA) += decompress_unlzma.o
 
 obj-$(CONFIG_TEXTSEARCH) += textsearch.o
 obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o

  reply	other threads:[~2010-01-07 16:05 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 22:34 mmotm 2010-01-06-14-34 uploaded akpm
2010-01-07  0:57 ` [PATCH -mmotm] memcg: implement memory thresholds document fixes Daisuke Nishimura
2010-01-07  1:18   ` KAMEZAWA Hiroyuki
2010-01-07  1:34     ` Daisuke Nishimura
2010-01-07  1:40       ` KAMEZAWA Hiroyuki
2010-01-07  8:54         ` Balbir Singh
2010-01-07  8:52     ` Balbir Singh
2010-01-07  9:04       ` KAMEZAWA Hiroyuki
2010-01-07  6:29   ` Kirill A. Shutemov
2010-01-07  1:08 ` mmotm 2010-01-06-14-34 uploaded (kernel/cgroup) Randy Dunlap
2010-01-07  2:31   ` KAMEZAWA Hiroyuki
2010-01-07  2:41     ` Li Zefan
2010-01-07  2:47       ` KAMEZAWA Hiroyuki
2010-01-07  3:04         ` Li Zefan
2010-01-07 16:47     ` Randy Dunlap
2010-01-07 17:29     ` Kirill A. Shutemov
2010-01-07  1:10 ` mmotm 2010-01-06-14-34 uploaded (mm/memcontrol) Randy Dunlap
2010-01-07  2:13   ` Daisuke Nishimura
2010-01-07  2:21     ` KAMEZAWA Hiroyuki
2010-01-07  2:59       ` Daisuke Nishimura
2010-01-07  3:02         ` KAMEZAWA Hiroyuki
2010-01-07  4:06           ` [PATCH -mmotm] build fix for memcg-move-charges-of-anonymous-swap.patch Daisuke Nishimura
2010-01-07  4:30             ` KAMEZAWA Hiroyuki
2010-01-07  5:07               ` KAMEZAWA Hiroyuki
2010-01-07  5:14               ` Daisuke Nishimura
2010-01-07  5:52                 ` KAMEZAWA Hiroyuki
2010-01-07 11:23                   ` How should we handle CONFIG_CGROUP_MEM_RES_CTRL_SWAP (Re: [PATCH -mmotm] build fix for memcg-move-charges-of-anonymous-swap.patch) Daisuke Nishimura
2010-01-07 12:38                     ` Balbir Singh
2010-01-07  4:06           ` [PATCH -mmotm] build fix for memcg-improve-performance-in-moving-swap-charge.patch Daisuke Nishimura
2010-01-07  4:31             ` KAMEZAWA Hiroyuki
2010-01-07  3:48 ` mmotm 2010-01-06-14-34 uploaded Valdis.Kletnieks
2010-01-07  4:01   ` Valdis.Kletnieks
2010-01-07 16:04     ` Randy Dunlap [this message]
2010-01-08  6:54       ` mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp) Valdis.Kletnieks
2010-01-08 16:37         ` Randy Dunlap
2010-01-07 17:13     ` mmotm 2010-01-06-14-34 uploaded Randy Dunlap
2010-01-08 22:21 ` mmotm 2010-01-06-14-34 - crash in CPUfreq Valdis.Kletnieks
2010-01-11 15:39   ` Minchan Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100107080402.2f41d6f9.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome