tftpd: disallow on nios with pre-6.x toolchains
PATCH 1/1 tftpd: disallow on nios with pre-6.x toolchains
Fixes:
http://autobuild.buildroot.org/results/349/349bc8668614b0f2c970ff33f25216e708ecdb46/
http://autobuild.buildroot.org/results/264/26486e88211d01ee49ad786e9a27a67b849ad1ab/
Older toolchains contain an issue with the linker script causing failures when linking tftpd:
tftpd.c:(.text.startup+0x5c): warning: Unable to reach (null) (at 0x00000000) from the global pointer (at 0x00011a80) because the offset (-72320) is out of the allowed range, -32678 to 32767.
This is a known issue which has been fixed from 6.x, so disallow on older toolchains:
https://www.altera.com/support/support-resources/knowledge-base/solutions/rd02132012_291.html
--- package/tftpd/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/tftpd/Config.in +2 -0
@@ -1,5 +1,7 @@ config BR2_PACKAGE_TFTPD bool "tftpd" + # linker issue with pre-6.x toolchains + depends on !(BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_6) depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help
Signature · 1 line
2.8.1
PATCH 1/1 tftpd: disallow on nios with pre-6.x toolchains
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Korsgaard <[email protected]> writes:
Fixes:
http://autobuild.buildroot.org/results/349/349bc8668614b0f2c970ff33f25216e708ecdb46/
http://autobuild.buildroot.org/results/264/26486e88211d01ee49ad786e9a27a67b849ad1ab/Older toolchains contain an issue with the linker script causing failures when linking tftpd:
tftpd.c:(.text.startup+0x5c): warning: Unable to reach (null) (at
0x00000000) from the global pointer (at0x00011a80) because the offset (-72320) is out of the allowed range, -32678 to 32767.
Quoted 6 lines
This is a known issue which has been fixed from 6.x, so disallow on older toolchains:
https://www.altera.com/support/support-resources/knowledge-base/solutions/rd02132012_291.html
Signed-off-by Peter Korsgaard <[email protected]>
Committed, thanks.
Signature · 2 lines
Venlig hilsen, Peter Korsgaard