objdiff icon indicating copy to clipboard operation
objdiff copied to clipboard

"Hit the end of input before it was expected"

Open H-A-M-G-E-R opened this issue 1 year ago • 3 comments

when trying to compile with agbcc with -Werror -O2 -mthumb-interwork -fhex-asm -g3 image

H-A-M-G-E-R avatar Nov 06 '24 16:11 H-A-M-G-E-R

Is this still an issue?

encounter avatar Aug 18 '25 15:08 encounter

yes

H-A-M-G-E-R avatar Aug 19 '25 06:08 H-A-M-G-E-R

Does this happen when compiling without debugging symbols as well? agbcc's dwarf output is broken, according to readelf and llvm-dwarfdump, and I resolved this by not passing -g Edit: This was just a remnant of using an old version of objdiff, everything works as expected with 3.2.1

soiryl-pas avatar Sep 20 '25 20:09 soiryl-pas