Menu

#3746 Undefined Global '___fs2ulonglong'

closed-out-of-date
nobody
None
other
5
2026-05-18
2024-06-16
No
volatile uint64_t d=0;
    d+=1e18;

linking with error

sdcc -v
SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/r800/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502/mos65c02 TD-4.4.0
 #14620 (MINGW64)
published under GNU General Public License (GPL)

sdcc -mmcs51 --opt-code-size --model-small --Werror --no-xinit-opt --std-sdcc99 main.c

?ASlink-Warning-Undefined Global '___fs2ulonglong' referenced by module 'main'
2 Attachments

Discussion

  • Benedikt Freisen

    Could be related to [bugs:#3798].

     

    Related

    Bugs: #3798

  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18

    seems to work in trunk for multiple targets.

     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-18
    • status: open --> closed-out-of-date
     

Log in to post a comment.

MongoDB Logo MongoDB