Re: [PATCH] Revert "btrfs-progs: disable backtrace and define __always_inline"

2015-01-13 Thread Merlijn Wajer
Hi, On 14/01/15 01:13, David Sterba wrote: > On Tue, Jan 13, 2015 at 05:20:19PM -0500, Josef Bacik wrote: >> This reverts commit c2691f807ddd2c6b261c5707f6838a45d9275390 as it breaks >> backtracing on actual glibc environments. > > This is to support musl libc. If it does not work then the test i

Re: [PATCH] Revert "btrfs-progs: disable backtrace and define __always_inline"

2015-01-13 Thread Merlijn Wajer
Hi, On Wed, 14 Jan 2015, Josef Bacik wrote: This only works if you include features.h and I don't know if other libcs provide that. Thanks, musl provides /usr/include/features.h and glibc does so as well. (Checked on musl and glibc systems) Searching the web seems to suggest that uclibc sup

Re: [PATCH] Revert "btrfs-progs: disable backtrace and define __always_inline"

2015-01-13 Thread Merlijn Wajer
Hi, On 14/01/15 01:42, David Sterba wrote: > On Wed, Jan 14, 2015 at 01:31:34AM +0100, Merlijn Wajer wrote: >>> This only works if you include features.h and I don't know if other libcs >>> provide that. Thanks, >> >> musl provides /usr/include/features

[PATCH] Restore backtrace functionality on glibc

2015-01-14 Thread Merlijn Wajer
metimes trivial patches can still be wrong. :-) Regards, Merlijn From 66bec5ce01f650839b3cbd88ac40594daaab0299 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Wed, 14 Jan 2015 13:13:15 +0100 Subject: [PATCH] Restore backtrace functionality on glibc. Originally

[RFC] btrfs-progs: Support for musl libc (and perhaps also uclibc)

2014-12-13 Thread Merlijn Wajer
rlijn From da43021732fab3f70c75f155bded8e5f35fdffe3 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Sat, 13 Dec 2014 15:07:25 +0100 Subject: [PATCH 1/2] Include headers required for musl-libc. This fixes various compilation errors where PATH_MAX and XATTR_SIZE_MAX were missing. To my knowledge, this should have no bad si

Re: [RFC] btrfs-progs: Support for musl libc (and perhaps also uclibc)

2014-12-18 Thread Merlijn Wajer
Hi, On 17/12/14 17:49, David Sterba wrote: > On Sat, Dec 13, 2014 at 03:35:09PM +0100, Merlijn Wajer wrote: > [snip] > >> Attached are the two patches generated with git format-patch. I am aware >> that this may not be required format for submitting patches -- but >>