From: Detlef Vollmann <dv@vollmann.ch>
To: xfs@oss.sgi.com
Subject: Cross-compiling xfsprogs 3.2.x
Date: Fri, 07 Aug 2015 14:25:08 +0200 [thread overview]
Message-ID: <55C4A3A4.5000306@vollmann.ch> (raw)
Cross-compiling xfsprogs 3.2.4 gives an error:
./gen_crc32table: cannot execute binary file: Exec format error
This makes sense as a binary built for the target can't run on
the build host.
Working around that isn't hard, however there's no way to run
crc32selftest sensibly and I have no idea whether tables built
on a little-endian 64-bit host will run on a big-endian 32-bit...
Also, I get nervous if I see all the warnings like:
readdir.c:77:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2
has type '__off64_t' [-Wformat=]
printf(" d_off: 0x%08lx", dirent->d_off);
Any ideas?
Detlef
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2015-08-07 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 12:25 Detlef Vollmann [this message]
2015-08-07 23:15 ` Cross-compiling xfsprogs 3.2.x Dave Chinner
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=55C4A3A4.5000306@vollmann.ch \
--to=dv@vollmann.ch \
--cc=xfs@oss.sgi.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