Date: Fri, 24 Feb 2017 12:57:24 -0500 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Milan Obuch <freebsd-arm@dino.sk> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD on Pine64 experience Message-ID: <20170224175724.25y7a6jeubxlzusc@mutt-hbsd> In-Reply-To: <20170224182831.76c15809@zeta.dino.sk> References: <20170220124619.7f04ad6a@zeta.dino.sk> <20170224182831.76c15809@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
--65337z2jv62m22xr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 24, 2017 at 06:28:31PM +0100, Milan Obuch wrote: > On Mon, 20 Feb 2017 12:46:19 +0100 > Milan Obuch <freebsd-arm@dino.sk> wrote: >=20 > > Hi, > >=20 > > some time ago I've got Pine64 board with 1 GB RAM. I decided to put > > FreeBSD on it as I saw arm64 architecture being worked on. First I > > tried to build u-boot, it worked somehow, but I was not able to find > > out the way boot works here, and did not find much time to play > > afterwards. >=20 > I completed full rebuild with sources at svn revision 313999 now. It > took almost four days... but no problems so far, everything seems to be > stable, just some spurious interrupts were detected over the build, > maybe ten over those four days. >=20 > [ snip ] >=20 > > env ABI=3DFreeBSD:11:aarch64 pkg install aarch64-binutils > >=20 > > which installed both pkg and aarch64-binutils packages. I know from my > > earlier attempts to cross compile world for arm64 it was enough to > > build world, but it was not enough for native build. Trouble was our > > build environment is sanitized and aarch64-binutils package is > > installed into /usr/local/aarch64-freebsd/{bin,lib} directories, so > > they are not in path. I did not find other way to get it working > > without too much fussing with makefiles et all, but simple crude hack > > worked - I created links with > >=20 > > ln -s /usr/local/aarch64-freebsd/bin/* /bin > > >=20 > Actually only ld needs this, so >=20 > ln -s /usr/local/aarch64-freebsd/bin/ld /bin >=20 > was enough. Also, with no deeper analysis, it seems it is necessary > just for early stage of building toolchain (beginning of 'make > buildworld'). And now, after svn upgrade to version 314213, it seems to > be not necessary anymore... I just fired next buildworld... >=20 > > Nothing more was necessary for native buildworld/buildkernel to > > succeed. At this point after nfs mounting /usr/port I was able to > > build ports. > >=20 > > When trying installworld, it proceeded almost flawlessly, just at the > > end following error was reported: > >=20 > > =3D=3D=3D> etc (install) > > =3D=3D=3D> etc/newsyslog.conf.d (install) > > =3D=3D=3D> etc/sendmail (install) =20 > > cd /usr/src/etc/../share/man; make makedb > > makewhatis /usr/share/man > > makewhatis /usr/share/openssl/man > > <jemalloc>: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/i= nternal/tsd.h:687: > > Failed assertion: "tsd_booted" *** Signal 6 > > >=20 > This problem remains, at least it occured again this time. Until the root cause of this problem is found, you can workaround it by disabling tcache via malloc.conf: ln -s tcache:false /etc/malloc.conf Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --65337z2jv62m22xr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAliwdAEACgkQaoRlj1JF bu6i5w//S3CPF+coT/3SKJkV6jgWZjjynXvYYARxx9moia1YT3ElNk5kbH/j3v08 yyR4hhdIJed5j7xWvRImi6oQeJWtl+QE3ihBcL373t+GHN2DhGFU7DQT3uwbIphx pUoYXhGfw/AD16rI9nUGzYtXqLSHNHw7T6mjpX2SLXQN0/V0U9XOyy/1jg57XGxf 29pwMpCE6klSj4t12hYAlRBLxl2nQG+LD9x5T34oogKEaNeFzHzMgzmeWQ6O22oH I7Beg6Emp8TyiiVydxH09bMSJECl/JAdvz21BiWV19EhLPkT90G7MFSGrw8bjhQO y+GTGcJHuGIsmnOB8D+o0M19C9lSJ6Rezb0IZhPaho9F7yFCLIyy8jJk47uKcYiz FIaIZHVC3SBCUWKUMh3SepeOjGy7sDbS52RfCDda0fDavxmSxNesRNQv25gO3rvK w5n0m6N/FjMXpYZb0DIMeZOscD7WsSZMAGf1n7u7OAoRDuBwHiXlJJ83mjmpnuGm df1p9iYdemRW1D5rEZNglEmInF4iJiCgQ9aacjnB/7UcXQWA/kkERIbs5MwudL0u Aq3r4BzdMovR0lDbbVCofoM2NRMjGlPmkSrGLQJ9CZQhVQ16wqx2w0IZ/3aFITtO xYfh1XXDAODsXihZpua7U5euhi2iqUq0QIdFPylDT+NatIbD1J0= =ctfI -----END PGP SIGNATURE----- --65337z2jv62m22xr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170224175724.25y7a6jeubxlzusc>