[Buildroot] strace doesn't compile on x86_64
vbr vbr
vvvg77 at gmail.com
Sat Jan 14 19:02:00 UTC 2012
I have this issue as well. any clue from the experts?
Thanks
Vincent
On Thu, Jan 12, 2012 at 2:47 PM, Arnout Vandecappelle <arnout at mind.be>wrote:
> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120114/bea61ea4/attachment.html>
More information about the buildroot
mailing list