pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51653
The following reply was made to PR pkg/51653; it has been noted by GNATS.
From: Benny Siegert <bsiegert%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost,
Yasushi Oshima <oshima-ya%yagoto-urayama.jp@localhost>
Cc: pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost,
inbox@benjaminlorenz.email
Subject: Re: pkg/51653
Date: Sun, 4 Dec 2016 21:00:40 +0100
>=20
> 3. Problem of linker. Go ELF linker sets p_align of ELF Header
> to 4K somehow.
> =
https://github.com/golang/go/blob/master/src/cmd/link/internal/arm/obj.go#=
L107
> In Pagesize 8K kernel, this will cause problems when loading =
binary.
> This value can be changed with option '-R' on Go linker:
> Go build -ldflags '-R 8192' program.go
> However, it can not be specified when build bootstrap tools.
> For this reason, it is not able to self-build go distribution on
> NetBSD/earm (with 8K page kernel).
> I think this is not a problem in only NetBSD, nor only ARM CPUs.
> There is no countermeasure even in the current source..
Did you report this upstream? If not, please do and Cc me (@bsiegert) =
:).
=E2=80=94Benny.=
Home |
Main Index |
Thread Index |
Old Index