Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258032 - sys-kernel/gentoo-sources-2.6.28-r1 fail to compile with reiser4
Summary: sys-kernel/gentoo-sources-2.6.28-r1 fail to compile with reiser4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-07 15:35 UTC by Mathieu Belanger
Modified: 2009-02-12 21:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix the problem (reiser4_page_cache.patch,403 bytes, patch)
2009-02-07 15:36 UTC, Mathieu Belanger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Belanger 2009-02-07 15:35:23 UTC
The sys-kernel/gentoo-sources-2.6.28-r1 kernel fail to compile when reiser4 support is enabled.

  CC      fs/reiser4/debug.o
  CC      fs/reiser4/jnode.o
  CC      fs/reiser4/znode.o
  CC      fs/reiser4/key.o
  CC      fs/reiser4/pool.o
  CC      fs/reiser4/tree_mod.o
  CC      fs/reiser4/estimate.o
  CC      fs/reiser4/carry.o
  CC      fs/reiser4/carry_ops.o
  CC      fs/reiser4/lock.o
  CC      fs/reiser4/tree.o
  CC      fs/reiser4/context.o
  CC      fs/reiser4/tap.o
  CC      fs/reiser4/coord.o
  CC      fs/reiser4/block_alloc.o
  CC      fs/reiser4/txnmgr.o
  CC      fs/reiser4/kassign.o
  CC      fs/reiser4/flush.o
  CC      fs/reiser4/wander.o
  CC      fs/reiser4/eottl.o
  CC      fs/reiser4/search.o
  CC      fs/reiser4/page_cache.o
  CC      fs/reiser4/seal.o
  CC      fs/reiser4/dscale.o
  CC      fs/reiser4/flush_queue.o
  CC      fs/reiser4/ktxnmgrd.o
  CC      fs/reiser4/blocknrset.o
  CC      fs/reiser4/super.o
  CC      fs/reiser4/super_ops.o
  CC      fs/reiser4/fsdata.o
  CC      fs/reiser4/export_ops.o
  CC      fs/reiser4/oid.o
  CC      fs/reiser4/tree_walk.o
  CC      fs/reiser4/inode.o
  CC      fs/reiser4/vfs_ops.o
  CC      fs/reiser4/as_ops.o
  CC      fs/reiser4/entd.o
  CC      fs/reiser4/readahead.o
  CC      fs/reiser4/status_flags.o
  CC      fs/reiser4/init_super.o
  CC      fs/reiser4/safe_link.o
  CC      fs/reiser4/plugin/plugin.o
  CC      fs/reiser4/plugin/plugin_set.o
  CC      fs/reiser4/plugin/node/node.o
  CC      fs/reiser4/plugin/object.o
  CC      fs/reiser4/plugin/cluster.o
  CC      fs/reiser4/plugin/inode_ops.o
  CC      fs/reiser4/plugin/inode_ops_rename.o
  CC      fs/reiser4/plugin/file_ops.o
  CC      fs/reiser4/plugin/file_ops_readdir.o
  CC      fs/reiser4/plugin/file_plugin_common.o
  CC      fs/reiser4/plugin/file/file.o
  CC      fs/reiser4/plugin/file/tail_conversion.o
  CC      fs/reiser4/plugin/file/file_conversion.o
fs/reiser4/plugin/file/file_conversion.c: In function ‘reiser4_write_begin_careful’:
fs/reiser4/plugin/file/file_conversion.c:689: error: implicit declaration of function ‘__grab_cache_page’
fs/reiser4/plugin/file/file_conversion.c:689: warning: assignment makes pointer from integer without a cast
make[2]: *** [fs/reiser4/plugin/file/file_conversion.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

I made a patch to get it work!
Comment 1 Mathieu Belanger 2009-02-07 15:36:38 UTC
Created attachment 181263 [details, diff]
Patch to fix the problem
Comment 2 Pacho Ramos gentoo-dev 2009-02-11 08:46:20 UTC
I thought that gentoo-sources wasn't providing reiser4 (and I think that still is not providing it) :-/
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2009-02-12 21:06:02 UTC
Indeed, gentoo-sources does not include reiser4. You must have patched it in, and we can't support kernels that are patched in that way.