Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: go vs. NetBSD ELF



On Sun, Nov 01, 2015 at 03:27:01PM +0000, Michael van Elst wrote:
> wiz%NetBSD.org@localhost (Thomas Klausner) writes:
> 
> >/usr/pkg/go/pkg/tool/netbsd_amd64/vet: Unknown elf note type 4 (unknown tag): [namesz=4, descsz=40 name=Go  ]
> 
> >Ideas how to fix this?

Change the message to only happen #ifdef DEBUG? Alternatively teach it about
the Go note and make it ignore it.

> // The Go build ID is stored in a note described by an ELF PT_NOTE prog header.
> 
> But why would the kernel see this?

Just to make sure I parsed that correctly:
you mean "why would someone be so stupid to store this kernel-irrelevant 
information in a PT_NOTE section"?


Martin


Home | Main Index | Thread Index | Old Index