FreeBSD 6 on AMD Dual-core Opteron - buildworld fail

Yuan-Chung Hsiao ychsiao at gmail.com
Thu Dec 1 23:42:49 PST 2005


Hi all:
     My server is HP DL385G4(AMD Opteron), when I
buildworld(RELENG_6/RELENG_6_0), I get the error msg. Does anyone have
this problem?

FreeBSD Opteron.stu.edu.tw 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Thu Dec
 1 22:39:08 CST 2005    
root at amd.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD  amd64

make.conf

MACHINE=amd64
TARGET_ARCH=amd64
MACHINE_ARCH=amd64
WITH_LIB32=yes
CPUTYPE=opteron
#CFLAGS=                -O -pipe
#COPTFLAGS=     -O -pipe
FETCH_CMD=fetch -d -A -p
KERNCONF=FreeBSD
SUP_UPDATE=     yes
SUP=            /usr/local/bin/cvsup
SUPFLAGS=       -g -L 2

dmesg:
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 250 (2405.46-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f51  Stepping = 1
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow>
real memory  = 4118773760 (3927 MB)
avail memory = 3976265728 (3792 MB)
ACPI APIC Table: <HP     00000083>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

fail msg
/usr/obj/usr/src/lib32/usr/include/ncurses.h -> curses.h
/usr/obj/usr/src/lib32/usr/lib32/libcurses.a -> libncurses.a
/usr/obj/usr/src/lib32/usr/lib32/libtermcap.a -> libncurses.a
/usr/obj/usr/src/lib32/usr/lib32/libtermlib.a -> libncurses.a
/usr/obj/usr/src/lib32/usr/lib32/libmytinfo.a -> libncurses.a
/usr/obj/usr/src/lib32/usr/lib32/libtinfo.a -> libncurses.a
/usr/obj/usr/src/lib32/usr/lib32/libcurses.so -> libncurses.so
/usr/obj/usr/src/lib32/usr/lib32/libtermcap.so -> libncurses.so
/usr/obj/usr/src/lib32/usr/lib32/libtermlib.so -> libncurses.so
/usr/obj/usr/src/lib32/usr/lib32/libmytinfo.so -> libncurses.so
/usr/obj/usr/src/lib32/usr/lib32/libtinfo.so -> libncurses.so
/usr/obj/usr/src/lib32/usr/lib32/libcurses_p.a -> libncurses_p.a
/usr/obj/usr/src/lib32/usr/lib32/libtermcap_p.a -> libncurses_p.a
/usr/obj/usr/src/lib32/usr/lib32/libtermlib_p.a -> libncurses_p.a
/usr/obj/usr/src/lib32/usr/lib32/libmytinfo_p.a -> libncurses_p.a
/usr/obj/usr/src/lib32/usr/lib32/libtinfo_p.a -> libncurses_p.a
===> lib/libnetgraph (depend,all,install)
rm -f .depend
CC='cc -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT 
-I/usr/obj/usr/src/lib32/usr/include 
-L/usr/obj/usr/src/lib32/usr/lib32  -B/usr/obj/usr/
src/lib32/usr/lib32' mkdep -f .depend -a    
/usr/src/lib/libnetgraph/sock.c /usr/src/lib/libnetgraph/msg.c
/usr/src/lib/libnetgraph/debug.c
cc -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT 
-I/usr/obj/usr/src/lib32/usr/include 
-L/usr/obj/usr/src/lib32/usr/lib32  -B/usr/obj/usr/src/
lib32/usr/lib32 -O2 -fno-strict-aliasing -pipe -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototype
s -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/sock.c
In file included from /usr/obj/usr/src/lib32/usr/include/sys/types.h:44,
                 from /usr/src/lib/libnetgraph/sock.c:44:
/usr/obj/usr/src/lib32/usr/include/machine/endian.h: In function `__bswap64':
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning:
right shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning:
right shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
In file included from /usr/src/lib/libnetgraph/internal.h:45,
                 from /usr/src/lib/libnetgraph/sock.c:50:
/usr/obj/usr/src/lib32/usr/include/sys/time.h: In function `bintime2timespec':
/usr/obj/usr/src/lib32/usr/include/sys/time.h:112: warning: right
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/sys/time.h:112: warning: right
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/sys/time.h: In function `bintime2timeval':
/usr/obj/usr/src/lib32/usr/include/sys/time.h:129: warning: right
shift count >= width of type
/usr/obj/usr/src/lib32/usr/include/sys/time.h:129: warning: right
shift count >= width of type
*** Error code 1

Stop in /usr/src/lib/libnetgraph.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1


--
Yuan-Chung Hsiao
Computer Center,SHU-TE University
Yanchao, Kaohsiung County, Taiwan 824
TEL:+886-7-6158000 Ext. 2438


More information about the freebsd-amd64 mailing list