Project

General

Profile

Bug #1119

AMD64 buildword error

Added by lhmwzy almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

cc -O -pipe -DUSE_PTHREADS=1 -pthread -Wunknown-pragmas
-Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -static -o cpdup cpdup.o hcproto.o hclink.o misc.o
fsmid.o md5.o -lmd
/usr/obj/www/src/world_amd64/usr/lib/libpthread.a(thr_mutex.o): In
function `_thr_umtx_trylock':
/www/src/lib/libthread_xu/thread/thr_umtx.h:53: undefined reference to
`atomic_cmpset_acq_int'
/usr/obj/www/src/world_amd64/usr/lib/libpthread.a(thr_mutex.o): In
function `_thr_umtx_lock':
/www/src/lib/libthread_xu/thread/thr_umtx.h:61: undefined reference to
`atomic_cmpset_acq_int'
/usr/obj/www/src/world_amd64/usr/lib/libpthread.a(thr_mutex.o): In
function `_thr_umtx_unlock':
/www/src/lib/libthread_xu/thread/thr_umtx.h:78: undefined reference to
`atomic_cmpset_acq_int'
/usr/obj/www/src/world_amd64/usr/lib/libpthread.a(thr_mutex.o): In
function `_thr_umtx_trylock':
/www/src/lib/libthread_xu/thread/thr_umtx.h:53: undefined reference to
`atomic_cmpset_acq_int'
/usr/obj/www/src/world_amd64/usr/lib/libpthread.a(thr_mutex.o): In
function `_thr_umtx_lock':
/www/src/lib/libthread_xu/thread/thr_umtx.h:61: undefined reference to
`atomic_cmpset_acq_int'
/usr/obj/www/src/world_amd64/usr/lib/libpthread.a(thr_mutex.o):/www/src/lib/libthread_xu/thread/thr_umtx.h:70:
more undefined references to `atomic_cmpset_acq_int' follow
*** Error code 1

Stop in /www/src/bin/cpdup.
*** Error code 1

Stop in /www/src/bin.
*** Error code 1

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

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

Stop in /www/src.

dmesg:
Copyright (c) 2003-2008 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
DragonFly 2.0-RELEASE #0: Mon Aug 11 14:15:12 CST 2008
:/usr/obj/www/src/sys/LHMWZY
TSC clock: 2127856088 Hz, i8254 clock: 1193146 Hz
CPU: Intel(R) Xeon(R) CPU E7320 @ 2.13GHz (2127.52-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6f8 Stepping = 8
Features=0xfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS>
Features2=0x2211<SSE3,DS_CPL,SSSE3,CX16>
real memory = 2147483648 (2097152K bytes)
avail memory = 2076901376 (2028224K bytes)
Preloaded elf kernel "/kernel" at 0xc0404000.
Preloaded elf module "/modules/acpi.ko" at 0xc0404288.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
ACPI: RSDP @ 0x0xf6c60/0x0014 (v 0 PTLTD )
ACPI: RSDT @ 0x0x7fefab5a/0x0030 (v 1 PTLTD RSDT 0x06040000 LTP
0x00000000)
ACPI: FACP @ 0x0x7fefef06/0x0074 (v 1 INTEL 440BX 0x06040000 PTL
0x000F4240)
ACPI: DSDT @ 0x0x7fefab8a/0x437C (v 1 PTLTD Custom 0x06040000 MSFT
0x0100000D)
ACPI: FACS @ 0x0x7fefffc0/0x0040
ACPI: APIC @ 0x0x7fefef7a/0x005E (v 1 PTLTD APIC 0x06040000 LTP
0x00000000)
ACPI: BOOT @ 0x0x7fefefd8/0x0028 (v 1 PTLTD $SBFTBL$ 0x06040000 LTP
0x00000001)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <PTLTD RSDT> on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device. You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
isab0: <ACPI Generic ISA bridge> on acpi0
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
legacypci0 on motherboard
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab1: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab1
pci0: <Intel PIIX4 ATA controller> at 7.1
pci0: <Intel 82371AB Power management controller> at 7.3
pci0: <VGA-compatible display device> at 15.0
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x1080-0x10ff mem
0xf4810000-0xf4810fff irq 9 at device 16.0 on pci0
em0: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port
0x1070-0x1077 mem 0xf4800000-0xf480ffff,0xf4820000-0xf483ffff irq 11
at device 17.0 on pci0
em0: Memory Access and/or Bus Master bits were not set!
em0: MAC address: 00:50:56:98:73:59
orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xca000-0xcafff,0xdc000-0xdffff,0xe0000-0xe3fff on
isa0
pmtimer0 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ppc1: cannot reserve I/O port range
Waiting 5 seconds for SCSI devices to settle
da0 at mpt0 bus 0 target 0 lun 0
da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da0: 3.300MB/s transfers (3.300MHz DT, offset -635377336)
da0: 40960MB (83886080 512 byte sectors: 255H 63S/T 5221C)
da1 at mpt0 bus 0 target 1 lun 0
da1: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da1: 3.300MB/s transfers (3.300MHz DT, offset -635377336)
da1: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)
da2 at mpt0 bus 0 target 2 lun 0
da2: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da2: 3.300MB/s transfers (3.300MHz DT, offset -635377336)
da2: 15360MB (31457280 512 byte sectors: 255H 63S/T 1958C)
Mounting root from ufs:/dev/da0s1a

History

#1 Updated by lhmwzy almost 10 years ago

the command:
make TARGET_ARCH=amd64 TARGET_PLATFORM=pc64 buildworld

#2 Updated by swildner almost 10 years ago

No surprise, as AMD64 support in the tree is not complete.

But since it is being worked on as part of Google Summer of Code, I
think you can expect some better results in the near future.

Sascha

#3 Updated by jgordeev almost 10 years ago

This issue has been fixed long ago both in my Subversion repository, and in CVS
HEAD.
I'm sorry there's no "invalid" state for bug reports.

#4 Updated by lhmwzy almost 10 years ago

How can I sync the source under DF?

#5 Updated by omniuwo almost 10 years ago

Copy and modify /usr/share/examples/cvsup/DragonFly-src-supfile to your liking and then 'cvsup -g -L 2 DragonFly-src-supfile'.

/omniuwo

#6 Updated by lhmwzy almost 10 years ago

Sorry,what i mean is use SVN to sycn source,not cvs.
Sorry again.

Also available in: Atom PDF