List Info

Thread: buildworld failure on VIA C3 Nehemiah




buildworld failure on VIA C3 Nehemiah
country flaguser name
United States
2007-12-29 09:02:44
-----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 M10000G 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/u
sr/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/b
ugs.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/tq6CJjZQIRAj5zAJ9Y2zYRP293oT9SOZihqHUAnLIA7gCe
MXux
Ug3Zm7EBRBTO46f8sEwn7fg=
=AdTe
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: buildworld failure on VIA C3 Nehemiah
country flaguser name
United Kingdom
2007-12-29 10:21:58
On Sat, 29 Dec 2007 10:02:44 -0500
Eric Osterweil <eostercs.ucla.edu> 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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: buildworld failure on VIA C3 Nehemiah
user name
2007-12-29 12:40:25
2007/12/29, Eric Osterweil <eostercs.ucla.edu>:
>
> -----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://b
ugs.gentoo.org/show_bug.cgi?id=68282 for an
explanation.)
> Basically the frame-pointer is needed for stack
traces.


Good luck.

Warren
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: buildworld failure on VIA C3 Nehemiah
country flaguser name
United Kingdom
2007-12-30 08:08:36
On Sat, 29 Dec 2007 19:40:25 +0100
"Warren Head" <warrenheadgmail.com> wrote:

> 2007/12/29, Eric Osterweil <eostercs.ucla.edu>:
> >
> > -----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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )