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
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
|
Details
Description:
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
Saturday, 15 September 2018, 02:42 GMT
Reason for closing: Fixed
Additional comments about closing: sdcc 3.7.0
Now i am also using 3.6.0-3 and it is fine. So it is still not fixed.
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/main.lk"
+ /usr/bin/sdldstm8 -nf "./build/main.lk"
+ /usr/bin/sdldstm8 -nf "./build/main.lk" 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
https://aur.archlinux.org/packages/sdcc/