You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute "make arm-uboot" command,I encounter the problem:errno: TLS definition in //home/linuxbrew/.linuxbrew/Cellar/glibc/2.23/lib/libc.so.6 section .tbss mismatches non-TLS reference in /tmp/ccWHlgwX.o
/home/linuxbrew/.linuxbrew/bin/ld: //home/linuxbrew/.linuxbrew/Cellar/glibc/2.23/lib/libc.so.6: error adding symbols: bad value
After debugging,I find a global variable was declared in include/errno.h.What's the reason?Any method can solve it.
Thanks!
The text was updated successfully, but these errors were encountered:
But when I chang the "extern int errno" to "int errno" in errno.h,the problem change to common/env_sf.o: In function env_init': /home/whut/xuyonghao/RISCV/test/fpga-zynq/common/u-boot-xlnx/common/env_sf.c:221: multiple definition of errno'
common/env_attr.o:/home/whut/xuyonghao/RISCV/test/fpga-zynq/common/u-boot-xlnx/common/env_attr.c:30: first defined here
When I execute "make arm-uboot" command,I encounter the problem:errno: TLS definition in //home/linuxbrew/.linuxbrew/Cellar/glibc/2.23/lib/libc.so.6 section .tbss mismatches non-TLS reference in /tmp/ccWHlgwX.o
/home/linuxbrew/.linuxbrew/bin/ld: //home/linuxbrew/.linuxbrew/Cellar/glibc/2.23/lib/libc.so.6: error adding symbols: bad value
After debugging,I find a global variable was declared in include/errno.h.What's the reason?Any method can solve it.
Thanks!
The text was updated successfully, but these errors were encountered: