mescc-tools FTBFS on ppc64el

Bug #2072472 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mescc-tools (Debian)
New
Unknown
mescc-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

mescc-tools fails to build on ppc64el with the following error:

test/test13/hello.sh
+ ./bin/M1 --little-endian --architecture ppc64le -f test/test13/hello.M1 -o test/test13/hello.hex2
+ ./bin/hex2 --little-endian --architecture ppc64le --base-address 0x10000 -f elf_headers/elf64-PPC64LE.hex2 -f test/test13/hello.hex2 -o test/results/test13-binary
+ ./bin/get_machine
+ [ ppc64le = ppc64le ]
+ ./bin/get_machine --os
+ [ Linux = Linux ]
+ ./test/results/test13-binary
Illegal instruction (core dumped)
+ [ 132 = 42 ]
+ exit 3
make[1]: *** [makefile:145: test13-binary] Error 3

The package builds fine in Debian on the same arch.

Simon Chopin (schopin)
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

same issue with 1.4 version of the package.
The elf stub provided in elf_headers/elf64-PPC64LE.hex2 does not point to the entrypoint of hello.hex.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

After remembering about gdb's starti command to start debugging at the very first instruction, I think this is an upstream bug in the test and filed https://github.com/oriansj/mescc-tools/issues/47 and will upload a simple fix.

Changed in mescc-tools (Debian):
status: Unknown → New
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

My fix migrated (I forgot to reference this bug in the changelog)

Changed in mescc-tools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.