From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Patch to fix cross-compiling
Date: Mon, 05 Nov 2012 09:28:53 -0500 [thread overview]
Message-ID: <1899240.gIdgrumnei@x2> (raw)
In-Reply-To: <5093F0CE.3010701@gmail.com>
On Friday, November 02, 2012 11:11:58 AM George McCollister wrote:
> I've created a patch against your SVN trunk which uses
> ax_cc_for_build.m4 to provide CC_FOR_BUILD which is then used in
> auparse/Makefile.am and lib/Makefile.am to build the utilities that run
> on the build machine.
>
> I was able to use this patch to cross-compile audit for my ARM platform.
> I'm still in the process of testing audit on the ARM platform.
>
> Comments, questions and critiques welcome.
Well...it breaks the normal build on x86_64:
config.status: creating tools/aulastlog/Makefile
config.status: creating tools/ausyscall/Makefile
config.status: creating tools/auvirt/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
.
Auditd Version: 2.2.2
Target: x86_64-unknown-linux-gnu
Installation prefix: /usr
Compiler: gcc
Compiler flags:
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic
+ make -j4
make all-recursive
make[1]: Entering directory `/home/sgrubb/working/BUILD/audit-2.2.2'
Making all in lib
make[2]: Entering directory `/home/sgrubb/working/BUILD/audit-2.2.2/lib'
make[2]: *** No rule to make target `gen_tables.c', needed by
`gen_actiontabs_h'. Stop.
make[2]: Leaving directory `/home/sgrubb/working/BUILD/audit-2.2.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sgrubb/working/BUILD/audit-2.2.2'
make: *** [all] Error 2
error: Bad exit status from /home/sgrubb/working/tmp/rpm-tmp.XYWHYB (%build)
RPM build errors:
Bad exit status from /home/sgrubb/working/tmp/rpm-tmp.XYWHYB (%build)
Done
next prev parent reply other threads:[~2012-11-05 14:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 16:11 Patch to fix cross-compiling George McCollister
2012-11-05 14:28 ` Steve Grubb [this message]
2012-11-05 14:38 ` George McCollister
2012-11-05 17:25 ` Steve Grubb
2012-11-05 18:52 ` George McCollister
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=1899240.gIdgrumnei@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox