Re: Can't comple 10 on FreeBSD 13.3
Harold Gutch <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Mon, Apr 22, 2024 at 04:14:15AM +0000, Julio Merino wrote: > On Sun, Mar 31, 2024 at 10:32:50AM +0100, Chris Pinnock wrote: > > > > > > > > Happy release 10. > > > > :-) > > > > > > > > I try compile on FreeBSD 13.3. > > > > > > I have build error on make tools. > > > > Hi - is this with ./build.sh tools or are you trying to use make? > > I've hit this exact same problem since I started trying to cross-build > NetBSD from FreeBSD a few months ago. It doesn't work on 13.x > nor 14.x (and just landed on this thread as I tried this on 14.x now). > > In my case, this is with build.sh, so something seems to be wrong > somewhere... Lloyd's patch from earlier in this thread helps (at least a bit). At least on a FreeBSD 14.0 system you later run into the same issue as in https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57982 . Patching LLVM as described there helps, but that cannot be committed and we'd need an equivalent patch that doesn't touch the LLVM dist subtree. I think there was yet another issue around the "register" keyword somewhere, and just removing that from the file where this happens helped (and I think upstream had gotten that change some time ago already), but I don't have the details here right now and I cannot reach the machine right now where this happens. Harold