13824125580 opened a new issue #2292:
URL: https://github.com/apache/incubator-nuttx/issues/2292


   Hi folks:
    i meet a link error about symbolize relocate, the detail is as follows, my 
environment is Ubuntu14.04 with gcc version 4.8.5
   any thing wrong for me?
   thank you!
   LD: nuttx.elf
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(irq_attach.o):
 In function `irq_attach':
   irq_attach.c:(.text+0x23): relocation truncated to fit: R_X86_64_32S against 
symbol `g_irqvector' defined in COMMON section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(irq_initialize.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(irq_dispatch.o):
 In function `irq_dispatch':
   irq_dispatch.c:(.text+0x12): relocation truncated to fit: R_X86_64_32S 
against symbol `g_irqvector' defined in COMMON section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(irq_initialize.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(sched_addblocked.o):
 In function `nxsched_add_blocked':
   sched_addblocked.c:(.text+0xa): relocation truncated to fit: R_X86_64_32S 
against symbol `g_tasklisttable' defined in .data.rel.ro section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(sched_removeblocked.o):
 In function `nxsched_remove_blocked':
   sched_removeblocked.c:(.text+0x17): relocation truncated to fit: 
R_X86_64_32S against symbol `g_tasklisttable' defined in .data.rel.ro section 
in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(sched_gettcb.o):
 In function `nxsched_get_tcb':
   sched_gettcb.c:(.text+0x1d): relocation truncated to fit: R_X86_64_32S 
against symbol `g_pidhash' defined in COMMON section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(sched_verifytcb.o):
 In function `nxsched_verify_tcb':
   sched_verifytcb.c:(.text+0x13): relocation truncated to fit: R_X86_64_32S 
against symbol `g_pidhash' defined in COMMON section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(sched_releasetcb.o):
 In function `nxsched_release_tcb':
   sched_releasetcb.c:(.text+0x67): relocation truncated to fit: R_X86_64_32S 
against symbol `g_pidhash' defined in COMMON section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(sched_setpriority.o):
 In function `nxsched_set_priority':
   sched_setpriority.c:(.text+0x36): relocation truncated to fit: R_X86_64_32S 
against symbol `g_tasklisttable' defined in .data.rel.ro section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(task_restart.o):
 In function `task_restart':
   task_restart.c:(.text+0x6b): relocation truncated to fit: R_X86_64_32S 
against symbol `g_tasklisttable' defined in .data.rel.ro section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(task_terminate.o):
 In function `nxtask_terminate':
   task_terminate.c:(.text+0x32): relocation truncated to fit: R_X86_64_32S 
against symbol `g_tasklisttable' defined in .data.rel.ro section in 
/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/staging/libsched.a(nx_start.o)
   Makefile:120: recipe for target 'nuttx.elf' failed
   make[1]: *** [nuttx.elf] Error 1
   make[1]: Leaving directory 
'/home/czl/WorkSpace/smp-nuttx/nuttx-upstream/clean-code/nuttx/arch/x86_64/src'
   tools/Makefile.unix:396: recipe for target 'nuttx.elf' failed
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to