Re: aarch64 start code does not set '__elfinfo'

Felix von Leitner <[email protected]> Thu, 23 Aug 2018 11:00:56 +0200
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> trying to run a program statically linked to the dietlibc on an aarch64
> board (Raspb. Pi 3 b+) I just got a segfault very early, in the function
> '__get_elf_aux_value(unsigned int tag)'.

> After a bit of gdb I found the problem was that the variable '__elfinfo'
> was not initialized.

Um, there is neither a __get_elf_aux_value nor an __elfinfo in my tree.

If you need to access auxvec, use getauxval.

Felix