Subject: Build failure - port amd64 - crt0.o
To: None <current-users@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 09/26/2007 22:30:14
/usr/src was updated via CVS on Thurs, September 27, 2007 at 03:52:36 UTC
Got the following errors while building on port-amd64. The same build
succeeded on port-i386.
--- crt0.o ---
/usr/obj/tooldir/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -fno-unit-at-a-time -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Werror -I/usr/src/lib/csu/x86_64 -D__EH_FRAME_CONST=const -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=64 -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/csu/x86_64/../common_elf -I/usr/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem /usr/obj/destdir/amd64/usr/include -c -DCRT0 /usr/src/lib/csu/x86_64/crt0.c -o crt0.o
In file included from /usr/obj/destdir/amd64/usr/include/machine/profile.h:38,
from /usr/src/lib/csu/x86_64/crt0.c:38:
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x86_atomic_testset_u64'
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x86_atomic_testset_u32'
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x86_atomic_testset_i32'
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x86_atomic_testset_u8'
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:68: error: expected ';', ',' or ')' before '*' token
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:73: error: expected ';', ',' or ')' before '*' token
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:78: error: expected ';', ',' or ')' before '*' token
/usr/obj/destdir/amd64/usr/include/machine/atomic.h:83: error: expected ';', ',' or ')' before '*' token
*** [crt0.o] Error code 1
1 error
nbmake: stopped in /usr/src/lib/csu/x86_64
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------