From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6586 Path: news.gmane.org!not-for-mail From: stephen Turner Newsgroups: gmane.linux.lib.musl.general Subject: Re: user.h page_size undeclared Date: Fri, 21 Nov 2014 16:07:12 -0500 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d40d82038a4050864d4b3 X-Trace: ger.gmane.org 1416604053 1192 80.91.229.3 (21 Nov 2014 21:07:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2014 21:07:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6599-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 21 22:07:28 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XrvQL-0006t9-OD for gllmg-musl@m.gmane.org; Fri, 21 Nov 2014 22:07:25 +0100 Original-Received: (qmail 21930 invoked by uid 550); 21 Nov 2014 21:07:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21919 invoked from network); 21 Nov 2014 21:07:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ziMn99leXeUYBqj/3BSIxRR+IJWJNR4+1dIRAXJKC8c=; b=K8aG+kpVpzkWTTVvJonSCToVTuiiTngA1iJabZZ9NOcOsC02FO6Fy/Ey2lzAMUvubY GKmuqf7VfweaNU0wkcrjVMnDqjFuyulFJtYeW5pevOusSxuDeCjkZoP7RH5F9aS6kGt+ UOwdaj139VLswyEW6wWLqWtAZDIQBN/5lI6TD3AhALpXNYVjfHFIicACL/Vv8DbIkYwn LujcCnDegsUseDoGi73y1v5E1Muv1vk4aJ/uoQkjA3W/ggAhXiZSlXa+IfLQEoRui08N w6rL3JHkbFKTSRfK2wJmxsdwpnqILeuh0+nRlGiXHVMcao6BiXKXyA/4tuEfbmXIJ/0W 22xA== X-Received: by 10.202.217.137 with SMTP id q131mr3200507oig.100.1416604032184; Fri, 21 Nov 2014 13:07:12 -0800 (PST) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:6586 Archived-At: --001a113d40d82038a4050864d4b3 Content-Type: text/plain; charset=UTF-8 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 #define PAGE_MASK (~(PAGE_SIZE-1)) #define NBPG PAGE_SIZE #define UPAGES 1 On Thu, Nov 20, 2014 at 11:43 AM, stephen Turner 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 > --001a113d40d82038a4050864d4b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The PAGE_SIZE being undeclared would be an issue in the tr= ad-core.c file?=C2=A0 I looked at the header and albiet my C# is limited at= best it looks declared to me..

User.h
<sni= p>
#define PAGE_MASK =C2=A0 =C2=A0 (~(PAGE_SIZE-1))
= #define NBPG =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PAGE_SI= ZE
#define UPAGES =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1
=


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

/binutils/bfd/trad-core.c: In function 'trad_unix_core_file_p&=
#39;:
trad-core.c:118: error: 'PAGE_SIZE' undeclared (first use in this f=
unction)
trad-core.c:118: error: (Each undeclared identifier is reported only once
trad-core.c:118: error: for each function it appears in.)
=

thanks,
stephen

--001a113d40d82038a4050864d4b3--