Menu

#205 Sdcc Crashes During Build Process

None
closed-accepted
nobody
None
5
2026-05-18
2025-06-11
No

For the last few weeks when I try to build sdcc from the source in svn it crashes during the build process, e.g.
make[5]: Entering directory '/home/tranter/git/sdcc/sdcc/device/lib/mos6502'
/home/tranter/git/sdcc/sdcc/bin/sdcc -I./../../include -I. --std-c23 -mmos6502 --max-allocs-per-node 25000 --opt-code-speed -c ../_atof.c -o _atof.rel
Caught signal 11: SIGSEGV

I get many more similar crashes if I continue the build with "make -k".

The platform is Ubuntu Linux 24.04.2.
The native C compiler is gcc 13.3.0.
I have tried doing a clean configure and build from source.
Any suggestions?

Discussion

  • Philipp Klaus Krause

    This is [bugs:#3853], a conflict between the mos6502/65c02 port and the pic14 port. Workaround: Disable the ms6502/65c02 port or the pic14 port at configure time.

     

    Related

    Bugs: #3853

  • Jeff Tranter

    Jeff Tranter - 2025-06-11

    Thanks. The workaround solves my crash issue.

     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18

    fixed in [r16536]

     

    Related

    Commit: [r16536]

  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18
    • status: open --> closed-accepted
    • Group: -->
     

Log in to post a comment.

Monday.com Logo