Thanks for writing to us, Atanas. Sorry about the delay, we've been a
bit busy. I can confirm that I can reproduce this issue locally. I'll
try to see what's going on.

On Thu, Dec 15, 2016 at 02:37:28PM +1030, Atanas Parashkevov wrote:
> Hello DMTCP gurus,
> 
> I am having trouble getting the DMTCP multiarch support to work on any Linux 
> distribution (I have tried quite a few). I have looked at the Debian and 
> Ubuntu pre-built packages and the amd64 versions of those do not support 
> multiarch, either.
> 
> I have raised a Github issue on this, here:
> 
> https://github.com/dmtcp/dmtcp/issues/458
> 
> Here is an example of what I get, on Ubuntu 14.04 LTS 64-bit install, when 
> building from source and running a random 32-bit application under DMTCP:
> 
> # ./configure --enable-m32
> [… lots of output, no errors…]
> # make clean
> [… lots of output, no errors …]
> # make
> [… lots of output, no errors …]
> # ./configure
> [… lots of output, no errors …]
> # make clean
> [… lots of output, no errors …]
> # make
> [… lots of output, no errors …]
> # bin/dmtcp_launch <i386-program>
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_alloc.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_dl.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_ipc.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_svipc.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_timer.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_pid.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> 
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_alloc.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_dl.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_ipc.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_svipc.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_timer.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object '/work/dmtcp-2.5.0-rc2/lib/dmtcp/libdmtcp_pid.so' from 
> LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> program> 
> 
> The messages are the same with other versions of DMTCP, I have tried 2.4.5 
> and 2.4.1 as well, thus it is not an issue introduced recently. Since the 
> 32-bit application is running, I can checkpoint it, but any attempt to 
> restore it from a saved checkpoint leads to a bus error:
> 
> # ./dmtcp_restart_script.sh 
> size = 1
> Bus error (core dumped)
> 
> 
> Any clues?
> 
> 
> Best regards,
>       Atanas
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Dmtcp-forum mailing list
> Dmtcp-forum@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to