Re: ccache on amd64

2008-09-25 Thread Mel
On Thursday 25 September 2008 02:45:20 RW wrote: On Thu, 25 Sep 2008 01:00:07 +0200 Mel [EMAIL PROTECTED] wrote: Since it fails on the link, I wonder if the wrong linker is called by ccache. I'll see what I can find out when it quiets down, right now machine is under heavy load. (It

Re: ccache on amd64

2008-09-25 Thread Mel
On Monday 22 September 2008 04:55:39 Brian wrote: Has there been any change in the above? On a single core i386, the documentation described notes work properly. However, on a AM2 based machine with the amd64 version of freebsd (both 6.4 Beta and 7.0 show this behavior) I consistently get

Re: ccache on amd64

2008-09-25 Thread Mel
On Thursday 25 September 2008 12:50:25 Mel wrote: On Monday 22 September 2008 04:55:39 Brian wrote: Has there been any change in the above? On a single core i386, the documentation described notes work properly. However, on a AM2 based machine with the amd64 version of freebsd (both 6.4

Re: ccache on amd64

2008-09-25 Thread Brian
Ok, cracked it. ccache will dump core, if the argument list 255 arguments, most likely because the page size is 2048 bytes, but I'm guessing here. What happens in x_realloc is that it wants to copy the 2048+8 from the old pointer to the new, yet the old pointer is only 2040 bytes big. I think

Re: ccache on amd64

2008-09-25 Thread Mel
On Thursday 25 September 2008 21:03:12 Brian wrote: [EMAIL PROTECTED] /usr/ports/devel/ccache]# make === Patching for ccache-2.4_7 === Applying FreeBSD patches for ccache-2.4_7 patch: malformed patch at line 9: sizeof(char *)); = Patch patch-args.c failed to apply cleanly. Result of

Re: ccache on amd64

2008-09-24 Thread Mel
On Wednesday 24 September 2008 05:34:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=athlon64 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe

Re: ccache on amd64

2008-09-24 Thread Brian
Mel wrote: On Wednesday 24 September 2008 05:34:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=athlon64 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2

Re: ccache on amd64

2008-09-24 Thread Mel
On Wednesday 24 September 2008 16:28:44 Brian wrote: Mel wrote: On Wednesday 24 September 2008 05:34:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=athlon64 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32

Re: ccache on amd64

2008-09-24 Thread RW
On Thu, 25 Sep 2008 01:00:07 +0200 Mel [EMAIL PROTECTED] wrote: Since it fails on the link, I wonder if the wrong linker is called by ccache. I'll see what I can find out when it quiets down, right now machine is under heavy load. (It might just be the path you set in /etc/profile. I use

Re: ccache on amd64

2008-09-23 Thread Brian
Brian wrote: I found a previous post with /etc/make.conf containing, I am trying this now. # Special ccache for buildworld .if exists(/usr/local/libexec/ccache/world-cc) !defined(NOCCACHE) \ (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) CC :=

Re: ccache on amd64

2008-09-23 Thread Mel
On Tuesday 23 September 2008 18:35:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2

Re: ccache on amd64

2008-09-23 Thread Brian
Mel wrote: On Tuesday 23 September 2008 18:35:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2

Re: ccache on amd64

2008-09-23 Thread Brian
Brian wrote: Mel wrote: On Tuesday 23 September 2008 18:35:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic

ccache on amd64

2008-09-21 Thread Brian
Has there been any change in the above? On a single core i386, the documentation described notes work properly. However, on a AM2 based machine with the amd64 version of freebsd (both 6.4 Beta and 7.0 show this behavior) I consistently get the below error. === lib/csu/i386-elf

Re: ccache on amd64

2008-09-21 Thread Brian
Brian wrote: Has there been any change in the above? On a single core i386, the documentation described notes work properly. However, on a AM2 based machine with the amd64 version of freebsd (both 6.4 Beta and 7.0 show this behavior) I consistently get the below error. === lib/csu/i386-elf