> On Mar 23, 2019, at 4:07 PM, Dmitri Goutnik <[email protected]> wrote:
> 
>> On 19-03-23 15:38:14, Lucas Nali de Magalhães wrote:
>> 
>> 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.
> 
> 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

This documentation mentions that rust also needs COMPAT_FREEBSD11 and in fact, 
rust builds here if I add it to the kernel. I think both are bugs and they need 
better documentation at least. Neither of them give useful error messages when 
COMPAT11 is missing. In fact, I was lost in the rust case and solved go case by 
accident. Not nice.

Lc

-- 
rollingbits — 📧 [email protected] 📧 [email protected] 📧 
[email protected] 📧 [email protected] 📧 [email protected]

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to