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: Yasushi Oshima <oshima-ya%yagoto-urayama.jp@localhost>
To: bsiegert%gmail.com@localhost, gnats-bugs%NetBSD.org@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, 11 Dec 2016 13:21:36 +0900 (JST)
At Sun, 4 Dec 2016 21:00:40 +0100
Benny Siegert <bsiegert%gmail.com@localhost> wrote:
>>
>> 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) :).
This problem has been reported several times in the past for many platform.
And it was fixed only for arm64 and sparc64 platform the other day,
but not be fixed for 32bit arm.
I add a comment at the following issue:
https://github.com/golang/go/issues/10180
Thanks,
--
Yasushi Oshima
Home |
Main Index |
Thread Index |
Old Index