Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#168] heap2exec broken on 64-bit machines with default toolchains

Date:
2016-08-19 14:38
Priority:
3
State:
Open
Submitted by:
Bug Submitter (webuser)
Assigned to:
Nobody (None)
Machine Architecture:
x86
Operating System:
Linux
Component:
Other
Resolution:
Accepted As Bug
Severity:
Minor
OS Version:
SML/NJ Version:
110.79
Keywords:
heap2exec
URL:
Transcript (of reproduction):
This is the output of `heap2exec mltq.x86-linux mltq`. I'm not particularly sure why it chose to link with runtime.x86-linux.a (the static lib) instead of runtime.x86-linux (the binary, it's present in objs/), might be some misconfiguration or accidental fiddling on my end, but that is irrelevant. /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(main.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(c-libraries.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ml-options.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(boot.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(load-ml.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(run-ml.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(globals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ml-state.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(error.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(timers.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-timers.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(swap-bytes.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-fault.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(signal-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(prim.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-os-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tmpname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-runt-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sysinfo.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-sig-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-prof-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-sock-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(socket.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(socketpair.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(to-inetaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(to-unixaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-time-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(timeofday.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-date-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(strftime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-math-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sqrt64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-process-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sleep.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(waitpid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-procenv-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setpgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setsid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sysconf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(time.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(times.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ttyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(uname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-filesys-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(readdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(readlink.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(rename.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(rewinddir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(rmdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(stat.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(stat_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(symlink.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(umask.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unlink.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(utime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-io-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(read.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(readbuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(write.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(writebuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-sysdb-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-signal-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-tty-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcdrain.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcflow.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcflush.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcgetattr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcgetpgrp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcsendbreak.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcsetattr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcsetpgrp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-error-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-name-val.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(big-objects.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(build-literals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(c-globals-tbl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(call-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gc-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(import-heap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(init-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(major-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(minor-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ml-objects.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mem-mmap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-dynload-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-raise-syserr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(qualify-name.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(poll.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(alloc-code.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(argv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-in.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-out.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(cmd-name.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(debug.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dummy.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(export-fun.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(export-heap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gc-ctl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(itick.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkexec.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkliterals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(raw-argv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(record-concat.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(record1.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setitimer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(shift-argv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getsigmask.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getsigstate.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(listsignals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pause.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setsigmask.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setsigstate.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpquantum.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setpref.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setptimer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(accept.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(bind.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(close.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(connect.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlBROADCAST.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlDEBUG.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlDONTROUTE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlKEEPALIVE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlLINGER.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlNODELAY.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlOOBINLINE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlRCVBUF.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlREUSEADDR.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlSNDBUF.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(from-inetaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(from-unixaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getATMARK.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getERROR.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getNREAD.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getTYPE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getaddrfamily.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gethostbyaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gethostbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gethostname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getnetbyaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getnetbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpeername.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getprotbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getprotbynum.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getservbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getservbyport.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getsockname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(inetany.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(list-addr-families.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(list-sock-types.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(listen.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recvbuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recvbuffrom.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recvfrom.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sendbuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sendbufto.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setNBIO.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(shutdown.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tbl-addr-family.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tbl-sock-type.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-mkhostent.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-mknetent.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-mkservent.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-sockopt.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gettime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(asctime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gmtime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(localoffset.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(localtime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mktime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(atan64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(cos64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlrndmode.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exp64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(log64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sin64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(alarm.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exec.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exece.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(execp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exit.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fork.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(kill.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pause.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctermid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(environ.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getegid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getenv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(geteuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgroups.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getlogin.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpgrp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getppid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(isatty.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(access.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(chdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(chmod.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(chown.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(closedir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fchmod.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fchown.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ftruncate.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ftruncate_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getcwd.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(link.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkfifo.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(opendir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(openf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pathconf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(close.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dup.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dup2.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_d.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_gfd.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_gfl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_l.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_l_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_sfd.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_sfl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fsync.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(lseek.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(lseek_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pipe.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgrgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgrnam.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpwnam.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpwuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(errmsg.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(geterror.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(listerrors.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tbl-errno.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(addr-hash.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-in.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-out.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(export-heap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(flip.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(heap-in-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(heap-out-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mem-writer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(obj-info.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(record-ops.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(writer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlclose.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlerror.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlopen.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlsym.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-signal.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-prof.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: mltq(.eh_frame): relocation ".text+0x0 (type R_386_PC32)" goes out of range /usr/bin/ld: /home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(swap-bytes.o): file class ELFCLASS32 incompatible with ELFCLASS64 /usr/bin/ld: final link failed: File in wrong format collect2: error: ld returned 1 exit status
Source (for reproduction):
Shouldn't be particularly relevant. Occurs on all projects. I've chosen mltq as an example.
Summary:
heap2exec broken on 64-bit machines with default toolchains

Detailed description
This is probably not particularly urgent, especially with recent
ongoing work on Successor ML, but this might break some
old build setups.

heap2exec (the script itself) appears to be unusable by default
on 64bit machines with default toolchains. The reason is that most
64bit machines now compile (cc) and link (ld) targeting 64bit
architectures by default. Hence, additional flags must be added to
the $(CC) and $(LD) variable to the script to accomodate that.
Additional comments:
This is reproducable on 2 64bit machines:
one running linux and one running OSX.
Both have the standard developer toolchains installed. On linux
it triggers gcc, while on OSX it triggers clang. Both broke, with
somewhat similar messages. On OSX (HEAP-SUFFIX=x86-darwin),
it tried to link with the binary instead of the relocatable.

I believe that the updates in runtime, which now has the -m32
flags, forgot to update the heap2exec script as well?

Fix:
I actually don't know what the exact linker flags for ld should be,
but something like this linked properly on my machine:

gcc -m32 mltq.s runtime.x86-linux.a -lm -ldl -rdynamic

So for my own projects, I use my own build scripts (apparently
some folks really like linked binaries).

However, I'm extremely confused about what flags should be passed
to ld to make it link with the binary runtime. I've tried
something along the lines "ld -m elf_i386", but it still didn't
like it, but I do believe something to should be added to
EXEC_FLAGS, SO_FLAGS, and A_FLAGS in
config/_heap2exec (lines 77~85 declared, modified in if checks).

If it's any help, this is the output of `gcc -v` for the above command:


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
COLLECT_GCC_OPTIONS='-v' '-m32' '-rdynamic' '-mtune=generic' '-march=i586'
as -v --32 -o /tmp/cchsuADs.o mltc.s
GNU assembler version 2.25 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.25
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/32/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-m32' '-rdynamic' '-mtune=generic' '-march=i586'
/usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFy9PiM.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu -export-dynamic -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/32/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.9/32 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32 -L/lib/i386-linux-gnu -L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu /tmp/cchsuADs.o ../run.x86-linux.a -ldl -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.9/32/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/crtn.o

I'm no good at this, so I'm not exactly sure which flags made it tick.

I'm also very much a n00b to the source code,
so I might be missing something really obvious, and I apologize
in advance if that's the case.

Submitted via web form by Haoxuan "Aaron" Yue <haoxuany@andrew.cmu.edu>

Comments:

No Comments Have Been Posted

Attached Files:

Changes

Field Old Value Date By
detailsThis is probably not particularly urgent, especially with recent ongoing work on Successor ML, but this might break some old build setups. heap2exec (the script itself) appears to be unusable by default on 64bit machines with default toolchains. The reason is that most 64bit machines now compile (cc) and link (ld) targeting 64bit architectures by default. Hence, additional flags must be added to the $(CC) and $(LD) variable to the script to accomodate that. Additional comments: This is reproducable on 2 64bit machines: one running linux and one running OSX. Both have the standard developer toolchains installed. On linux it triggers gcc, while on OSX it triggers clang. Both broke, with somewhat similar messages. On OSX (HEAP-SUFFIX=x86-darwin), it tried to link with the binary instead of the relocatable. I believe that the updates in runtime, which now has the -m32 flags, forgot to update the heap2exec script as well? Fix: I actually don't know what the exact linker flags for ld should be, but something like this linked properly on my machine: gcc -m32 mltq.s runtime.x86-linux.a -lm -ldl -rdynamic So for my own projects, I use my own build scripts (apparently some folks really like linked binaries). However, I'm extremely confused about what flags should be passed to ld to make it link with the binary runtime. I've tried something along the lines "ld -m elf_i386", but it still didn't like it, but I do believe something to should be added to EXEC_FLAGS, SO_FLAGS, and A_FLAGS in config/_heap2exec (lines 77~85 declared, modified in if checks). If it's any help, this is the output of `gcc -v` for the above command: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.2 (Debian 4.9.2-10) COLLECT_GCC_OPTIONS='-v' '-m32' '-rdynamic' '-mtune=generic' '-march=i586' as -v --32 -o /tmp/cchsuADs.o mltc.s GNU assembler version 2.25 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.25 COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/32/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-m32' '-rdynamic' '-mtune=generic' '-march=i586' /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFy9PiM.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu -export-dynamic -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/32/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.9/32 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32 -L/lib/i386-linux-gnu -L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu /tmp/cchsuADs.o ../run.x86-linux.a -ldl -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.9/32/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib32/crtn.o I'm no good at this, so I'm not exactly sure which flags made it tick. I'm also very much a n00b to the source code, so I might be missing something really obvious, and I apologize in advance if that's the case. Submitted via web form by Haoxuan "Aaron" Yue <haoxuany@andrew.cmu.edu> 2016-08-19 15:41jhr
Operating SystemGeneric Unix2016-08-19 15:41jhr
ResolutionNone2016-08-19 15:41jhr
Transcript (of reproduction)This is the output of `heap2exec mltq.x86-linux mltq`. I'm not particularly sure why it chose to link with runtime.x86-linux.a (the static lib) instead of runtime.x86-linux (the binary, it's present in objs/), might be some misconfiguration or accidental fiddling on my end, but that is irrelevant. /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(main.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(c-libraries.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ml-options.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(boot.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(load-ml.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(run-ml.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(globals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ml-state.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(error.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(timers.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-timers.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(swap-bytes.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-fault.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(signal-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(prim.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-os-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tmpname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-runt-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sysinfo.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-sig-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-prof-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-sock-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(socket.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(socketpair.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(to-inetaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(to-unixaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-time-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(timeofday.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-date-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(strftime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(smlnj-math-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sqrt64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-process-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sleep.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(waitpid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-procenv-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setpgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setsid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sysconf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(time.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(times.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ttyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(uname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-filesys-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(readdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(readlink.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(rename.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(rewinddir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(rmdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(stat.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(stat_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(symlink.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(umask.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unlink.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(utime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-io-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(read.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(readbuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(write.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(writebuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-sysdb-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-signal-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-tty-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcdrain.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcflow.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcflush.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcgetattr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcgetpgrp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcsendbreak.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcsetattr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tcsetpgrp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-error-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(posix-name-val.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(big-objects.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(build-literals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(c-globals-tbl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(call-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gc-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(import-heap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(init-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(major-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(minor-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ml-objects.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mem-mmap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-dynload-lib.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-raise-syserr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(qualify-name.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(poll.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(alloc-code.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(argv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-in.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-out.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(cmd-name.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(debug.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dummy.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(export-fun.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(export-heap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gc-ctl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(itick.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkexec.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkliterals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(raw-argv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(record-concat.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(record1.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setitimer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(shift-argv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getsigmask.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getsigstate.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(listsignals.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pause.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setsigmask.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setsigstate.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpquantum.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setpref.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setptimer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(accept.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(bind.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(close.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(connect.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlBROADCAST.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlDEBUG.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlDONTROUTE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlKEEPALIVE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlLINGER.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlNODELAY.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlOOBINLINE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlRCVBUF.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlREUSEADDR.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlSNDBUF.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(from-inetaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(from-unixaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getATMARK.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getERROR.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getNREAD.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getTYPE.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getaddrfamily.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gethostbyaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gethostbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gethostname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getnetbyaddr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getnetbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpeername.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getprotbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getprotbynum.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getservbyname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getservbyport.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getsockname.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(inetany.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(list-addr-families.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(list-sock-types.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(listen.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recvbuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recvbuffrom.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(recvfrom.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sendbuf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sendbufto.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(setNBIO.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(shutdown.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tbl-addr-family.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tbl-sock-type.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-mkhostent.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-mknetent.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-mkservent.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(util-sockopt.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gettime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(asctime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(gmtime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(localoffset.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(localtime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mktime.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(atan64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(cos64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctlrndmode.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exp64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(log64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(sin64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(alarm.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exec.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exece.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(execp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(exit.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fork.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(kill.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pause.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ctermid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(environ.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getegid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getenv.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(geteuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgroups.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getlogin.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpgrp.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getppid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(isatty.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(access.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(chdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(chmod.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(chown.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(closedir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fchmod.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fchown.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ftruncate.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(ftruncate_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getcwd.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(link.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkdir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mkfifo.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(opendir.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(openf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pathconf.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(close.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dup.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dup2.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_d.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_gfd.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_gfl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_l.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_l_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_sfd.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fcntl_sfl.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(fsync.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(lseek.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(lseek_64.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(pipe.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgrgid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getgrnam.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpwnam.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(getpwuid.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(osval.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(errmsg.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(geterror.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(listerrors.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(tbl-errno.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(addr-hash.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-in.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-out.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(export-heap.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(flip.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(heap-in-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(heap-out-util.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(mem-writer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(obj-info.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(record-ops.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(writer.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlclose.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlerror.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlopen.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(dlsym.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-signal.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(unix-prof.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `/home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(blast-gc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: mltq(.eh_frame): relocation ".text+0x0 (type R_386_PC32)" goes out of range /usr/bin/ld: /home/haoxuany/projects/smlnj/bin/.run/run.x86-linux.a(swap-bytes.o): file class ELFCLASS32 incompatible with ELFCLASS64 /usr/bin/ld: final link failed: File in wrong format collect2: error: ld returned 1 exit status2016-08-19 15:41jhr
Source (for reproduction)Shouldn't be particularly relevant. Occurs on all projects. I've chosen mltq as an example.2016-08-19 15:41jhr