Here's how I configured gcc: /n/08/rask/src/gcc/configure --target=v850-unknown-elf --disable-multilib --disable-nls --disable-gdb --with-newlib --enable-sim
GCC fails to build with this: gcc -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o v850-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \ main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpfr -lgmp libbackend.a(v850.o): In function `substitute_ep_register': /n/08/rask/src/gcc/gcc/config/v850/v850.c:1137: undefined reference to `df_set_regs_ever_live_p' collect2: ld returned 1 exit status make[2]: *** [cc1-dummy] Error 1 make[2]: Leaving directory `/home/rask/build/gcc-v850-unknown-elf/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/rask/build/gcc-v850-unknown-elf' make: *** [all] Error 2 -- Summary: undefined reference to `df_set_regs_ever_live_p' Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at sygehus dot dk GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: v850-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32341