git: sbin/hammer: Don't include libhammer.h unconditionally

2016-08-12 Thread Tomohiro Kusumi
commit ea458aa6c20f3b35224bc18120b29d208a89b5ef Author: Tomohiro Kusumi Date: Fri Aug 12 22:29:10 2016 +0900 sbin/hammer: Don't include libhammer.h unconditionally Though /sbin/hammer links to libhammer, only two commands use it. Move

git: sbin/hammer: Rewrite hammer bstats/iostats

2016-08-12 Thread Tomohiro Kusumi
commit d846dce0396aaf8521b35651857538a5a1e4795d Author: Tomohiro Kusumi Date: Fri Aug 12 21:44:38 2016 +0900 sbin/hammer: Rewrite hammer bstats/iostats - Detach from libhammer. - Add sysctls that were missing in libhammer. - It's simply better

git: bsd.sys.mk: Make build permissive for pre gcc 5 compilers.

2016-08-12 Thread Rimvydas Jasinskas
commit f357dbd48f1e6848b022f41985c1bfdba5a6 Author: zrj Date: Tue Aug 9 14:42:58 2016 +0300 bsd.sys.mk: Make build permissive for pre gcc 5 compilers. GCC 4.7 4.8 4.9 are known to have certain bugs, so instead of forcing developers to use

git: sys.mk: Introduce WORLD_CCOPTLEVEL.

2016-08-12 Thread Rimvydas Jasinskas
commit b3c6ec2b467a9324ebfcbb0080d4b34d7b888e22 Author: zrj Date: Tue Aug 9 15:38:28 2016 +0300 sys.mk: Introduce WORLD_CCOPTLEVEL. After checking out what other compilers than gcc do decided to cave in and leave 3 recently added NO_* knobs (yep,

git: strcoll(3): Make source compatible to more compilers.

2016-08-12 Thread Rimvydas Jasinskas
commit 54b0dbf10250c473a7fe979d87cd07853174adaa Author: zrj Date: Tue Aug 9 13:41:35 2016 +0300 strcoll(3): Make source compatible to more compilers. Mainly to unbreak the WORLD_CCVER=gcc47 for now. While there, fix a typo. Summary of changes:

git: TRE: Fix const discard issue for all compilers.

2016-08-12 Thread Rimvydas Jasinskas
commit b4603dcfad6ee746d007a4b2f2fb735605186044 Author: zrj Date: Tue Aug 9 13:30:28 2016 +0300 TRE: Fix const discard issue for all compilers. Mainly to unbreak WORLD_CCVER=gcc47 and avoid use of #pragma diagnostic. Summary of changes:

git: sys.mk: Introduce WORLD_CFLAGS.

2016-08-12 Thread Rimvydas Jasinskas
commit 5d6d7712c81dc89e0285eb2cbce7abb81cd46dd4 Author: zrj Date: Mon Aug 8 18:03:26 2016 +0300 sys.mk: Introduce WORLD_CFLAGS. Main purpose of this flag is to provide user a way to safely add extra compiler flags to the build system without

git: sys/boot: Unbreak WORLD_CCVER=gcc47

2016-08-12 Thread Rimvydas Jasinskas
commit 1f1a42b5d57dc9e15f35c982f896ade90adcae1f Author: zrj Date: Tue Aug 9 17:29:49 2016 +0300 sys/boot: Unbreak WORLD_CCVER=gcc47 Fix -Ox flags mess that exploded boot2_32 image size, by ensuring that intended -Ox flags were used were needed

git: xz: Don't use SSE headers for gcc < 5.

2016-08-12 Thread Rimvydas Jasinskas
commit 704b9f8fe7aac4fdd017992d93cd909856f2de3e Author: zrj Date: Tue Aug 9 13:51:17 2016 +0300 xz: Don't use SSE headers for gcc < 5. liblzma was configured against gcc50 private SSE headers. Avoid using SSE features for pre gcc5. Mainly to