Closed hex108 closed 3 years ago
Add support for building caelus in a docker container, then we could build it on anywhere :)
/help
lgtm
[root@VM-226-219-centos /data/caelus]# make build ./hack/format.sh ./hack/build.sh
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: /tmp/go-link-294188296/000010.o: unrecognized relocation (0x2a) in section `.text' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status
make: *** [build] Error 2
[root@VM-226-219-centos /data/caelus]# make build ./hack/format.sh ./hack/build.sh
github.com/tencent/caelus/cmd/caelus
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: /tmp/go-link-294188296/000010.o: unrecognized relocation (0x2a) in section `.text' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status
make: *** [build] Error 2
[root@VM-226-219-centos /data/caelus]# ld -v GNU ld (GNU Binutils) 2.26.1
fixed by update GNU ld to 2.26.1
building caelus in docker image is in processing
building caelus in docker image has been supported, @hex108
Thanks!
Add support for building caelus in a docker container, then we could build it on anywhere :)
/help