pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51653
>
> 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) :).
—Benny.
Home |
Main Index |
Thread Index |
Old Index