mailing list of musl libc
 help / color / mirror / code / Atom feed
* user.h page_size undeclared
@ 2014-11-20 16:43 stephen Turner
  2014-11-21 21:07 ` stephen Turner
  0 siblings, 1 reply; 2+ messages in thread
From: stephen Turner @ 2014-11-20 16:43 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1021 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: user.h page_size undeclared
  2014-11-20 16:43 user.h page_size undeclared stephen Turner
@ 2014-11-21 21:07 ` stephen Turner
  0 siblings, 0 replies; 2+ messages in thread
From: stephen Turner @ 2014-11-21 21:07 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 1817 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 16:43 user.h page_size undeclared stephen Turner
2014-11-21 21:07 ` stephen Turner

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).