<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000066" bgcolor="#FFFFFF">
    <p><font face="Arial">Not really HECnet related, hope this is not
        too rude. Does anyone happen to have a working </font><code
        style="font-family: "Andale Mono", "Courier
        New", Courier, monospace;">dps8m<font face="Arial"> </font></code><code
        style="font-family: "Andale Mono", "Courier
        New", Courier, monospace;"><font face="Arial">binary that works
          on 32-bit Linux, preferably 32-bit Ubuntu 14? The pre-built
          binaries seem to be 64-bit.<br>
        </font></code></p>
    <p><code style="font-family: "Andale Mono", "Courier
        New", Courier, monospace;"><font face="Arial">Attempting to
          build from source is not going well.</font></code></p>
    <p><code style="font-family: "Andale Mono", "Courier
        New", Courier, monospace;"><font face="Arial">cd src/dps8
          && make<br>
          make[1]: Entering directory `/home/rumtuk/dps8m-code/src/dps8'<br>
          Generated dps8.sha1.txt<br>
          make[1]: Leaving directory `/home/rumtuk/dps8m-code/src/dps8'<br>
          make[1]: Entering directory `/home/rumtuk/dps8m-code/src/dps8'<br>
          CC prt2pdf.c<br>
          LD prt2pdf<br>
          (cd ../simh-master; make -f Makefile)<br>
          CC scp.c<br>
          CC sim_console.c<br>
          CC sim_disk.c<br>
          CC sim_ether.c<br>
          CC sim_fio.c<br>
          CC sim_serial.c<br>
          CC sim_sock.c<br>
          CC sim_tape.c<br>
          CC sim_timer.c<br>
          CC sim_tmxr.c<br>
          CC sim_video.c<br>
          AR simh.a<br>
          (cd ../decNumber; make)<br>
          CC decContext.c<br>
          CC decNumber.c<br>
          AR decNumber.a<br>
          #make zmq<br>
          make dps8.sha1.txt<br>
          make[2]: `dps8.sha1.txt' is up to date.<br>
          make dps8<br>
          CC dps8_absi.c<br>
          CC dps8_addrmods.c<br>
          CC dps8_append.c<br>
          CC dps8_bar.c<br>
          CC dps8_cable.c<br>
          CC dps8_console.c<br>
          CC dps8_cpu.c<br>
          dps8_cpu.c:983:39: warning: incompatible pointer types passing
          'void (uv_timer_t *)' to parameter of type 'uv_timer_cb' (aka
          'void (*)(uv_timer_t *, int)') [-Wincompatible-pointer-types]<br>
              uv_timer_start (& ev_poll_handle, ev_poll_cb, 10, 10);<br>
                                                ^~~~~~~~~~<br>
          /usr/include/uv.h:1218:42: note: passing argument to parameter
          'cb' here<br>
                                       uv_timer_cb cb,<br>
                                                   ^<br>
          1 warning generated.<br>
          CC dps8_crdpun.c<br>
          CC dps8_crdrdr.c<br>
          CC dps8_decimal.c<br>
          CC dps8_disk.c<br>
          CC dps8_eis.c<br>
          0  libLLVM-3.4.so.1 0x4102650f
          llvm::sys::PrintStackTrace(_IO_FILE*) + 47<br>
          1  libLLVM-3.4.so.1 0x4102677f<br>
          2  libLLVM-3.4.so.1 0x410262ec<br>
          3                   0x400ca404 __kernel_sigreturn + 0<br>
          4  libLLVM-3.4.so.1 0x40f5108a
          llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc,
          llvm::EVT, llvm::SDValue) + 282<br>
          5  libLLVM-3.4.so.1 0x40f60c0a<br>
          6  libLLVM-3.4.so.1 0x40f600e4<br>
          7  libLLVM-3.4.so.1 0x40f67c0b
llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&)
          const + 3275<br>
          8  libLLVM-3.4.so.1 0x40fb8ba3
          llvm::TargetLowering::makeLibCall(llvm::SelectionDAG&,
          llvm::RTLIB::Libcall, llvm::EVT, llvm::SDValue const*,
          unsigned int, bool, llvm::SDLoc, bool, bool) const + 963<br>
          9  libLLVM-3.4.so.1 0x40ede226<br>
          10 libLLVM-3.4.so.1 0x40ee466d<br>
          11 libLLVM-3.4.so.1 0x40ef3b63<br>
          12 libLLVM-3.4.so.1 0x40ef419f
          llvm::SelectionDAG::LegalizeTypes() + 943<br>
          13 libLLVM-3.4.so.1 0x40fa505d
          llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 205<br>
          14 libLLVM-3.4.so.1 0x40fa55a8
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
          const>, llvm::ilist_iterator<llvm::Instruction
          const>, bool&) + 168<br>
          15 libLLVM-3.4.so.1 0x40fa6d8c
          llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function
          const&) + 1292<br>
          16 libLLVM-3.4.so.1 0x40fa81e0
          llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
          + 1088<br>
          17 libLLVM-3.4.so.1 0x40740a1e
          llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
          + 126<br>
          18 libLLVM-3.4.so.1 0x40921cfc
          llvm::FPPassManager::runOnFunction(llvm::Function&) + 524<br>
          19 libLLVM-3.4.so.1 0x40921d98
          llvm::FPPassManager::runOnModule(llvm::Module&) + 56<br>
          20 libLLVM-3.4.so.1 0x40924475
          llvm::legacy::PassManagerImpl::run(llvm::Module&) + 773<br>
          21 libLLVM-3.4.so.1 0x40924616
          llvm::legacy::PassManager::run(llvm::Module&) + 38<br>
          22 clang            0x08420451
          clang::EmitBackendOutput(clang::DiagnosticsEngine&,
          clang::CodeGenOptions const&, clang::TargetOptions
          const&, clang::LangOptions const&, llvm::Module*,
          clang::BackendAction, llvm::raw_ostream*) + 2273<br>
          23 clang            0x0841de48<br>
          24 clang            0x085b2193
          clang::ParseAST(clang::Sema&, bool, bool) + 547<br>
          25 clang            0x0829ec0f
          clang::ASTFrontendAction::ExecuteAction() + 127<br>
          26 clang            0x0841c8d1
          clang::CodeGenAction::ExecuteAction() + 33<br>
          27 clang            0x0829f338
          clang::FrontendAction::Execute() + 168<br>
          28 clang            0x082794e2
          clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
          + 258<br>
          29 clang            0x08262d8e
          clang::ExecuteCompilerInvocation(clang::CompilerInstance*) +
          1598<br>
          30 clang            0x0825e3fe cc1_main(char const**, char
          const**, char const*, void*) + 1294<br>
          31 clang            0x0825c958 main + 8072<br>
          32 libc.so.6        0x41bd5af3 __libc_start_main + 243<br>
          33 clang            0x0825d301<br>
          Stack dump:<br>
          0.      Program arguments: /usr/bin/clang -cc1 -triple
          i386-pc-linux-gnu -emit-obj -disable-free
          -disable-llvm-verifier -main-file-name dps8_eis.c
          -mrelocation-model static -fmath-errno -masm-verbose
          -mconstructor-aliases -fuse-init-array -target-cpu pentium4
          -target-linker-version 2.24 -momit-leaf-frame-pointer -g
          -coverage-file /home/rumtuk/dps8m-code/src/dps8/dps8_eis.o
          -resource-dir /usr/bin/../lib/clang/3.4 -U __STRICT_ANSI__ -D
          _GNU_SOURCE -D USE_READER_THREAD -D USE_INT64 -D
          HAVE_DLOPEN=so -D FNP2 -I ../decNumber -I ../simh-master -I
          ../include -I ../decNumber -I ../simh-master -internal-isystem
          /usr/local/include -internal-isystem
          /usr/bin/../lib/clang/3.4/include -internal-externc-isystem
          /usr/bin/../lib/gcc/i686-linux-gnu/4.8/include
          -internal-externc-isystem /usr/include/i386-linux-gnu
          -internal-externc-isystem /include -internal-externc-isystem
          /usr/include -O3 -Wno-array-bounds -Wall -Wconversion
          -Wsign-conversion -std=c99 -fdebug-compilation-dir
          /home/rumtuk/dps8m-code/src/dps8 -ferror-limit 19
          -fmessage-length 207 -mstackrealign -fobjc-runtime=gcc
          -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops
          -vectorize-slp -o dps8_eis.o -x c dps8_eis.c<br>
          1.      <eof> parser at end of file<br>
          2.      Code generation<br>
          3.      Running pass 'Function Pass Manager' on module
          'dps8_eis.c'.<br>
          4.      Running pass 'X86 DAG->DAG Instruction Selection'
          on function '@btd'<br>
          clang: error: unable to execute command: Segmentation fault
          (core dumped)<br>
          clang: error: clang frontend command failed due to signal (use
          -v to see invocation)<br>
          Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final)
          (based on LLVM 3.4)<br>
          Target: i386-pc-linux-gnu<br>
          Thread model: posix<br>
          clang: note: diagnostic msg: PLEASE submit a bug report to
          <a class="moz-txt-link-freetext" href="http://bugs.debian.org/">http://bugs.debian.org/</a> and include the crash backtrace,
          preprocessed source, and associated run script.<br>
          clang: note: diagnostic msg:<br>
          ********************<br>
          <br>
          PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>
          Preprocessed source(s) and associated run script(s) are
          located at:<br>
          clang: note: diagnostic msg: /tmp/dps8_eis-9030d5.c<br>
          clang: note: diagnostic msg: /tmp/dps8_eis-9030d5.sh<br>
          clang: note: diagnostic msg:<br>
          <br>
          ********************<br>
          make[2]: *** [dps8_eis.o] Error 254<br>
          make[1]: *** [locallibs_then_dps8] Error 2<br>
          make[1]: Leaving directory `/home/rumtuk/dps8m-code/src/dps8'<br>
          make: *** [all] Error 2<br>
          <br>
        </font></code></p>
  </body>
</html>