DragonFly kernel List (threaded) for 2004-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
status of athlon64 support ?
Hi Folks,
I'm upgrading my work desktop to a Athlon64 3500 - Socket 939 - K8N Neo2
platform.
I'm assuming it should 'just' work in 32 bit mode, but I'm also
curious as to whether or not or how I can build 64 bit applications?
I just tried a simple test with gcc34 -
-- root@atrens: ~ (13:40) --
# cc -O9 -march=athlon64 -o x x.c
-- root@atrens: ~ (13:41) --
# cc -O9 -march=athlon-xp -o x2 x.c
-- root@atrens: ~ (13:41) --
# ls -l x x2
-rwxr-xr-x 1 root wheel 8778 Nov 3 13:41 x*
-rwxr-xr-x 1 root wheel 8778 Nov 3 13:41 x2*
-- root@atrens: ~ (13:41) --
# cmp x x2
#
I also tried building an athlon64 kernel with no luck -
# make depend
cc -c -O -pipe -march=athlon64 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -ansi -gstabs -nostdinc -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2
-ffreestanding ../../i386/i386/genassym.c
In file included from ../../sys/types.h:49,
from ../../sys/param.h:75,
from ../../i386/i386/genassym.c:41:
. /machine/endian.h: In function `__bswap64':
. /machine/endian.h:168: warning: left shift count >= width of type
. /machine/endian.h:168: warning: left shift count >= width of type
. /machine/endian.h:168: warning: left shift count >= width of type
In file included from ../../sys/systm.h:52,
from ../../i386/i386/genassym.c:42:
. /machine/atomic.h: In function `atomic_load_acq_ptr':
. /machine/atomic.h:340: warning: cast to pointer from integer of different
size
. ./../i386/i386/genassym.c:71:26: machine/vm86.h: No such file or directory
. ..
Cheers,
Andrew.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]