Minio Server build is broken a ===> Configuring for minio-2018.08.02.23.11.36 ===> Building for minio-2018.08.02.23.11.36 # github.com/minio/minio github.com/minio/minio/vendor/github.com/minio/highwayhash.supportsAVX2: relocation target runtime.support_avx2 not defined *** Error code 2 Stop. make: stopped in /usr/ports/www/minio Searching on error lead to this: https://github.com/minio/highwayhash/issues/6 reading through the thread it appears the issue was aidentified and fixed prior to this release, perhaps only certain CPUs are effected, my system is running what is now a rather old AMD processor AMD FX(tm)-6300 Six-Core Processor (3516.18-MHz K8-class CPU).
(In reply to Dean E. Weimer from comment #0) What version of FreeBSD. I tried 12-current i386 and got no error
(In reply to Nathan from comment #1) FreeBSD 11.2-RELEASE-p3 r338612 attempting to install in a jail, both host and jail are running the same release compiled from source. Going to go ahead and try a temporary install on host in case its a jail specific issue.
(In reply to Dean E. Weimer from comment #2) Same result on host. ===> Cleaning for minio-2018.08.02.23.11.36 ===> License APACHE20 accepted by the user ===> minio-2018.08.02.23.11.36 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by minio-2018.08.02.23.11.36 for building ===> Extracting for minio-2018.08.02.23.11.36 => SHA256 Checksum OK for minio-minio-2018.08.02.23.11.36-RELEASE.2018-08-02T23-11-36Z_GH0.tar.gz. ===> Patching for minio-2018.08.02.23.11.36 ===> minio-2018.08.02.23.11.36 depends on package: go>=1.9.4 - found ===> minio-2018.08.02.23.11.36 depends on file: /usr/local/bin/ccache - found ===> Configuring for minio-2018.08.02.23.11.36 ===> Building for minio-2018.08.02.23.11.36 # github.com/minio/minio github.com/minio/minio/vendor/github.com/minio/highwayhash.supportsAVX2: relocation target runtime.support_avx2 not defined *** Error code 2 Stop. make: stopped in /usr/ports/www/minio Are you running an Intel CPU? Looks like the reference that leads to the error maybe in specific amd64 code. Going to try an build on a different machine running an Intel CPU. /var/ports/usr/ports/www/minio/work/minio-RELEASE.2018-08-02T23-11-36Z# grep -R -I "supportsAVX2" * src/github.com/minio/minio/vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.s:// func supportsAVX2() bool src/github.com/minio/minio/vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.s:TEXT ·supportsAVX2(SB), 4, $0-1 src/github.com/minio/minio/vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.go: useAVX2 = supportsAVX2() src/github.com/minio/minio/vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.go:func supportsAVX2() bool grep: warning: src/github.com/minio/minio/src: recursive directory loop vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.s:// func supportsAVX2() bool vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.s:TEXT ·supportsAVX2(SB), 4, $0-1 vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.go: useAVX2 = supportsAVX2() vendor/github.com/minio/highwayhash/highwayhashAVX2_amd64.go:func supportsAVX2() bool
(In reply to Dean E. Weimer from comment #3) Same error on machine running with the following intel processor. CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2394.05-MHz K8-class CPU)
(In reply to Dean E. Weimer from comment #4) Tried it on 11.2 i386 no issue for me. Sorry I can not recreate to try and fix it
(In reply to Nathan from comment #5) I think I know what it could be, the processor doesn't support avx2. The Xeon doesn't have it atleast, according to http://cpu.userbenchmark.com/Compare/Intel-Xeon-E5620-vs-Intel-Core-i9-7900X/m6971vs3936 If you look at line github.com/minio/minio/vendor/github.com/minio/highwayhash.supportsAVX2: relocation target runtime.support_avx2 <-AVX2
Was able to reproduce the issue, and it seems to be solved with the update in r479968. Please let me know if it's not fixed for you. Thanks!
(In reply to Steve Wills from comment #7) Build succeeded, thanks for getting that fixed.