The 32-bit Linux snapshot is failing due to an error building the preprocessor, probably starting in [r13690] but at least definitely in [r13714]:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace -I /home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace/../include -I /home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O2 -I/home/sdcc-builder/local-cf-i386-debian/include -c /home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace/mmap.c -o mmap.o >/dev/null 2>&1
libtool: link: ar rc .libs/libbacktrace.a .libs/atomic.o .libs/dwarf.o .libs/fileline.o .libs/posix.o .libs/print.o .libs/sort.o .libs/state.o .libs/backtrace.o .libs/simple.o .libs/elf.o .libs/mmapio.o .libs/mmap.o
libtool: link: ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" )
ar: `u' modifier ignored since `D' is the default (see `U')
c/c-lang.o:(.data+0x190): undefined reference to `lhd_append_data(void const*, unsigned int, void*)'
collect2: error: ld returned 1 exit status
/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/gcc/c/Make-lang.in:98: recipe for target 'cc1' failed
make[6]: *** [cc1] Error 1
make[6]: Target 'all' not remade because of errors.
Makefile:1531: recipe for target 'all-gcc' failed
make[5]: *** [all-gcc] Error 2
make[5]: Target 'all-host' not remade because of errors.
Makefile:916: recipe for target 'all' failed
make[4]: *** [all] Error 2
Makefile:146: recipe for target 'sdcc-libs' failed
make[3]: *** [sdcc-libs] Error 2
make[3]: Target 'sdcc' not remade because of errors.
components/sdcc.mk:41: recipe for target 'sdcc-build' failed
make[2]: *** [sdcc-build] Error 2
Diff:
Related
Commit: [r13690]
Commit: [r13714]
This is related to and similar to [bugs:#3477].
Related
Bugs:
#3477Last edit: Benedikt Freisen 2022-10-11
I think I have a patch. But i can't build trunk (13735) today because of
make[3]: Entering directory '/home/felix/extern/sdcc/btrunk/sim/ucsim/p1516.src'
g++ -Wall -Wno-overloaded-virtual -g -O2 -ggdb -pipe simp1516.o p1516.o glob.o port.o sp1516.o -L.. -lsim -lucsimutil -lguiucsim -lcmd -lsim -lrt -o ucsim_p1516
/usr/bin/ld: simp1516.o: in function
cl_simp1516::mk_controller()': /home/felix/extern/sdcc/btrunk/sim/ucsim/p1516.src/../../../../sim/ucsim/p1516.src/simp1516.cc:67: undefined reference tocl_p2223::cl_p2223(cl_sim*)'collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:133: ucsim_p1516] Error 1
make[3]: Leaving directory '/home/felix/extern/sdcc/btrunk/sim/ucsim/p1516.src'
Could be caused by 13734...?
Dear Felix,
You should re-configure at least the uCsim source tree, as p2223 is a new stuff.
Daniel
Thanks Daniel (sorry for the noise).
This is fixed in [r13738].
Related
Commit: [r13738]