On Tue, Jul 1, 2014 at 1:34 AM, Edson Ticona <xcr...@gmail.com> wrote:
> Hi
> I could convert i386 binary to x86_64 by using:
> objcopy -O elf64-x86-64 sigaltstack-i386.i sigaltstack-x86_64.i
> then, compiling goes fine like this:
> gcc -Wall -Wwrite-strings -g -O2   -o strace aio.o bjm.o block.o
> count.o desc.o fanotify.o file.o inotify.o io.o ioctl.o ioprio.o ipc.o
> kexec.o keyctl.o ldt.o loop.o mem.o mtd.o net.o pathtrace.o process.o
> ptp.o quota.o reboot.o resource.o scsi.o signal.o sigaltstack.o
> sigaltstack-x86_64.i sock.o strace.o stream.o syscall.o system.o
> term.o time.o util.o vsprintf.o
> However, I get a SIGSEGV on execution time. What could be causing it?

Let me ask a stupid question in return...

Why would you not compile the ,o directly as x86_64 instead?

Have you considered using qemu, a VM, lxc/docker for that?

--
Cordially
Philippe Ombredanne

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to