Date: Sat, 23 Mar 2019 14:07:36 -0500 From: Dmitri Goutnik <dg@syrec.org> To: Lucas Nali de =?utf-8?Q?Magalh=C3=A3es?= <rollingbits@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: lang/go14 doesn't build without COMPAT11 in FREEBSD 12 Message-ID: <20190323190736.GA10260@xombo.localdomain> In-Reply-To: <6383B5A7-5906-4D7C-A232-20603D0ECC81@gmail.com> References: <6383B5A7-5906-4D7C-A232-20603D0ECC81@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 — 📧 rollingbits@gmail.com 📧 rollingbits@terra.com.br 📧 rollingbits@yahoo.com 📧 rollingbits@globo.com 📧 rollingbits@icloud.com > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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 dg@syrec.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190323190736.GA10260>