daniel-dlds opened a new issue, #20154:
URL: https://github.com/apache/nuttx/issues/20154

   ### Description
   
   I do a : ./tools/configure.sh -l rv-virt:nsh64
   
   The last part of the build output is : 
   
   CC:  libm/lib_gamma.c libm/lib_gamma.c:154:15: warning: declaration of 
'sinpi' shadows a built-in function [-Wshadow]
     154 | static double sinpi(double x)
         |               ^~~~~
   CPP:  
/mnt/c/devtools/nuttxspace/nuttx/boards/risc-v/qemu-rv/rv-virt/scripts/ld.script->
 /mnt/c/devtools/nuttxspace/nuttLD: nuttx
   /opt/riscv/bin/riscv64-unknown-elf-ld: warning: 
/mnt/c/devtools/nuttxspace/nuttx/nuttx has a LOAD segment with RWX permissions
   /opt/riscv/lib/gcc/riscv64-unknown-elf/16.1.0/libgcc.a(_clzsi2.o): in 
function `__clzdi2':
   
/mnt/c/devtools/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv64-unknown-elf/libgcc/../../.././gcc/libgcc/libgcc2.c:690:(.text+0x18):
 relocation truncated to fit: R_RISCV_HI20 against symbol `__clz_tab' defined 
in .rodata section in 
/opt/riscv/lib/gcc/riscv64-unknown-elf/16.1.0/libgcc.a(_clz.o)
   /opt/riscv/lib/gcc/riscv64-unknown-elf/16.1.0/libgcc.a(_udivdi3.o): in 
function `__udivmodti4':
   
/mnt/c/devtools/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv64-unknown-elf/libgcc/../../.././gcc/libgcc/libgcc2.c:1050:(.text+0x26):
 relocation truncated to fit: R_RISCV_HI20 against symbol `__clz_tab' defined 
in .rodata section in 
/opt/riscv/lib/gcc/riscv64-unknown-elf/16.1.0/libgcc.a(_clz.o)
   /opt/riscv/lib/gcc/riscv64-unknown-elf/16.1.0/libgcc.a(_ffssi2.o): in 
function `__ffsdi2':
   
/mnt/c/devtools/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv64-unknown-elf/libgcc/../../.././gcc/libgcc/libgcc2.c:501:(.text+0x1a):
 relocation truncated to fit: R_RISCV_HI20 against symbol `__clz_tab' defined 
in .rodata section in 
/opt/riscv/lib/gcc/riscv64-unknown-elf/16.1.0/libgcc.a(_clz.o)
   Memory region         Used Size  Region Size  %age Used
   make[1]: *** [Makefile:195: nuttx] Error 1
   make: *** [tools/Unix.mk:572: nuttx] Error 2
   
   Don't have enough experience to know what this is.
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to