On 19-03-23 15:38:14, Lucas Nali de Magalhães wrote:
> Hi.
> 
> lang/go14 doesn't build in FreeBSD 12 without COMPAT11 in the kernel because 
> of the inode 64bit extension was added in the kernel. lang/go needs go14 to 
> compile and will also break without COMPAT11 in FreeBSD 12 kernel. I found a 
> discussion related to it in https://go-review.googlesource.com/c/sys/+/136816
>  but I don't have a patch ready. I know that if one manages to pass last go14 
> command through truss the messages will say that COMPAT11 syscall wasn't 
> there.
> 
> I found a few bugs since I started rebuilding my system. Most of them are 
> related with the lack of handling of CPUTYPE=native make.conf tunable. I 
> found the detection is buggy after I reported qt5-gui wasn't building. While 
> I'm rebuilding the system with CPUTYPE=yonah, I found that gcc compilers 
> (both 4.8 and 8) don't understand it. They both end with "error cannot 
> compile". I've no idea who is supposed to fix what.
> 
> security/afl also doesn't installs if the system is not 64bit because 
> lib/afl/afl-llvm-rt-64.o isn't built. It looks like llvm doesn't have 64bit 
> structure in 32 bit systems and afl just ignores the error but the package 
> isn't installed because pkg doesn't find the referenced file. This looks like 
> a typo.
> 
> TIA,
> Lc
> 
> -- 
> rollingbits — 📧 rollingb...@gmail.com 📧 rollingb...@terra.com.br 📧 
> rollingb...@yahoo.com 📧 rollingb...@globo.com 📧 rollingb...@icloud.com
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Hi Lucas,

COMPAT_FREEBSD11 is a documented requirement for lang/go and lang/go14 on 
FreeBSD 12 [1]. [2] explains technical reasons behind this requirement.

[1] https://github.com/golang/go/wiki/FreeBSD
[2] https://github.com/golang/go/issues/22447#issuecomment-423824181

-- 
Dmitri Goutnik
d...@syrec.org
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to