Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2020 23:15:50 +0200
From:      Tomasz CEDRO <tomek@cedro.info>
To:        Ruslan Garipov <ruslanngaripov@gmail.com>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>,  FreeBSD Stable <freebsd-stable@freebsd.org>, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: /usr/src/release/release.sh -> ports -> fetch pkg -> Bad system call (core dumped)
Message-ID:  <CAFYkXjk38bF8TYKKAGYC6YbQbpyRYU36otN6wU8%2BrH%2BHh-KhBg@mail.gmail.com>
In-Reply-To: <adad71e7-93f7-5c48-5fb2-f39e0363c6f0@gmail.com>
References:  <CAFYkXj=p0C7gHmVr1UfkG=SFmgHLn-25sMmOLUShd-fc1SSDUQ@mail.gmail.com> <d08bf3ac-9a3a-f62e-f8b8-23914ebd5de7@gmail.com> <CAFYkXjkChjMvhKEOckudVxtQejJPYXyOvDh=OiiFp1BWT_q_uQ@mail.gmail.com> <281e95ff-a1c2-c759-2918-783cb8edf1b7@gmail.com> <CAFYkXj=hZqLnArPxvAfMjhGoRkZoS4JjSUidxiL4g%2BrJfjLn_A@mail.gmail.com> <67026913-5a6d-4763-a985-e2739de9d147@gmail.com> <CAFYkXj=5nWgYhZebONKqbZ6xRgFhtmQMp_Oq7wwbgw1zWk240w@mail.gmail.com> <adad71e7-93f7-5c48-5fb2-f39e0363c6f0@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 8, 2020 at 8:19 PM Ruslan Garipov wrote:
> > I need to see how it works with `make release` :-)
> This is what I meant when saying "you can build the source tree for
> 13.0-CURRENT on 12.1-RELEASE"; sorry if I've confused you.

No worries, my little confusion came from `make release` being a bit picky:
1. I need to buildworld first (can use -j switch, make release will
not call it).
2. I need to buildkernel first (can use -j switch, make release will
not call it).
3. Only then I can run `make release` (cannot use -j switch).

I get as good result as I need with memstick and iso images in around
19 minutes plus I can build CURRENT that way.. now I may be ready to
cross-compile :-)

3858.923u 331.683s 19:19.24 361.4%      171+561k 499674+1215072io 131833pf+0w


> Check ``Building with release.sh on -STABLE'' thread[1] on the forum.
> May be it can help you.

Thank you for the reference! :-)


> "2h looks really cool" because release(7) may build chrooted build
> environment, where it then may build port(s) and builds the target.  My
> Xeons usually spends 1.5 hours on clean release(7) (with 16 make(1)
> jobs).

A bit better but very similar result, thanks for reference.. and the
SSD hint :-)

With this power I can compile a clean firmware for my projects based
on ARM mbedOS  in 2 minutes instead 12 minutes (as compared to laptop
build) and connect the build to a git hook.. then speeding up a bit
could return a binary right away as a result of git push :-) :-)

In a free moment it would be fun to play with FreeBSD on ARM.. I have
tried that several times before but with no luck.. and I really have
different boards around to test :-)

Again GREAT THANK YOU Ruslan for your time support and all hints!! :-)

Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjk38bF8TYKKAGYC6YbQbpyRYU36otN6wU8%2BrH%2BHh-KhBg>