#2185 --disable-stm8-port does not compile

closed-fixed
None
STM8
5
2013-06-30
2013-06-12
No

Using the --disable-stm8-port flag to configure produces a build failure when building from source:

[...many lines elided...]
g++ -o ../bin/sdcc NewAlloc.o dbuf.o dbuf_string.o findme.o SDCCy.o SDCChasht.o SDCCmain.o SDCCsymt.o SDCCopt.o SDCCast.o SDCCmem.o SDCCval.o SDCCicode.o SDCCbitv.o SDCCset.o SDCClabel.o SDCCBBlock.o SDCCloop.o SDCCcse.o SDCCcflow.o SDCCdflow.o SDCClrange.o SDCCptropt.o SDCCpeeph.o SDCCglue.o SDCCasm.o SDCCmacro.o SDCCutil.o SDCCdebug.o cdbFile.o SDCCdwarf2.o SDCCerr.o SDCCsystem.o SDCCgen.o SDCClex.o SDCCbtree.o SDCClospre.o SDCCnaddr.o z80/port.a -lm
Undefined first referenced
symbol in file
stm8_port SDCCmain.o
ld: fatal: symbol referencing errors
collect2: ld returned 1 exit status

I seem to recall logging the identical bug for the r2k port :-)

I've used sdcc-src-20130612-8717.tar.bz2 downloaded today. System is Solaris 12, my exact configure line was:

s12x:/build/sdcc/sdcc-20130612-8717> ./configure --prefix=/build/sdcc/tmpinst --disable-mcs51-port --disable-z180-port --disable-r2k-port --disable-r3ka-port --disable-gbz80-port --disable-ds390-port --disable-ds400-port --disable-pic14-port --disable-pic16-port --disable-hc08-port --disable-s08-port --disable-stm8-port --disable-ucsim --disable-sdcdb

Discussion

  • Philipp Klaus Krause

    • status: open --> closed-fixed
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    Fixed in revision #8729.

    Philipp

     

Log in to post a comment.