Natanael Copa

Results 97 comments of Natanael Copa

some printf debugging: ```diff diff --git a/lib/bitset/array.c b/lib/bitset/array.c index 43d4c1e..69d5ecf 100644 --- a/lib/bitset/array.c +++ b/lib/bitset/array.c @@ -65,8 +65,10 @@ abitset_small_list (bitset src, bitset_bindex *list, bitset_bindex count = 0; /* Is...

ok this seems to be a bug in gcc. It fails with `-Os` but apparently it passes with `-O2`.

Fix is trivial: ```diff diff --git a/src/sg_dd.c b/src/sg_dd.c index 9d05c93..7662728 100644 --- a/src/sg_dd.c +++ b/src/sg_dd.c @@ -2399,7 +2399,7 @@ main(int argc, char * argv[]) res = blocks * blk_sz; if...

chriskohlhoff/asio#95 is also relevant

Yes. I think they only use tcmalloc from gperftools. Probably because it performs better than glibc malloc. (ptmalloc2). I wonder what the performance difference is compareed to musl libc's malloc....

mongodb builds now for me with https://gist.github.com/ncopa/520055e642043684da2d

you'll find some patches here: http://git.alpinelinux.org/cgit/aports/tree/testing/mongodb

This may be related to https://github.com/esnme/ultrajson/issues/254#issuecomment-378906908

`testgetifaddr.sh` and `testupnppermissions.sh` are missing in the 2.2.2 release tarball. Manually adding those fixes `make check`. EDIT: Sorry this was about `miniupnpd`. Maybe I should open a separate issue?

This is a workaround that solves it. Not sure if it is the preferred fix. ```diff diff --git a/ncdump/tst_special_atts.c b/ncdump/tst_special_atts.c index 9655b86..e71cb7e 100644 --- a/ncdump/tst_special_atts.c +++ b/ncdump/tst_special_atts.c @@ -145,6 +145,10...