From: Stephen Smalley <sds@tycho.nsa.gov>
To: Justin Mattock <justinmattock@gmail.com>
Cc: SE-Linux <selinux@tycho.nsa.gov>, tresys <refpolicy@oss.tresys.com>
Subject: Re: SELinux userpace compile errors
Date: Tue, 07 Apr 2009 15:40:57 -0400 [thread overview]
Message-ID: <1239133257.29028.36.camel@localhost.localdomain> (raw)
In-Reply-To: <1239132391.29028.35.camel@localhost.localdomain>
On Tue, 2009-04-07 at 15:26 -0400, Stephen Smalley wrote:
> On Tue, 2009-04-07 at 12:17 -0700, Justin Mattock wrote:
> > compiling the userspace tools
> > I'm receiving some errors:
> > (the first is just a simple "make" instead of "sudo make")
>
> The default top-level target is 'install'. So you either need to do it
> as root or specify DESTDIR=/path/to/root for a writable tree.
>
> > the second seems to maybe be with the gcc
> > (which is 4.5.0)
> >
> >
> >
> > policy_define.c: In function 'set_types':
> > policy_define.c:1304: error: offset '3' outside bounds of constant string
> > policy_define.c:1316: error: offset '3' outside bounds of constant string
> > policy_define.c:1328: error: offset '3' outside bounds of constant string
>
> Bug in gcc, already known to gcc folks.
Reference:
http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01645.html
Who knew that strcmp() was so complex?
--
Stephen Smalley
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
WARNING: multiple messages have this Message-ID (diff)
From: sds@tycho.nsa.gov (Stephen Smalley)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] SELinux userpace compile errors
Date: Tue, 07 Apr 2009 15:40:57 -0400 [thread overview]
Message-ID: <1239133257.29028.36.camel@localhost.localdomain> (raw)
In-Reply-To: <1239132391.29028.35.camel@localhost.localdomain>
On Tue, 2009-04-07 at 15:26 -0400, Stephen Smalley wrote:
> On Tue, 2009-04-07 at 12:17 -0700, Justin Mattock wrote:
> > compiling the userspace tools
> > I'm receiving some errors:
> > (the first is just a simple "make" instead of "sudo make")
>
> The default top-level target is 'install'. So you either need to do it
> as root or specify DESTDIR=/path/to/root for a writable tree.
>
> > the second seems to maybe be with the gcc
> > (which is 4.5.0)
> >
> >
> >
> > policy_define.c: In function 'set_types':
> > policy_define.c:1304: error: offset '3' outside bounds of constant string
> > policy_define.c:1316: error: offset '3' outside bounds of constant string
> > policy_define.c:1328: error: offset '3' outside bounds of constant string
>
> Bug in gcc, already known to gcc folks.
Reference:
http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01645.html
Who knew that strcmp() was so complex?
--
Stephen Smalley
National Security Agency
next prev parent reply other threads:[~2009-04-07 19:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 19:17 SELinux userpace compile errors Justin Mattock
2009-04-07 19:17 ` [refpolicy] " Justin Mattock
2009-04-07 19:26 ` Stephen Smalley
2009-04-07 19:26 ` [refpolicy] " Stephen Smalley
2009-04-07 19:40 ` Stephen Smalley [this message]
2009-04-07 19:40 ` Stephen Smalley
2009-04-07 19:56 ` Justin Mattock
2009-04-07 19:56 ` [refpolicy] " Justin Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239133257.29028.36.camel@localhost.localdomain \
--to=sds@tycho.nsa.gov \
--cc=justinmattock@gmail.com \
--cc=refpolicy@oss.tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.