The PAGE_SIZE being undeclared would be an issue in the trad-core.c file?  I looked at the header and albiet my C# is limited at best it looks declared to me..

User.h
<snip>
#define PAGE_MASK     (~(PAGE_SIZE-1))
#define NBPG                PAGE_SIZE
#define UPAGES           1




On Thu, Nov 20, 2014 at 11:43 AM, stephen Turner <stephen.n.turner@gmail.com> wrote:
I have been having a very similiar bug to one reported elsewhere but not directed at musl at the time. It appears there was a issue with the user.h header in the past that returned trad-core page size errors as well.  Has this bug made its way into the musl user.h header ? If there is anything i can provide to assist please let me know.

/binutils/bfd/trad-core.c: In function 'trad_unix_core_file_p':
trad-core.c:118: error: 'PAGE_SIZE' undeclared (first use in this function)
trad-core.c:118: error: (Each undeclared identifier is reported only once
trad-core.c:118: error: for each function it appears in.)
https://sourceware.org/bugzilla/show_bug.cgi?id=5145

thanks,
stephen