clang - odd macro / conditional expansion behaviour?

2013-03-11 Thread Adrian Chadd
I've hit this rather amusing clang behaviour: In file included from /usr/home/adrian/work/freebsd/ath/head/src/sys/modules/ath/../../contrib/sys/dev/ath/ath_hal/ar9300/ar9300_eeprom.c:21: /usr/home/adrian/work/freebsd/ath/head/src/sys/modules/ath/../../contrib/sys/dev/ath/ath_hal/ar9300/ar9300tem

Re: Linking produces unusable executable

2013-03-11 Thread Ilya Kaliman
Thanks a lot for the help! Increasing kern.maxtsiz solved the problem. Best, Ilya. On Mon, Mar 11, 2013 at 1:58 AM, Konstantin Belousov wrote: > On Sun, Mar 10, 2013 at 09:00:02PM -0400, Ilya Kaliman wrote: >> Hello, hackers! >> >> I have a strange problem with a big executable. I have a piece