[GSOC 2014] Multiarch: runtime error

Edson Ticona xcr33d at gmail.com
Mon Jun 30 23:34:28 UTC 2014


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?




More information about the Strace-devel mailing list