Skip to content

Commit 80cb85b

Browse files
committed
Remove outdated comment
1 parent fa69a61 commit 80cb85b

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

DistTasks.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -156,34 +156,6 @@ tasks:
156156
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_6"
157157
BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
158158
BUILD_PLATFORM: "linux/armv6"
159-
# We are experiencing the following error with ARMv6 build:
160-
#
161-
# # github.com/arduino/arduino-cli
162-
# net(.text): unexpected relocation type 296 (R_ARM_V4BX)
163-
# panic: runtime error: invalid memory address or nil pointer dereference
164-
# [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x51ae53]
165-
#
166-
# goroutine 1 [running]:
167-
# cmd/link/internal/loader.(*Loader).SymName(0xc000095c00, 0x0, 0xc0000958d8, 0x5a0ac)
168-
# /usr/local/go/src/cmd/link/internal/loader/loader.go:684 +0x53
169-
# cmd/link/internal/ld.dynrelocsym2(0xc000095880, 0x5a0ac)
170-
# /usr/local/go/src/cmd/link/internal/ld/data.go:777 +0x295
171-
# cmd/link/internal/ld.(*dodataState).dynreloc2(0xc007df9800, 0xc000095880)
172-
# /usr/local/go/src/cmd/link/internal/ld/data.go:794 +0x89
173-
# cmd/link/internal/ld.(*Link).dodata2(0xc000095880, 0xc007d00000, 0x60518, 0x60518)
174-
# /usr/local/go/src/cmd/link/internal/ld/data.go:1434 +0x4d4
175-
# cmd/link/internal/ld.Main(0x8729a0, 0x4, 0x8, 0x1, 0xd, 0xe, 0x0, 0x0, 0x6d7737, 0x12, ...)
176-
# /usr/local/go/src/cmd/link/internal/ld/main.go:302 +0x123a
177-
# main.main()
178-
# /usr/local/go/src/cmd/link/main.go:68 +0x1dc
179-
# Error: failed building for linux/armv6: exit status 2
180-
#
181-
# This seems to be a problem in the go builder 1.16.x that removed support for the R_ARM_V4BX instruction:
182-
# https://github.com/golang/go/pull/44998
183-
# https://groups.google.com/g/golang-codereviews/c/yzN80xxwu2E
184-
#
185-
# Until there is a fix released we must use a recent gcc for Linux_ARMv6 build, so for this
186-
# build we select the debian10 based container.
187159
CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian9"
188160
PACKAGE_PLATFORM: "Linux_ARMv6"
189161
PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz"

0 commit comments

Comments
 (0)