Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can not build Linux kernel: additional relocation overflows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Fri Sep 30, 2005 1:01 am    Post subject: can not build Linux kernel: additional relocation overflows Reply with quote

after grabbing vanilla-sources + genkernel:

here is end of genkernel log ... error at bottom of page.

[...]
LOGO drivers/video/logo/logo_parisc_clut224.c
LOGO drivers/video/logo/logo_sgi_clut224.c
LOGO drivers/video/logo/logo_sun_clut224.c
LOGO drivers/video/logo/logo_superh_clut224.c
CC drivers/video/logo/logo_linux_mono.o
CC drivers/video/logo/logo_linux_vga16.o
CC drivers/scsi/qla2xxx/qla_sup.o
CC drivers/video/logo/logo_linux_clut224.o
LD drivers/video/console/built-in.o
CC drivers/video/savage/savagefb_driver.o
CC drivers/video/logo/logo_dec_clut224.o
LD drivers/video/logo/built-in.o
CC drivers/video/fbmem.o
drivers/scsi/dtc.c:187: warning: `dtc_setup' defined but not used
drivers/scsi/NCR5380.c:352: warning: `phases' defined but not used
CC drivers/scsi/tmscsim.o
CC drivers/scsi/qla2xxx/qla_rscn.o
CC drivers/scsi/qla2xxx/qla_attr.o
CC drivers/scsi/qla2xxx/ql6312.o
CC drivers/video/fbmon.o
CC drivers/scsi/qla2xxx/ql6312_fw.o
CC drivers/scsi/atp870u.o
LD drivers/video/savage/savagefb.o
LD drivers/video/savage/built-in.o
CC drivers/video/fbcmap.o
LD drivers/scsi/sd_mod.o
LD drivers/scsi/sr_mod.o
LD drivers/scsi/qla2xxx/qla2xxx.o
CC drivers/scsi/sg.o
LD drivers/scsi/qla2xxx/qla2100.o
LD drivers/scsi/qla2xxx/qla2200.o
LD drivers/scsi/qla2xxx/qla2300.o
LD drivers/scsi/qla2xxx/qla2322.o
LD drivers/scsi/qla2xxx/qla6312.o
LD drivers/scsi/qla2xxx/built-in.o
LD drivers/scsi/scsi_mod.o
CC drivers/video/fbsysfs.o
CC drivers/video/modedb.o
CC drivers/video/cfbfillrect.o
CC drivers/video/cfbcopyarea.o
CC drivers/video/cfbimgblt.o
CC drivers/video/softcursor.o
LD drivers/video/fb.o
LD drivers/video/built-in.o
LD drivers/scsi/built-in.o
LD drivers/built-in.o
GEN .version
CHK include/linux/compile.h
dnsdomainname: Unknown host
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
init/built-in.o(.text+0x140): In function `init':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0x148): In function `init':
: relocation truncated to fit: GPREL16 child_reaper
init/built-in.o(.text+0x1d0): In function `init':
: relocation truncated to fit: GPREL16 .sbss
init/built-in.o(.text+0x208): In function `init':
: relocation truncated to fit: GPREL16 system_state
init/built-in.o(.text+0x248): In function `init':
: relocation truncated to fit: GPREL16 .sbss
init/built-in.o(.text+0xc28): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sbss
init/built-in.o(.text+0xc50): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0xc54): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0xdec): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0xdf0): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.init.text+0x8): In function `nosmp':
: additional relocation overflows omitted from the output
make: *** [.tmp_vmlinux1] Error 1
* ERROR: Failed to compile the "boot" target...

* -- Grepping log... --

CC kernel/rcupdate.o
CC sound/core/pcm_native.o
CC kernel/intermodule.o
CC kernel/extable.o
CC fs/fifo.o
kernel/intermodule.c:179: warning: `inter_module_register' is deprecated (declared at kernel/intermodule.c:38
)

kernel/intermodule.c:180: warning: `inter_module_unregister' is deprecated (declared at kernel/intermodule.c:
79)
kernel/intermodule.c:182: warning: `inter_module_put' is deprecated (declared at kernel/intermodule.c:160)
--
CC fs/coda/coda_linux.o
CC drivers/i2c/busses/i2c-amd756-s4882.o
CC net/core/stream.o
CC net/core/scm.o
fs/coda/coda_linux.c: In function `coda_iattr_to_vattr':
fs/coda/coda_linux.c:139: warning: large integer implicitly truncated to unsigned type
--
CC fs/jfs/jfs_logmgr.o
CC fs/nfsd/nfsproc.o
CC drivers/ide/pci/serverworks.o
CC fs/jffs2/writev.o

fs/jfs/jfs_logmgr.c: In function `jfs_flush_journal':
fs/jfs/jfs_logmgr.c:1632: warning: unused variable `mp'
--
LD drivers/ide/built-in.o
CC drivers/input/input.o
CC net/ipv6/raw.o
CC fs/sysfs/file.o
fs/smbfs/proc.c: In function `smb_proc_trunc64':
fs/smbfs/proc.c:1779: warning: large integer implicitly truncated to unsigned type
CC fs/sysfs/dir.o
CC drivers/input/mousedev.o
CC fs/sysfs/symlink.o
fs/smbfs/proc.c: In function `smb_proc_setattr_unix':
fs/smbfs/proc.c:3093: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3111: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3111: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3111: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3112: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3112: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3112: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3113: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3113: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3113: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3114: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3114: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3114: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3115: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3115: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3116: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3116: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3121: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3121: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function `smb_proc_read_link':
fs/smbfs/proc.c:3272: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function `smb_proc_symlink':
fs/smbfs/proc.c:3321: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function `smb_proc_link':
fs/smbfs/proc.c:3364: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function `smb_proc_query_cifsunix':
fs/smbfs/proc.c:3408: warning: large integer implicitly truncated to unsigned type
--
CC drivers/md/xor.o
CC net/ipv4/ipconfig.o
CC fs/reiserfs/objectid.o
CC drivers/md/dm.o
CC fs/udf/ialloc.o
include/asm-generic/xor.h:696: warning: `xor_block_8regs_p' defined but not used
include/asm-generic/xor.h:704: warning: `xor_block_32regs_p' defined but not used
--
CC drivers/mtd/chips/cfi_probe.o
CC fs/ufs/super.o
CC fs/xfs/xfs_attr.o
CC drivers/mtd/chips/cfi_util.o
drivers/net/e1000/e1000_main.c: In function `e1000_clean_tx_irq':
drivers/net/e1000/e1000_main.c:2772: warning: long long unsigned int format, uint64_t arg (arg 8)
CC drivers/mtd/chips/cfi_cmdset_0020.o
CC net/xfrm/xfrm_state.o
CC net/sunrpc/svcauth.o
CC fs/ufs/symlink.o
drivers/mtd/chips/cfi_cmdset_0020.c: In function `cfi_staa_init':
drivers/mtd/chips/cfi_cmdset_0020.c:1406: warning: `inter_module_register' is deprecated (declared at include
/linux/module.h:564)
drivers/mtd/chips/cfi_cmdset_0020.c: In function `cfi_staa_exit':
drivers/mtd/chips/cfi_cmdset_0020.c:1412: warning: `inter_module_unregister' is deprecated (declared at inclu
de/linux/module.h:565)
--
CC net/sunrpc/xdr.o
LD fs/ufs/ufs.o
LD fs/ufs/built-in.o
CC net/sunrpc/sunrpc_syms.o
drivers/mtd/chips/cfi_cmdset_0002.c: In function `cfi_amdstd_init':
drivers/mtd/chips/cfi_cmdset_0002.c:1499: warning: `inter_module_register' is deprecated (declared at include
/linux/module.h:564)
drivers/mtd/chips/cfi_cmdset_0002.c: In function `cfi_amdstd_exit':
drivers/mtd/chips/cfi_cmdset_0002.c:1506: warning: `inter_module_unregister' is deprecated (declared at inclu
de/linux/module.h:565)
--
CC drivers/net/e1000/e1000_ethtool.o
CC drivers/mtd/chips/cfi_cmdset_0001.o
CC net/sunrpc/rpc_pipe.o
CC fs/xfs/xfs_behavior.o

drivers/mtd/chips/cfi_cmdset_0001.c: In function `fixup_use_point':
drivers/mtd/chips/cfi_cmdset_0001.c:186: warning: unused variable `map'
--
CC fs/xfs/xfs_bit.o
CC fs/xfs/xfs_bmap.o
CC net/sunrpc/sysctl.o
CC net/sunrpc/auth_gss/auth_gss.o
drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_init':
drivers/mtd/chips/cfi_cmdset_0001.c:2144: warning: `inter_module_register' is deprecated (declared at include
/linux/module.h:564)
drivers/mtd/chips/cfi_cmdset_0001.c:2145: warning: `inter_module_register' is deprecated (declared at include
/linux/module.h:564)
drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_exit':
drivers/mtd/chips/cfi_cmdset_0001.c:2151: warning: `inter_module_unregister' is deprecated (declared at inclu
de/linux/module.h:565)
drivers/mtd/chips/cfi_cmdset_0001.c:2152: warning: `inter_module_unregister' is deprecated (declared at inclu
de/linux/module.h:565)
--
CC drivers/net/e1000/e1000_param.o
CC drivers/mtd/chips/gen_probe.o
LD net/xfrm/built-in.o
CC net/sysctl_net.o
drivers/mtd/chips/gen_probe.c: In function `cfi_cmdset_unknown':
drivers/mtd/chips/gen_probe.c:210: warning: `inter_module_put' is deprecated (declared at include/linux/modul
e.h:568)
--
CC drivers/pci/bus.o
CC fs/xfs/xfs_dir2_leaf.o
CC drivers/pci/probe.o
CC drivers/net/tulip/pnic.o

drivers/pci/probe.c: In function `pci_read_bases':
drivers/pci/probe.c:166: warning: large integer implicitly truncated to unsigned type
drivers/pci/probe.c:216: warning: large integer implicitly truncated to unsigned type
--
CC drivers/net/eepro100.o
CC drivers/usb/host/ohci-hcd.o
CC drivers/scsi/BusLogic.o
CC drivers/net/sis900.o
drivers/scsi/BusLogic.c: In function `BusLogic_InitializeProbeInfoListISA':
drivers/scsi/BusLogic.c:583: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:585: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:587: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:589: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:591: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:593: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c: In function `BusLogic_InitializeMultiMasterProbeInfo':
drivers/scsi/BusLogic.c:799: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:809: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:811: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:813: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:815: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:817: warning: `check_region' is deprecated (declared at include/linux/ioport.h:124)
CC drivers/net/tg3.o
CC drivers/scsi/g_NCR5380.o
CC drivers/usb/host/uhci-hcd.o
CC drivers/net/via-rhine.o
CC drivers/net/mii.o
drivers/scsi/NCR5380.c:704: warning: `notyet_generic_proc_info' defined but not used
drivers/scsi/g_NCR5380.c:933: warning: `id_table' defined but not used
CC drivers/scsi/qlogicfas408.o
include/linux/slab.h: At top level:
drivers/scsi/BusLogic.c:2954: warning: `BusLogic_AbortCommand' defined but not used
--
LD drivers/video/console/built-in.o
CC drivers/video/savage/savagefb_driver.o
CC drivers/video/logo/logo_dec_clut224.o
LD drivers/video/logo/built-in.o
CC drivers/video/fbmem.o
drivers/scsi/dtc.c:187: warning: `dtc_setup' defined but not used
drivers/scsi/NCR5380.c:352: warning: `phases' defined but not used
--
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0xdf0): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.init.text+0x8): In function `nosmp':
: additional relocation overflows omitted from the output
make: *** [.tmp_vmlinux1] Error 1
* CMD_MAKEOPTS: -j6
* Gentoo Linux Genkernel; Version 3.3.6
* Running with options: --makeopts=-j6 all

* ERROR: Failed to compile the "boot" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

real 102m50.870s
user 95m32.622s
sys 6m0.585s
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Fri Sep 30, 2005 1:02 am    Post subject: Reply with quote

I never had such an error on x86.
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Fri Sep 30, 2005 2:08 am    Post subject: Reply with quote

What arch is this? MIPS, Sparc, Alpha, PA-RISC, S/390???
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Sun Oct 02, 2005 11:31 pm    Post subject: Reply with quote

two box with bi-alpha each.

dual Alpha EV56, 1GB RAM, 4GB SCSI HDDs.

do you want my .config ?
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
Kloeri
Retired Dev
Retired Dev


Joined: 02 Sep 2002
Posts: 144

PostPosted: Mon Oct 03, 2005 10:51 pm    Post subject: Re: can not build Linux kernel: additional relocation overfl Reply with quote

doublehp wrote:

init/built-in.o(.text+0xc54): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0xdec): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.text+0xdf0): In function `calibrate_delay':
: relocation truncated to fit: GPREL16 .sdata
init/built-in.o(.init.text+0x8): In function `nosmp':
: additional relocation overflows omitted from the output
make: *** [.tmp_vmlinux1] Error 1
* ERROR: Failed to compile the "boot" target...


This is a known problem with 2.6 kernels on alpha when you enable too many drivers / features. You should file a bug on https://bugs.gentoo.org if you're using the default genkernel configuration. If not, disable some drivers and try again.
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Mon Oct 03, 2005 11:01 pm    Post subject: Reply with quote

could you provide me some URL about this 'known bug' ?
I already opened a bug against several prebuild Debian kernels: I cant find any 2.6-SMP able to stand until the point to mount / ...

I am now wondering if this bug is inherent to 2.6 ?
SMP on Alpha ? obviously not since 2.4-SMP work fine.
my box ?
dual EV56 ?
my SRM ? - which I am trying to upgrade since now 3 weeks.

I have now about 24h of testing to do before being able to provide any usable conclusion for forums :( ...
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
Kloeri
Retired Dev
Retired Dev


Joined: 02 Sep 2002
Posts: 144

PostPosted: Tue Oct 04, 2005 9:46 am    Post subject: Reply with quote

doublehp wrote:
could you provide me some URL about this 'known bug' ?
I already opened a bug against several prebuild Debian kernels: I cant find any 2.6-SMP able to stand until the point to mount / ...

I am now wondering if this bug is inherent to 2.6 ?
SMP on Alpha ? obviously not since 2.4-SMP work fine.
my box ?
dual EV56 ?
my SRM ? - which I am trying to upgrade since now 3 weeks.

I have now about 24h of testing to do before being able to provide any usable conclusion for forums :( ...

No links unfortunately but I've been experiencing this bug myself when building install cd kernels.

Regarding 2.6 kernels and SMP I'd suggest using <2.6.10 kernels as 2.6.10 and 2.6.11 is known to be quite broken when using SMP. I haven't been able to test newer kernels on SMP boxes so I can't say if the SMP problems are fixed yet.
Back to top
View user's profile Send private message
evilbob01
n00b
n00b


Joined: 12 Apr 2007
Posts: 5

PostPosted: Fri Jan 13, 2012 8:59 pm    Post subject: Reply with quote

Sorry to bump an old thread but I am having this same issue with the gentoo-sources and genkernel. Trying to compile the kernel on an single Alpha ev56.

I am going to try manually configuring without SMP enabled.
Back to top
View user's profile Send private message
JohnQMetro
n00b
n00b


Joined: 26 Jun 2011
Posts: 12

PostPosted: Fri Jan 20, 2012 3:37 am    Post subject: Reply with quote

This may be too late, but I had a similar problem on my alpha machine, which I fixed by manually removing the flag -msmall-data from the kernel Makefile for the Alpha.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum