[Bug 279609] www/h2o: build error with avx2 supported CPUTYPE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jun 2024 12:38:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279609 Bug ID: 279609 Summary: www/h2o: build error with avx2 supported CPUTYPE Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: dch@freebsd.org Reporter: nork@FreeBSD.org Flags: maintainer-feedback?(dch@freebsd.org) Assignee: dch@freebsd.org On CPUTYPE=avx2 supported amd64 arch, I got following compile error: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : /usr/ports/www/h2o/work/h2o-222b36d/deps/picotls/lib/fusion.c:1901:5: error: always_inline function '_mm256_aesenc_epi128' requires target feature 'vaes', but would be inlined into function 'non_temporal_encrypt_v256' that is compiled without support for 'vaes' 1901 | AESECB6_UPDATE(1); | ^ /usr/ports/www/h2o/work/h2o-222b36d/deps/picotls/lib/fusion.c:1838:17: note: expanded from macro 'AESECB6_UPDATE' 1838 | bits0 = _mm256_aesenc_epi128(bits0, k); \ | ^ : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ make CPUTYPE="" -VMACHINE_CPU:Mavx2 -VEXTRA_PATCHES - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (MACHINE_CPU:Mavx2) (EXTRA_PATCHES) ---- $ make CPUTYPE="cascadelake" -VMACHINE_CPU:Mavx2 -VEXTRA_PATCHES - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (MACHINE_CPU:Mavx2)avx2 (EXTRA_PATCHES)/usr/ports/www/h2o/files/extra-patch-cputype-defined - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Because of above, I think that EXTRA_PATCHES is miss-defineded by avx2 supported CPUTYPE. BTW, I can't access to QUIC(443/udp port). Because h2o will crash like following. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [89831] 0x4ac032 <???> at /usr/local/bin/h2o [89831] 0x823e17642 <pthread_sigmask+0x542> at /lib/libthr.so.3 [89831] 0x823e16b3a <pthread_setschedparam+0x83a> at /lib/libthr.so.3 [89831] 0x82088e2d3 <???> at ??? [89831] 0x4bd398 <???> at /usr/local/bin/h2o [89831] 0x4bf636 <???> at /usr/local/bin/h2o [89831] 0x3bfa57 <???> at /usr/local/bin/h2o [89831] 0x3bf9d3 <???> at /usr/local/bin/h2o [89831] 0x3bf06c <???> at /usr/local/bin/h2o [89831] 0x42eff7 <???> at /usr/local/bin/h2o [89831] 0x4ac328 <???> at /usr/local/bin/h2o [89831] 0x42c941 <???> at /usr/local/bin/h2o [89831] 0x42c3ff <???> at /usr/local/bin/h2o [89831] 0x3e3403 <???> at /usr/local/bin/h2o [89831] 0x3df8b6 <???> at /usr/local/bin/h2o [89831] 0x4a4b07 <???> at /usr/local/bin/h2o [89831] 0x4ac032 <???> at /usr/local/bin/h2o [89831] 0x823e17642 <pthread_sigmask+0x542> at /lib/libthr.so.3 [89831] 0x823e16b3a <pthread_setschedparam+0x83a> at /lib/libthr.so.3 [89831] 0x82088e2d3 <???> at ??? [89831] 0x4bd398 <???> at /usr/local/bin/h2o [89831] 0x4bf636 <???> at /usr/local/bin/h2o - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - But I can't enable DEBUG flags, so I didn't get more information. -- You are receiving this mail because: You are the assignee for the bug.