Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 13:24:54 -0600
From:      Derek Ragona <derek@computinginnovations.com>
To:        "Jasvinder S. Bahra" <bbdl21548@blueyonder.co.uk>, <freebsd-questions@freebsd.org>
Subject:   Re: Unable to compile anything from ports
Message-ID:  <6.0.0.22.2.20080223132315.0255eb90@mail.computinginnovations.com>
In-Reply-To: <003c01c8764f$de52ee50$0200010a@atlantis>
References:  <000901c87636$c6ef9240$0200010a@atlantis> <200802231810.10285.fbsd.questions@rachie.is-a-geek.net> <003c01c8764f$de52ee50$0200010a@atlantis>

next in thread | previous in thread | raw e-mail | index | archive | help
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: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)
>
>Regardless, I commented out all three settings in /etc/make.conf (CPUTYPE,
>CFLAGS and COPTFLAGS), and tried the 'make install clean' routine again.
>
>Unfortunately, Portupgrade, Aide and ISC-DHCP3-Server still fail, though at
>a different point...
>
>===== Portupgrade ======================================
>config.status: creating Makefile
>===>  Building for ruby-1.8.6.111_1,1
>cc -O2 -fno-strict-aliasing -pipe    -fPIC  -DRUBY_EXPORT -I. -I. -c array.c
>array.c: In function `rb_ary_modify':
>array.c:72: internal compiler error: Illegal instruction: 4
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
>*** Error code 1
>
>Stop in /usr/ports/lang/ruby18/work/ruby-1.8.6-p111.
>*** Error code 1
>
>Stop in /usr/ports/lang/ruby18.
>*** Error code 1
>
>Stop in /usr/ports/ports-mgmt/portupgrade.
>*** Error code 1
>
>Stop in /usr/ports/ports-mgmt/portupgrade.
>====================================================
>
>
>
>===== Aide ===========================================
>config.status: creating po/Makefile
>config.status: creating build.sh
>===>  Building for gmake-3.81_2
>make  all-recursive
>Making all in glob
>if
>cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -O2 -fno-strict-ali
>asing -pipe -MT glob.o -MD -MP -MF ".deps/glob.Tpo" -c -o glob.o glob.c;
>then mv -f ".deps/glob.Tpo" ".deps/glob.Po"; else rm -f ".deps/glob.Tpo";
>exit 1; fi
>glob.c:150: warning: conflicting types for built-in function 'malloc'
>glob.c: In function `prefix_array':
>glob.c:1162: internal compiler error: Illegal instruction: 4
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
>*** Error code 1
>
>Stop in /usr/ports/devel/gmake/work/make-3.81/glob.
>*** Error code 1
>
>Stop in /usr/ports/devel/gmake/work/make-3.81.
>*** Error code 1
>
>Stop in /usr/ports/devel/gmake/work/make-3.81.
>*** Error code 1
>
>Stop in /usr/ports/devel/gmake.
>*** Error code 1
>
>Stop in /usr/ports/security/aide.
>====================================================
>
>
>
>===== Aide ===========================================
>Making links in server
>===>  Building for isc-dhcp3-server-3.0.5_2
>Making all in common
>cc -O2 -fno-strict-aliasing -pipe   -D_PATH_DHCPD_CONF=\"/usr/local/etc/dhcp
>d.conf\" -D_PATH_DHCPD_DB=\"/var/db/dhcpd.leases\" -D_PATH_DHCPD_PID=\"/var/
>run/dhcpd.pid\" -D_PATH_DHCRELAY_PID=\"/var/run/dhcrelay.pid\" -D_PATH_DHCLI
>ENT_CONF=\"/usr/local/etc/dhclient.conf\" -D_PATH_DHCLIENT_SCRIPT=\"/usr/loc
>al/sbin/dhclient-script\" -D_PATH_DHCLIENT_DB=\"/var/db/dhclient.leases\" -D
>_PATH_DHCLIENT_PID=\"/var/run/dhclient.pid\" -Dwarn=dhcp_warn -DNOMINUM -DPA
>RANOIA -DJAIL   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/po
>rts/net/isc-dhcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c
>raw.c
>cc -O2 -fno-strict-aliasing -pipe   -D_PATH_DHCPD_CONF=\"/usr/local/etc/dhcp
>d.conf\" -D_PATH_DHCPD_DB=\"/var/db/dhcpd.leases\" -D_PATH_DHCPD_PID=\"/var/
>run/dhcpd.pid\" -D_PATH_DHCRELAY_PID=\"/var/run/dhcrelay.pid\" -D_PATH_DHCLI
>ENT_CONF=\"/usr/local/etc/dhclient.conf\" -D_PATH_DHCLIENT_SCRIPT=\"/usr/loc
>al/sbin/dhclient-script\" -D_PATH_DHCLIENT_DB=\"/var/db/dhclient.leases\" -D
>_PATH_DHCLIENT_PID=\"/var/run/dhclient.pid\" -Dwarn=dhcp_warn -DNOMINUM -DPA
>RANOIA -DJAIL   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/po
>rts/net/isc-dhcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c
>parse.c
>parse.c: In function `convert_num':
>parse.c:635: internal compiler error: Illegal instruction: 4
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
>*** Error code 1
>
>Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd/common.
>*** Error code 1
>
>Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd.
>*** Error code 1
>
>Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5.
>*** Error code 1
>
>Stop in /usr/ports/net/isc-dhcp3-server.
>*** Error code 1
>
>Stop in /usr/ports/net/isc-dhcp3-server.
>====================================================
>
>Jazz
>
>

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080223132315.0255eb90>