Re: Unable to compile anything from ports

2008-02-24 Thread Jasvinder S. Bahra
That's a new revision of the C3 which supports SSE: 'c3-2' is a better CPUTYPE for it. *sighs* Oh well. Guess its time to rebuild world again. =) Thanks for the info Bruce. ___ freebsd-questions@freebsd.org mailing list

Re: Unable to compile anything from ports

2008-02-24 Thread Jasvinder S. Bahra
Yes. Not many use VIA cpu's, so I think it would help a lot if you'd do a send-pr. Include a full dmesg so the CPU flags can be seen. The default on FreeBSD is to compile with -O2 now, so either cc should disable the specific optimization for which there is no matching CPU instruction

Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
Hi, I have installed FreeBSD 6.3 onto a new machine. I cvsup'd ('src-all' and 'ports-all', RELENG_6_3). I then set some /etc/make.conf parameters (CPUTYPE=c3, CFLAGS= -O2 -pipe, COPTFLAGS= -O -pipe), rebuilt both world and kernel (no changes were made to the kernel file GENERIC), and installed

Re: Unable to compile anything from ports

2008-02-23 Thread Mel
On Saturday 23 February 2008 17:11:41 Jasvinder S. Bahra wrote: Hi, I have installed FreeBSD 6.3 onto a new machine. I cvsup'd ('src-all' and 'ports-all', RELENG_6_3). I then set some /etc/make.conf parameters (CPUTYPE=c3, It has a Via CPU? Comment that option and try again. -- Mel

Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
It has a Via CPU? Comment that option and try again. Mel, It does indeed have a Via cpu. The box is running on a VIA EPIA EK 8000EG motherboard (which has a CPU integrated into it). If I run cat /var/log/dmesg.today | grep CPU, I get... CPU: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)

Re: Unable to compile anything from ports

2008-02-23 Thread Derek Ragona
At 01:11 PM 2/23/2008, Jasvinder S. Bahra wrote: It has a Via CPU? Comment that option and try again. Mel, It does indeed have a Via cpu. The box is running on a VIA EPIA EK 8000EG motherboard (which has a CPU integrated into it). If I run cat /var/log/dmesg.today | grep CPU, I get... CPU:

Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
It looks like your c compiler is bad. You may want to try a binary upgrade from CD to the same version you are running. Then try the ports again. Derek, I did a make world from the RELENG_6_3 security branch. Wouldn't that suggest theres a problem with the compiler code in RELENG_6_3? How

Re: Unable to compile anything from ports

2008-02-23 Thread Mel
On Saturday 23 February 2008 20:11:18 Jasvinder S. Bahra wrote: It has a Via CPU? Comment that option and try again. Mel, It does indeed have a Via cpu. The box is running on a VIA EPIA EK 8000EG motherboard (which has a CPU integrated into it). If I run cat /var/log/dmesg.today | grep

Re: [freebsd-questions] Re: Unable to compile anything from ports

2008-02-23 Thread Tuc at T-B-O-H.NET
This clearly points at a compiler bug, with the VIA cpu, but since world/kernel build cleanly and anything else bugs out quite early, I would suspect an optimization bug. This may have nothing to do with it, but little story... We used to buy whiteboxed machines, and as a

Re: Unable to compile anything from ports

2008-02-23 Thread Boris Samorodov
On Sat, 23 Feb 2008 16:11:41 - Jasvinder S. Bahra wrote: I have installed FreeBSD 6.3 onto a new machine. I cvsup'd ('src-all' and 'ports-all', RELENG_6_3). Did you set a tag RELENG_6_3 for ports? I'm not sure what you may get but RELENG_6_3_0 is for the release tag and . (i.e. a dot)

Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
Could you set the following in /etc/make.conf: CFLAGS=-pipe -O0 # capital O, number zero Mel, You've cracked it. I set CFLAGS as above, and lang/ruby18 installed successfully. What does this mean? The package did install, so the compiler isn't broken. Maybe an optimisation bug as you

Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
Did you set a tag RELENG_6_3 for ports? I'm not sure what you may get but RELENG_6_3_0 is for the release tag and . (i.e. a dot) for up-to-date ports. Boris, Yes, I did indeed use the . tag in my cvsup supfile... = supfile == *default host=cvsup.uk.freebsd.org

Re: Unable to compile anything from ports

2008-02-23 Thread Mel
On Saturday 23 February 2008 23:55:51 Jasvinder S. Bahra wrote: Could you set the following in /etc/make.conf: CFLAGS=-pipe -O0 # capital O, number zero Mel, You've cracked it. I set CFLAGS as above, and lang/ruby18 installed successfully. What does this mean? The package did install,

Re: Unable to compile anything from ports

2008-02-23 Thread Bruce Cran
Jasvinder S. Bahra wrote: It has a Via CPU? Comment that option and try again. Mel, It does indeed have a Via cpu. The box is running on a VIA EPIA EK 8000EG motherboard (which has a CPU integrated into it). If I run cat /var/log/dmesg.today | grep CPU, I get... CPU: VIA C3 Nehemiah+RNG+AES