Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building 'current' amd64 on linux



On 03/13/2012 01:49 AM, J. Hannken-Illjes wrote:
On Mar 12, 2012, at 11:34 PM, Wraukon the Excellent wrote:

On 03/12/2012 12:52 PM, Joerg Sonnenberger wrote:
On Mon, Mar 12, 2012 at 12:37:53PM -0700, Wraukon the Excellent wrote:
I'm trying to build on a qemu/kvm 64-bit box and I cannot even build
the toolchain.

Install the 32bit devel headers.

Sorry, perhaps I wasn't clear.

The qemu/kvm 64-bit VM is running NetBSD.  a) where would I get 32-bit devel
headers for NetBSD and b) since I'm not doing a cross-build, why is this
failing?

I had to use `qemu ... -cpu core2duo' to build a toolchain on amd64.

Reason is a test program in gmp/dist/config.guess that tries to guess the
ABI from the host cpu.  Using core2duo it will ?detect? a 64-bit ABI.
--
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)

I don't know if people prefer in-line voluminous detail or attachments; I'm
attaching build output -- libc fails to build.  If I get it wrong this time,
I apologise and I'll do it the other way next time.

System is qemu -cpu core2duo, using 1 processor (hangs when booting to MP
mode right after the attimer line prints).  changing to core2duo cured the
tools build issue, but libc is now complaining about a 32-64 bit mismatch
somewhere, and I'm not sure what I am missing.
#     build  libc/libc.a
rm -f libc.a
/space/tools/bin/x86_64--netbsd-ar crsD libc.a 
`NM=/space/tools/bin/x86_64--netbsd-nm NM=/space/tools/bin/x86_64--netbsd-nm 
MKTEMP=/space/tools/bin/nbmktemp /space/tools/bin/nblorder 
__sigaction14_sigtramp.o __sigtramp2.o compat_ndbmdatum.o compat_setlocale1.o 
compat_setlocale32.o compat_errlist.o compat_fts.o compat___fts13.o 
compat___fts30.o compat___fts31.o compat_getmntinfo.o compat_glob.o 
compat___glob13.o compat_opendir.o compat_readdir.o 
compat__readdir_unlocked30.o compat_scandir.o compat_siglist.o compat_signame.o 
compat_sigsetops.o compat_times.o compat_timezone.o compat_unvis.o 
compat_utmpx.o compat__sys_errlist.o compat__sys_nerr.o compat__sys_siglist.o 
compat_time.o compat_utime.o compat_devname.o compat_alphasort.o 
compat_getpwent.o compat___fts32.o compat_utmp.o compat___fts50.o 
compat___unvis13.o __cmsg_alignbytes.o compat_ns_addr.o compat_ns_ntoa.o 
compat_pmap_rmtcall.o compat_rpcb.o compat_fgetpos.o compat_fsetpos.o 
compat_unsetenv.o compat_getdents.o compat_getdirentries.o compat_msync.o co--- 
libc.so.12.181 ---
#     build  libc/libc.so.12.181
rm -f libc.so.12.181
/space/tools/bin/x86_64--netbsd-gcc -nodefaultlibs -Wl,-x -shared 
-Wl,-soname,libc.so.12 -Wl,--warn-shared-textrel -Wl,-z,initfirst  
--sysroot=/space/build/arch   -o libc.so.12.181   -Wl,--whole-archive 
libc_pic.a -Wl,--no-whole-archive -lgcc 
--- libc.a ---
mpat_ntp_gettime.o compat_sched.o compat_semctl.o compat_sigaltstack.o 
compat_stat.o compat___stat13.o compat_statfs.o compat_socket.o compat_getfh.o 
compat_fhopen.o compat___fhstat30.o compat_fhstatvfs.o compat_fhstatvfs1.o 
compat_mount.o compat_getrusage.o compat_gettimeofday.o compat_utimes.o 
compat_wait4.o compat_sigtimedwait.o compat_settimeofday.o compat_timer.o 
compat_clock.o compat_itimer.o compat_select.o compat_nanosleep.o 
compat___stat30.o compat_aio_suspend.o compat_adjtime.o compat_mknod.o 
compat_mqueue.o compat__lwp_park.o compat_lfs_segwait.o compat_kevent.o 
compat___ntp_gettime30.o compat___semctl13.o compat___shmctl13.o 
compat___msgctl13.o compat_localtime.o compat_difftime.o compat_frexp_ieee754.o 
compat_ldexp_ieee754.o compat_modf_ieee754.o compat_Ovfork.o compat___semctl.o 
compat___sigreturn14.o compat_msgctl.o compat_shmctl.o compat_sigaction.o 
compat_sigpending.o compat_sigprocmask.o compat_sigreturn.o compat_sigsuspend.o 
compat_quotactl.o atomic.o atomic_init_cas.o cdbr.o cdbw.o bt_close.o bt_conv.o 
bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o 
bt_search.o bt_seq.o bt_split.o bt_utils.o db.o hash.o hash_bigkey.o hash_buf.o 
hash_func.o hash_log2.o hash_page.o ndbmdatum.o ndbm.o mpool.o rec_close.o 
rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o 
citrus_bcs.o citrus_bcs_strtol.o citrus_bcs_strtoul.o citrus_csmapper.o 
citrus_ctype.o citrus_ctype_fallback.o citrus_db.o citrus_db_hash.o 
citrus_esdb.o citrus_hash.o citrus_iconv.o citrus_lookup.o citrus_mapper.o 
citrus_memstream.o citrus_mmap.o citrus_module.o citrus_none.o citrus_stdenc.o 
citrus_lc_ctype.o citrus_lc_monetary.o citrus_lc_numeric.o citrus_lc_time.o 
citrus_lc_messages.o creat.o getdtablesize.o gethostid.o killpg.o sethostid.o 
setpgrp.o setrgid.o setruid.o sigcompat.o getwd.o dlfcn_elf.o strtof.o 
strtold_px.o strtopx.o strtod.o dtoa.o ldtoa.o hdtoa.o gdtoa.o gdtoa_locks.o 
dmisc.o gethex.o gmisc.o hd_init.o hexnan.o misc.o smisc.o strtodg.o sum.o 
ulp.o _strtof.o _strtold.o strtord.o _errno.o alarm.o alphasort.o arc4random.o 
assert.o basename.o clock.o closedir.o closefrom.o confstr.o ctermid.o ctype_.o 
daemon.o dehumanize_number.o devname.o dirname.o disklabel.o err.o errx.o 
errlist.o errno.o execl.o execle.o execlp.o execv.o execvp.o extattr.o 
fmtcheck.o fmtmsg.o fnmatch.o fstab.o ftok.o fts.o ftw.o getbsize.o getcap.o 
getcwd.o getdevmajor.o getdomainname.o getgrent.o getgrouplist.o 
getgroupmembership.o gethostname.o getloadavg.o getlogin.o getmntinfo.o 
getnetgrent.o getpagesize.o getpass.o getprogname.o getpwent.o getttyent.o 
getusershell.o glob.o humanize_number.o initdir.o initgroups.o isascii.o 
isatty.o isctype.o lockf.o nftw.o nice.o nlist.o nlist_aout.o nlist_coff.o 
nlist_ecoff.o nlist_elf32.o nlist_elf64.o opendir.o pause.o popen.o 
posix_spawn_sched.o posix_spawn_fileactions.o posix_spawnp.o psignal.o 
pthread_atfork.o ptree.o pwcache.o pw_scan.o raise.o randomid.o rb.o readdir.o 
rewinddir.o scandir.o seekdir.o setdomainname.o sethostname.o setjmperr.o 
setmode.o setproctitle.o setprogname.o shquote.o shquotev.o sighold.o 
sigignore.o siginterrupt.o siglist.o signal.o signame.o sigrelse.o sigset.o 
sigsetops.o sleep.o stringlist.o sysconf.o sysctl.o sysctlbyname.o 
sysctlgetmibinfo.o sysctlnametomib.o syslog.o telldir.o time.o times.o 
toascii.o tolower_.o ttyname.o ttyslot.o toupper_.o ualarm.o ulimit.o uname.o 
unvis.o usleep.o utime.o utmp.o utmpx.o valloc.o vis.o wait.o wait3.o waitpid.o 
warn.o warnx.o vwarn.o vwarnx.o verr.o verrx.o wordexp.o _err.o _errx.o 
_sysconf.o _verr.o _verrx.o _vwarn.o _vwarnx.o _warn.o _warnx.o alloca.o 
byte_swap_2.o byte_swap_4.o byte_swap_8.o fabs.o flt_rounds.o fpgetmask.o 
fpgetround.o fpgetsticky.o fpsetmask.o fpsetround.o fpsetsticky.o fpgetprec.o 
fpsetprec.o __setjmp14.o _setjmp.o __sigsetjmp14.o resumecontext.o 
swapcontext.o _lwp.o makecontext.o infinityf_ieee754.o infinity_ieee754.o 
fpclassifyf_ieee754.o fpclassifyd_ieee754.o isfinitef_ieee754.o 
isfinited_ieee754.o isinff_ieee754.o isinfd_ieee754.o isnanf_ieee754.o 
isnand_ieee754.o signbitf_ieee754.o signbitd_ieee754.o nanf.o infinityl.o 
fpclassifyl.o isfinitel.o isinfl.o isnanl.o signbitl.o gmon.o mcount.o md2.o 
md2hl.o rmd160.o rmd160hl.o sha1.o sha1hl.o sha2.o sha224hl.o sha256hl.o 
sha384hl.o sha512hl.o iconv.o _inet_aton.o _inet_pton.o inet_addr.o 
inet_cidr_ntop.o inet_cidr_pton.o inet_lnaof.o inet_makeaddr.o inet_net_ntop.o 
inet_net_pton.o inet_neta.o inet_netof.o inet_network.o inet_ntoa.o inet_ntop.o 
inet_pton.o nsap_addr.o assertions.o ev_timers.o ev_streams.o _def_messages.o 
_def_monetary.o _def_numeric.o _def_time.o setlocale.o __mb_cur_max.o 
current_locale.o global_locale.o fix_grouping.o localeconv.o nl_langinfo.o 
generic_lc_all.o dummy_lc_collate.o wcstol.o wcstoll.o wcstoimax.o wcstoul.o 
wcstoull.o wcstoumax.o wcstod.o wcstof.o wcstold.o wcscoll.o wcsxfrm.o 
wcsftime.o _wctrans.o _wctype.o rune.o runetable.o multibyte_c90.o 
multibyte_amd1.o iswctype_mb.o md4c.o md5c.o md4hl.o md5hl.o initfini.o 
stack_protector.o base64.o ethers.o gethnamaddr.o getifaddrs.o getnetnamadr.o 
getnetent.o getpeereid.o getprotobyname.o getprotobynumber.o getprotoent.o 
getprotobyname_r.o getprotobynumber_r.o getprotoent_r.o getservbyname.o 
getservbyport.o getservent.o getservbyname_r.o getservbyport_r.o getservent_r.o 
iso_addr.o linkaddr.o nsdispatch.o nslexer.o nsparser.o rcmd.o recv.o send.o 
sethostent.o sockatmark.o hesiod.o getaddrinfo.o getnameinfo.o ip6opt.o rthdr.o 
vars6.o if_indextoname.o if_nameindex.o if_nametoindex.o ns_name.o ns_netint.o 
ns_parse.o ns_print.o ns_samedomain.o ns_ttl.o catclose.o catgets.o catopen.o 
_catclose.o _catgets.o _catopen.o cmpdi2.o divdi3.o fixdfdi.o fixsfdi.o 
fixunsdfdi.o fixunssfdi.o floatdidf.o floatdisf.o floatundisf.o floatundidf.o 
moddi3.o muldi3.o negdi2.o qdivrem.o ucmpdi2.o udivdi3.o umoddi3.o ashldi3.o 
ashrdi3.o lshrdi3.o adddi3.o anddi3.o iordi3.o notdi2.o subdi3.o xordi3.o 
regcomp.o regerror.o regexec.o regfree.o __dn_comp.o __res_close.o __res_send.o 
h_errno.o herror.o res_comp.o res_data.o res_debug.o res_init.o res_mkquery.o 
res_query.o res_send.o res_state.o mtctxres.o res_compat.o auth_none.o 
auth_unix.o authunix_prot.o bindresvport.o clnt_bcast.o clnt_dg.o 
clnt_generic.o clnt_perror.o clnt_raw.o clnt_simple.o clnt_vc.o 
rpc_dtablesize.o getnetconfig.o getnetpath.o getrpcent.o getrpcport.o mt_misc.o 
pmap_clnt.o pmap_getmaps.o pmap_getport.o pmap_prot.o pmap_prot2.o pmap_rmt.o 
rpc_prot.o rpc_commondata.o rpc_callmsg.o rpc_generic.o rpc_soc.o rpcb_clnt.o 
rpcb_prot.o rpcb_st_xdr.o svc.o svc_auth.o svc_dg.o svc_auth_unix.o 
svc_generic.o svc_raw.o svc_run.o svc_simple.o svc_vc.o xdr.o xdr_array.o 
xdr_float.o xdr_mem.o xdr_rec.o xdr_reference.o xdr_stdio.o xdr_sizeof.o 
__rpc_getxid.o gets_chk.o fgets_chk.o memcpy_chk.o memmove_chk.o memset_chk.o 
snprintf_chk.o sprintf_chk.o strcat_chk.o strcpy_chk.o strncat_chk.o 
strncpy_chk.o vsnprintf_chk.o vsprintf_chk.o asprintf.o clrerr.o dprintf.o 
fclose.o fdopen.o feof.o ferror.o fflush.o fgetc.o fgetln.o fgetpos.o fgets.o 
fgetstr.o fgetwc.o fgetwln.o fgetws.o fileno.o findfp.o flags.o flockfile.o 
fopen.o fparseln.o fprintf.o fpurge.o fputc.o fputs.o fputwc.o fputws.o fread.o 
freopen.o fscanf.o fseek.o fseeko.o fsetpos.o ftell.o ftello.o funopen.o 
fvwrite.o fwalk.o fwide.o fwprintf.o fwrite.o fwscanf.o getc.o getchar.o 
getdelim.o getline.o gettemp.o getw.o getwc.o getwchar.o makebuf.o mkdtemp.o 
mkstemp.o perror.o printf.o putc.o putchar.o puts.o putw.o putwc.o putwchar.o 
refill.o remove.o rewind.o rget.o scanf.o setbuf.o setbuffer.o setvbuf.o 
snprintf.o snprintf_ss.o sscanf.o stdio.o swprintf.o swscanf.o tmpfile.o 
ungetc.o ungetwc.o vasprintf.o vdprintf.o vfprintf.o vfscanf.o vfwprintf.o 
vfwscanf.o vprintf.o vscanf.o vsnprintf.o vsnprintf_ss.o vsscanf.o vswprintf.o 
vswscanf.o vwprintf.o vwscanf.o wbuf.o wprintf.o wscanf.o wsetup.o fmemopen.o 
gets.o sprintf.o vsprintf.o tempnam.o tmpnam.o mktemp.o _fileno.o _fseeko.o 
_ftello.o _env.o _rand48.o a64l.o abort.o atexit.o atof.o atoi.o atol.o atoll.o 
bsearch.o drand48.o exit.o getenv.o getopt.o getopt_long.o getsubopt.o 
hcreate.o heapsort.o imaxdiv.o insque.o jrand48.o l64a.o lldiv.o lcong48.o 
lrand48.o lsearch.o merge.o mi_vector_hash.o mrand48.o nrand48.o putenv.o 
qabs.o qdiv.o qsort.o posix_openpt.o pty.o radixsort.o rand.o rand_r.o random.o 
remque.o seed48.o setenv.o srand48.o strsuftoll.o strtoimax.o strtol.o 
strtoll.o strtoq.o strtoul.o strtoull.o strtoumax.o strtouq.o system.o 
tdelete.o tfind.o tsearch.o twalk.o unsetenv.o strfmon.o erand48_ieee754.o 
jemalloc.o abs.o div.o labs.o ldiv.o bm.o stpcpy.o stpncpy.o strcasecmp.o 
strncasecmp.o strcasestr.o strcoll.o strdup.o strerror.o strlcat.o strlcpy.o 
strnlen.o strmode.o strsignal.o strtok.o strtok_r.o strxfrm.o __strsignal.o 
strerror_r.o strndup.o stresep.o memrchr.o strcspn.o strncat.o strncpy.o 
strpbrk.o strsep.o strspn.o strstr.o memccpy.o memmem.o popcount32.o 
popcount64.o wcscat.o wcschr.o wcscmp.o wcscpy.o wcscspn.o wcslcat.o wcslcpy.o 
wcslen.o wcsncat.o wcscasecmp.o wcsdup.o wcsncasecmp.o wcsncmp.o wcsncpy.o 
wcspbrk.o wcsrchr.o wcsspn.o wcsstr.o wcstok.o wcswcs.o wmemchr.o wmemcmp.o 
wmemcpy.o wmemmove.o wmemset.o _strlcat.o _strlcpy.o _strerror_r.o bcmp.o 
bcopy.o bzero.o ffs.o memchr.o memcmp.o memcpy.o memmove.o memset.o strcat.o 
strchr.o strcmp.o strcpy.o strlen.o strncmp.o strrchr.o swab.o cfgetispeed.o 
cfgetospeed.o cfmakeraw.o cfsetispeed.o cfsetospeed.o cfsetspeed.o tcdrain.o 
tcflow.o tcflush.o tcgetattr.o tcgetpgrp.o tcgetsid.o tcsendbreak.o tcsetattr.o 
tcsetpgrp.o __isthreaded.o thread-stub.o _daylight.o asctime.o difftime.o 
localtime.o getdate.o strftime.o strptime.o tls.o __clone.o __vfork14.o brk.o 
exect.o fork.o pipe.o getcontext.o ptrace.o sbrk.o shmat.o syscall.o 
__syscall.o cerror.o cpuset.o posix_fadvise.o posix_madvise.o sched.o 
sigqueue.o sigtimedwait.o sigwait.o sigwaitinfo.o statvfs.o swapon.o semctl.o 
ftruncate.o lseek.o mmap.o pread.o preadv.o pwrite.o pwritev.o truncate.o 
ntp_adjtime.o adjtime.o clock_settime.o settimeofday.o _brk.o _fork.o 
_getcontext.o _pipe.o _sbrk.o access.o acct.o bind.o chdir.o chflags.o chmod.o 
chown.o chroot.o __clock_getres50.o __clock_gettime50.o dup.o dup2.o dup3.o 
extattrctl.o extattr_delete_fd.o extattr_delete_file.o extattr_delete_link.o 
extattr_get_fd.o extattr_get_file.o extattr_get_link.o extattr_list_fd.o 
extattr_list_file.o extattr_list_link.o extattr_set_fd.o extattr_set_file.o 
extattr_set_link.o setxattr.o getxattr.o listxattr.o removexattr.o lsetxattr.o 
lgetxattr.o llistxattr.o lremovexattr.o fsetxattr.o fgetxattr.o flistxattr.o 
fremovexattr.o faccessat.o fchdir.o fchflags.o fchmod.o fchmodat.o fchown.o 
fchownat.o fchroot.o fexecve.o __fhopen40.o __fhstat50.o __fhstatvfs140.o 
fktrace.o flock.o fpathconf.o __fstat50.o fstatvfs1.o fstatat.o __futimes50.o 
futimens.o __getcwd.o __getdents30.o __getfh30.o getvfsstat.o getgroups.o 
__getitimer50.o __getlogin.o getpeername.o getpgid.o getpgrp.o getpriority.o 
getrlimit.o __getrusage50.o getsid.o getsockname.o getsockopt.o 
__gettimeofday50.o ioctl.o kqueue.o kqueue1.o ktrace.o _ksem_close.o 
_ksem_destroy.o _ksem_getvalue.o _ksem_init.o _ksem_post.o _ksem_trywait.o 
_ksem_unlink.o _ksem_wait.o _ksem_open.o lchflags.o lchmod.o lchown.o 
lfs_bmapv.o lfs_markv.o lfs_segclean.o __lfs_segwait50.o link.o linkat.o 
listen.o __lstat50.o __lutimes50.o _lwp_create.o _lwp_exit.o _lwp_kill.o 
___lwp_park50.o _lwp_self.o _lwp_wait.o _lwp_unpark.o _lwp_unpark_all.o 
_lwp_suspend.o _lwp_continue.o _lwp_wakeup.o _lwp_detach.o _lwp_setprivate.o 
_lwp_setname.o _lwp_getname.o _lwp_ctl.o madvise.o mincore.o minherit.o mkdir.o 
mkdirat.o mkfifo.o mkfifoat.o __mknod50.o mknodat.o mlock.o mlockall.o modctl.o 
__mount50.o mprotect.o __msgctl50.o msgget.o munlock.o munlockall.o munmap.o 
nfssvc.o __ntp_gettime50.o openat.o paccept.o pathconf.o pipe2.o pmc_get_info.o 
pmc_control.o __posix_chown.o __posix_fchown.o __posix_lchown.o 
__posix_rename.o profil.o __quotactl.o rasctl.o readlinkat.o reboot.o 
recvfrom.o recvmsg.o rename.o renameat.o revoke.o rmdir.o sa_register.o 
sa_stacks.o sa_enable.o sa_setconcurrency.o sa_yield.o sa_preempt.o semconfig.o 
semget.o semop.o sendmsg.o sendto.o setegid.o setcontext.o seteuid.o setgid.o 
setgroups.o __setitimer50.o __setlogin.o setpgid.o setpriority.o setregid.o 
setreuid.o setrlimit.o setsid.o setsockopt.o setuid.o __shmctl50.o shmdt.o 
shmget.o shutdown.o sigqueueinfo.o __sigaltstack14.o __sigpending14.o 
__sigaction_sigtramp.o ____sigtimedwait50.o __socket30.o socketpair.o 
__stat50.o statvfs1.o swapctl.o symlink.o symlinkat.o __sysctl.o timer_create.o 
timer_delete.o __timer_gettime50.o timer_getoverrun.o ____semctl50.o 
__timer_settime50.o umask.o undelete.o unlink.o unlinkat.o unmount.o 
__utimes50.o utimensat.o utrace.o uuidgen.o vadvise.o tmp__lwp_getprivate.o 
tmp_mremap.o accept.o __aio_suspend50.o close.o connect.o execve.o fcntl.o 
fdatasync.o fsync.o fsync_range.o __kevent50.o kill.o mq_receive.o mq_send.o 
__mq_timedreceive50.o __mq_timedsend50.o msgrcv.o msgsnd.o __msync13.o 
__nanosleep50.o open.o poll.o __pollts50.o __pselect50.o read.o readlink.o 
readv.o _sched_setparam.o _sched_getparam.o _sched_setaffinity.o 
_sched_getaffinity.o sched_yield.o __select50.o __sigprocmask14.o 
__sigsuspend14.o sysarch.o __wait450.o write.o writev.o getegid.o geteuid.o 
getgid.o getpid.o getppid.o getuid.o issetugid.o posix_spawn.o sync.o 
__posix_fadvise50.o _exit.o tmp_ftruncate.o tmp_lseek.o tmp_mmap.o tmp_pread.o 
tmp_preadv.o tmp_pwrite.o tmp_pwritev.o tmp_truncate.o tmp_ntp_adjtime.o 
tmp___adjtime50.o tmp___clock_settime50.o tmp___settimeofday50.o uuid_compare.o 
uuid_create.o uuid_create_nil.o uuid_equal.o uuid_from_string.o uuid_hash.o 
uuid_is_nil.o uuid_stream.o uuid_to_string.o xdryp.o yp_all.o yp_first.o 
yp_maplist.o yp_master.o yp_match.o yp_order.o yplib.o yperr_string.o 
ypprot_err.o | /space/tools/bin/nbtsort -q`
--- libc.so.12.181 ---
libc_pic.a(labs.pico): In function `_labs':
(.text+0x0): multiple definition of `_llabs'
libc_pic.a(llabs.pico):(.text+0x0): first defined here
libc_pic.a(atomic.pico): In function `_atomic_add_ptr':
(.text+0xd0): multiple definition of `_atomic_add_64'
libc_pic.a(atomic_add_64_cas.pico):atomic_add_64_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_add_ptr_nv':
(.text+0xe0): multiple definition of `_atomic_add_64_nv'
libc_pic.a(atomic_add_64_nv_cas.pico):atomic_add_64_nv_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_and_ptr':
(.text+0xf0): multiple definition of `_atomic_and_64'
libc_pic.a(atomic_and_64_cas.pico):atomic_and_64_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_and_ptr_nv':
(.text+0x100): multiple definition of `_atomic_and_64_nv'
libc_pic.a(atomic_and_64_nv_cas.pico):atomic_and_64_nv_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_dec_ptr':
(.text+0x120): multiple definition of `_atomic_dec_64'
libc_pic.a(atomic_dec_64_cas.pico):atomic_dec_64_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_dec_ptr_nv':
(.text+0x130): multiple definition of `_atomic_dec_64_nv'
libc_pic.a(atomic_dec_64_nv_cas.pico):atomic_dec_64_nv_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_inc_ptr':
(.text+0x140): multiple definition of `_atomic_inc_64'
libc_pic.a(atomic_inc_64_cas.pico):atomic_inc_64_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_inc_ptr_nv':
(.text+0x150): multiple definition of `_atomic_inc_64_nv'
libc_pic.a(atomic_inc_64_nv_cas.pico):atomic_inc_64_nv_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_or_ptr':
(.text+0x160): multiple definition of `_atomic_or_64'
libc_pic.a(atomic_or_64_cas.pico):atomic_or_64_cas.c:(.text+0x0): first defined 
here
libc_pic.a(atomic.pico): In function `_atomic_or_ptr_nv':
(.text+0x170): multiple definition of `_atomic_or_64_nv'
libc_pic.a(atomic_or_64_nv_cas.pico):atomic_or_64_nv_cas.c:(.text+0x0): first 
defined here
libc_pic.a(atomic.pico): In function `_atomic_swap_ptr':
(.text+0x190): multiple definition of `_atomic_swap_64'
libc_pic.a(atomic_swap_64_cas.pico):atomic_swap_64_cas.c:(.text+0x0): first 
defined here
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(llabs.pico)' is incompatible with 
i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(udivsi3.pico)' is incompatible with 
i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(fixunsdfsi.pico)' is incompatible 
with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(fixdfsi.pico)' is incompatible with 
i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(divsi3.pico)' is incompatible with 
i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(bswap64.pico)' is incompatible with 
i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(sigsetjmp.pico)' is incompatible 
with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(setjmp.pico)' is incompatible with 
i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_swap_64_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_or_64_nv_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_or_64_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_inc_64_nv_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_inc_64_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_dec_64_nv_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_dec_64_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_and_64_nv_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_and_64_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_add_64_nv_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(atomic_add_64_cas.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(compat___sigtramp1.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(compat_sigsetjmp.pico)' is 
incompatible with i386:x86-64 output
/space/tools/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: 
i386 architecture of input file `libc_pic.a(compat_setjmp.pico)' is 
incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
*** [libc.so.12.181] Error code 1
nbmake: stopped in /space/src/lib/libc
1 error
nbmake: stopped in /space/src/lib/libc
*** [dependall] Error code 2
nbmake: stopped in /space/src/lib/libc
1 error
nbmake: stopped in /space/src/lib/libc
*** [do-lib-libc] Error code 2
nbmake: stopped in /space/src
1 error
nbmake: stopped in /space/src
*** [build] Error code 2

nbmake: stopped in /space/src
1 error

nbmake: stopped in /space/src

ERROR: Failed to make build
*** BUILD ABORTED ***


Home | Main Index | Thread Index | Old Index