Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141960

Summary: gentoo-sources-2.6.17-r4 fails to compile
Product: Gentoo Linux Reporter: David Carlos Manuelda <StormByte>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Kernel .config file
Kernel .config file
config

Description David Carlos Manuelda 2006-07-27 19:53:50 UTC
This is the error (I couldn't tell what option is 'cause I changed config (before it compiled cleanly).

  CHK     include/linux/compile.h
dnsdomainname: `Host' desconocido
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
mm/built-in.o: En la funci&#65533;n `online_pages':
: referencia a `online_page' sin definir
drivers/built-in.o: En la funci&#65533;n `memory_block_change_state':
memory.c:(.text.memory_block_change_state+0x19d): referencia a `remove_memory' sin definir
drivers/built-in.o: En la funci&#65533;n `memory_probe_store':
memory.c:(.text.memory_probe_store+0x19): referencia a `add_memory' sin definir
make: *** [.tmp_vmlinux1] Error 1
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-07-27 19:55:49 UTC
please attach /usr/src/linux/.config
Comment 2 David Carlos Manuelda 2006-07-27 20:15:25 UTC
Sorry for reposting: The offending kernel option wich makes it not compiling is (tested, compiles without that option): 


Processor type and features
   Memory model
      Sparse Memory
Comment 3 David Carlos Manuelda 2006-07-27 20:18:18 UTC
Created attachment 92888 [details]
Kernel .config file

This is my config without this option, it compiles cleanly, but if you reenable Sparse Memory (read my comment) you get the compile errors.
Comment 4 David Carlos Manuelda 2006-07-27 20:20:17 UTC
Created attachment 92889 [details]
Kernel .config file

This is my config without this option, it compiles cleanly, but if you reenable Sparse Memory (read my comment) you get the compile errors.
Comment 5 David Carlos Manuelda 2006-08-06 20:13:21 UTC
Did you test it? (in amd64?)
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-08-18 03:28:17 UTC
Created attachment 94522 [details]
config

Can you reproduce with this config? It works fine for me...
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-08-18 03:29:00 UTC
Ignore that, wrong config file. If you could clarify which of the above configs we are supposed to be using it would be useful...
Comment 8 David Carlos Manuelda 2006-08-18 08:51:53 UTC
Oh, I'm terribly sorry, those configs are duplicated, I don't know why, but they were send twice. So you can choose whatever of those two.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2006-08-18 09:04:24 UTC
The second one (attachment 92889 [details]) compiled fine for me, but sparse memory was not selected. I selected it and it still compiled fine.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2006-09-02 07:17:53 UTC
Please reopen when you have attached a config which *definitely* fails.
Comment 11 David Carlos Manuelda 2006-09-02 07:53:15 UTC
I will close this thread because the r7 version compiles with sparse memory.