https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81755
Bug ID: 81755 Summary: Building of cross compiler for powerpc-wrs-vxworksmils is broken Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: powerpc-wrs-vxworksmils g++ -fno-PIE -c -O0 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/marxin/Programming/gcc2/gcc -I/home/marxin/Programming/gcc2/gcc/. -I/home/marxin/Programming/gcc2/gcc/../include -I/home/marxin/Programming/gcc2/gcc/../libcpp/include -I/home/marxin/Programming/gcc2/gcc/../libdecnumber -I/home/marxin/Programming/gcc2/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/marxin/Programming/gcc2/gcc/../libbacktrace -I. -I. -I/home/marxin/Programming/gcc2/gcc -I/home/marxin/Programming/gcc2/gcc/. -I/home/marxin/Programming/gcc2/gcc/../include -I/home/marxin/Programming/gcc2/gcc/../libcpp/include -I/home/marxin/Programming/gcc2/gcc/../libdecnumber -I/home/marxin/Programming/gcc2/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/marxin/Programming/gcc2/gcc/../libbacktrace /home/marxin/Programming/gcc2/gcc/config/vxworks.c /home/marxin/Programming/gcc2/gcc/config/vxworks.c: In function ‘void vxworks_override_options()’: /home/marxin/Programming/gcc2/gcc/config/vxworks.c:130:22: error: ‘VXWORKS_HAVE_TLS’ was not declared in this scope targetm.have_tls = VXWORKS_HAVE_TLS; ^~~~~~~~~~~~~~~~ /home/marxin/Programming/gcc2/gcc/config/vxworks.c:130:22: note: suggested alternative: ‘VXWORKS_KIND_AE’ targetm.have_tls = VXWORKS_HAVE_TLS; ^~~~~~~~~~~~~~~~ VXWORKS_KIND_AE