Re: btrfs-progs (unstable) failing to compile successfully

2010-08-29 Thread Mat
Hi Josef, I manually made those changes to the code / applied that patch and it compiled fine so it was definitely due to gcc 4.5 it's also quite talkative: btrfsck /dev/mapper/portage found 1596116992 bytes used err is 0 total csum bytes: 1296728 total tree bytes: 268267520 total fs tree bytes:

Re: btrfs-progs (unstable) failing to compile successfully

2010-08-28 Thread Mat
Hi Zhu, it's gcc 4.5.1: gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1/work/gcc-4.5.1/configure --prefix

Re: btrfs-progs (unstable) failing to compile successfully

2010-08-28 Thread Josef Bacik
On Sat, Aug 28, 2010 at 01:10:20PM +0200, Mat wrote: > Hi guys, > > when trying to compile btrfs-progs from the unstable repo > (git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git) > via the live-ebuild (on Gentoo) > > it keeps on failing for me no matter what (sane) CFL

Re: btrfs-progs (unstable) failing to compile successfully

2010-08-28 Thread Felix Blanke
56:48 +0800 > From: Zhu Yanhai > To: Mat > Cc: chris.ma...@oracle.com, Josef Bacik , > linux-btrfs@vger.kernel.org > Subject: Re: btrfs-progs (unstable) failing to compile successfully > > Hi Mat, > What's the version of your gcc? > I don't have a linux box h

Re: btrfs-progs (unstable) failing to compile successfully

2010-08-28 Thread Zhu Yanhai
Hi Mat, What's the version of your gcc? I don't have a linux box here at home to test, but it seems like the case we meet in MeeGo after upgrading gcc to some new version, 4.5 maybe. You need #include and in btrfsck.c to fix this. Regards, Zhu Yanhai 2010/8/28 Mat : > Hi guys, > > when trying

btrfs-progs (unstable) failing to compile successfully

2010-08-28 Thread Mat
Hi guys, when trying to compile btrfs-progs from the unstable repo (git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git) via the live-ebuild (on Gentoo) it keeps on failing for me no matter what (sane) CFLAGS or LDFLAGS I use: (for reference and completeness I'll also po