From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] strace doesn't compile on x86_64
Date: Thu, 12 Jan 2012 23:47:42 +0100 [thread overview]
Message-ID: <201201122347.42661.arnout@mind.be> (raw)
In-Reply-To: <4EF89684.8070401@gmail.com>
On Monday 26 December 2011 16:45:08 Wojciech Zabolotny wrote:
> Additionally to analyze my problems with udev, I had to compile strace.
> It didn't compile "out of the box" leading to error:
>
> /usr/local/wzab/asus_amd/buildroot-2011.11/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I./linux/x86_64 -I./linux -Wall -pipe -Os -fPIC -DPIC -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
> file.c: In function 'printstat64':
> file.c:1046:16: error: storage size of 'statbuf' isn't known
>
> To compile it I had to comment out the line 1010 in file.c:
> // #if !defined HAVE_STAT64 && defined LINUX && defined X86_64
> and corresponding line 1040:
> //#endif
Yes, I noticed that as well... strace should be configure'd (and
compiled) without the -D_LARGEFILE64_SOURCE flag. But I'm not sure
how to handle it cleanly so I never got around to try to patch it.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-01-12 22:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-25 0:10 [Buildroot] Buildroot 2011.11 on x86_64 - neither udev nor mdev loads needed modules at startup Wojciech Zabolotny
2011-12-26 13:42 ` Wojciech Zabolotny
2011-12-26 15:45 ` Wojciech Zabolotny
2011-12-26 15:50 ` Diego Iastrubni
2011-12-26 17:53 ` [Buildroot] SOLVED! " Wojciech Zabolotny
2011-12-26 22:52 ` Wojciech Zabolotny
2011-12-26 23:57 ` wzab
2011-12-26 23:59 ` Wojciech Zabolotny
2011-12-27 11:56 ` Diego Iastrubni
2011-12-27 12:09 ` Wojciech Zabolotny
2012-01-12 22:47 ` Arnout Vandecappelle [this message]
2012-01-14 19:02 ` [Buildroot] strace doesn't compile on x86_64 vbr vbr
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=201201122347.42661.arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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