On Mon, Jan 28, 2013 at 10:46:51PM +0100, David Sterba wrote: > Resume: if the distro contains all required libs as static, then your > patch works. > > I wanted to get an idea how the static build would go so my patch > was a dirty workaroud, that did not work in the end anyway.
To reiterate: ldd btrfs btrfsck btrfs: not a dynamic executable btrfsck: not a dynamic executable du -sh btrfs btrfsck 2,4M btrfs 2,1M btrfsck strip btrfs strip btrfsck du -sh btrfs btrfsck 1,1M btrfs 904K btrfsck --- And now dynamic: du -sh btrfs btrfsck 1,5M btrfs 1,3M btrfsck strip btrfsck ; strip btrfs du -sh btrfs btrfsck 232K btrfs 156K btrfsck --- This means that dists are striping binaries... In which case it would be no problem to have then build the static target, perhaps we could try to verify if they are available and build btrfs.static and btrfsck.static if possible.... (I'm using: 64 bit - gcc 4.7.2) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html