Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#55863 - [sdcc] Will not create hex file for stm8

Attached to Project: Community Packages
Opened by Sanjay Chopra (sanjuchopracool) - Wednesday, 04 October 2017, 14:00 GMT
Last edited by Kyle Keen (keenerd) - Saturday, 15 September 2018, 02:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


sdcc (3.6.0-4) does not create hex file for stm8. while 3.6.0-3 is working fine.

Additional info:
* package version(s) 3.6.0-4
* config and/or log files etc.

Steps to reproduce:

sdcc -mstm8 --std-c99 main.c // this does not create any hex file
sdcc main.rel -o main.ihx // this also does not create main.hex
This task depends upon

Closed by  Kyle Keen (keenerd)
Saturday, 15 September 2018, 02:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  sdcc 3.7.0
Comment by J. K. (Jake) - Sunday, 10 December 2017, 11:29 GMT
Just want to say thanks for the bug report, this wasted so much of my time, everywhere is written that sdcc generates an ihx and it would just not work...
Now i am also using 3.6.0-3 and it is fine. So it is still not fixed.
Comment by Roman Tataurov (webhive) - Saturday, 23 December 2017, 21:34 GMT
Got same issue version 3.6.0-4 does not work

If run with -V --verbose flags I got errors

sdcc: sdasstm8 -plosgffw "./build/main.asm"
+ /usr/bin/sdasstm8 -plosgffw "./build/main.asm"
sdcc -mstm8 -L./STM8S003_stdlib/lib/ -lstm8s_stdlib.a -I./STM8S003_stdlib/include -DSTM8S003 -V --verbose -o./build/ --out-fmt-ihx ./build/main.rel
sdcc: Calling linker...
sdcc: sdldstm8 -nf "./build/"
+ /usr/bin/sdldstm8 -nf "./build/"
+ /usr/bin/sdldstm8 -nf "./build/" returned errorcode 139
make: *** [Makefile:24: main.ihx] Error 1

If update single binary file /usr/bin/sdldstm8 from sdcc-snapshot-amd64-unknown-linux2.5-20171223-10186.tar.bz2 everything became work fine
Comment by Balló György (City-busz) - Sunday, 07 January 2018, 21:25 GMT