Re: buildworld failure on VIA C3 Nehemiah
On Sat, 29 Dec 2007 19:40:25 +0100 Warren Head [EMAIL PROTECTED] wrote: 2007/12/29, Eric Osterweil [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Should I be using a different arch? Do I need a flag in the make.conf (I just have -pipe and -O2)? I don't know, but this is what I read on a Gentoo wiki page: (related to bugs in a Gentoo package) http://gentoo-wiki.com/Safe_Cflags FreeBSD is not Gentoo. Before you submit a bug report, compile with just -O2 -march=i686 -pipe This is more aggressive optimization than the FreeBSD default for the C3 of: -O2 -fno-strict-aliasing -pipe -march=c3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
buildworld failure on VIA C3 Nehemiah
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I posted a question here about a week ago about some compilation problems that I'm having on my new VIA M1G board. I've since tested my memory and even swapped the motherboard, and the problem remains. It really seems like it must be user error (i.e. my fault), but I can't figure out how. When I try to buildworld I get a consistent failure at the same point (from as). The output is below. I previously reported that this was random, but have since realized that it is actually very predictable (same place every time). I installed the i386 release of 6.2. Should I be using a different arch? Do I need a flag in the make.conf (I just have -pipe and -O2)? Any help would be greatly appreciated! Eric ... - -- stage 1.1: legacy release compatibility shims - -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL=sh /usr/ src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/ sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS=-m /usr/src/tools/build/mk -m /usr/src/share/mk make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=602000 -DNO_HTML -DNO_INFO - DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC -DNO_PROFILE -DNO_SHARED - DNO_CPU_CFLAGS -DNO_WARNS legacy === tools/build (obj,includes,depend,all,install) /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/ build cd /usr/src/tools/build; make buildincludes; make installincludes rm -f .depend mkdep -f .depend -a-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/ src/tools/build/dummy.c cc -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/ build/dummy.c cc: Internal error: Illegal instruction: 4 (program as) Please submit a full bug report. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/tools/build. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFHdmGYK/tq6CJjZQIRAj5zAJ9Y2zYRP293oT9SOZihqHUAnLIA7gCeMXux Ug3Zm7EBRBTO46f8sEwn7fg= =AdTe -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildworld failure on VIA C3 Nehemiah
On Sat, 29 Dec 2007 10:02:44 -0500 Eric Osterweil [EMAIL PROTECTED] wrote: Do I need a flag in the make.conf (I just have -pipe and -O2)? If you don't set any such variables in make.conf they get sensible defaults that depend on your CPUTYPE setting. You shouldn't really mess with them unless you have good reason to think you are making an improvement; you may be missing something that's in the default - I don't know. I think the CPU type should be either c3 or c3-2 depending on whether you have 3dnow or sse support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildworld failure on VIA C3 Nehemiah
2007/12/29, Eric Osterweil [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Should I be using a different arch? Do I need a flag in the make.conf (I just have -pipe and -O2)? I don't know, but this is what I read on a Gentoo wiki page: (related to bugs in a Gentoo package) http://gentoo-wiki.com/Safe_Cflags Before you submit a bug report, compile with just -O2 -march=i686 -pipe and without -fomit-frame-pointer (see http://bugs.gentoo.org/show_bug.cgi?id=68282 for an explanation.) Basically the frame-pointer is needed for stack traces. Good luck. Warren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]