Temporary header file '/tmp/Ipirl88nbR/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/share/yosys/include/backends/cxxrtl/cxxrtl.h" #include "/usr/share/yosys/include/backends/cxxrtl/cxxrtl_capi.h" #include "/usr/share/yosys/include/backends/cxxrtl/cxxrtl_vcd.h" #include "/usr/share/yosys/include/backends/cxxrtl/cxxrtl_vcd_capi.h" #include "/usr/share/yosys/include/backends/rtlil/rtlil_backend.h" #include "/usr/share/yosys/include/frontends/ast/ast.h" #include "/usr/share/yosys/include/frontends/ast/ast_binding.h" #include "/usr/share/yosys/include/frontends/blif/blifparse.h" #include "/usr/share/yosys/include/kernel/binding.h" #include "/usr/share/yosys/include/kernel/celledges.h" #include "/usr/share/yosys/include/kernel/celltypes.h" #include "/usr/share/yosys/include/kernel/consteval.h" #include "/usr/share/yosys/include/kernel/ff.h" #include "/usr/share/yosys/include/kernel/ffinit.h" #include "/usr/share/yosys/include/kernel/fstdata.h" #include "/usr/share/yosys/include/kernel/hashlib.h" #include "/usr/share/yosys/include/kernel/log.h" #include "/usr/share/yosys/include/kernel/macc.h" #include "/usr/share/yosys/include/kernel/mem.h" #include "/usr/share/yosys/include/kernel/modtools.h" #include "/usr/share/yosys/include/kernel/qcsat.h" #include "/usr/share/yosys/include/kernel/register.h" #include "/usr/share/yosys/include/kernel/rtlil.h" #include "/usr/share/yosys/include/kernel/satgen.h" #include "/usr/share/yosys/include/kernel/sigtools.h" #include "/usr/share/yosys/include/kernel/utils.h" #include "/usr/share/yosys/include/kernel/yosys.h" #include "/usr/share/yosys/include/libs/ezsat/ezminisat.h" #include "/usr/share/yosys/include/libs/ezsat/ezsat.h" #include "/usr/share/yosys/include/libs/fst/fstapi.h" #include "/usr/share/yosys/include/libs/json11/json11.hpp" #include "/usr/share/yosys/include/libs/sha1/sha1.h" #include "/usr/share/yosys/include/passes/fsm/fsmdata.h" // add namespaces namespace cxxrtl{typedef int tmp_add_type_1;} cxxrtl::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace hashlib{typedef int tmp_add_type_2;} hashlib::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace json11{typedef int tmp_add_type_3;} json11::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace Minisat{typedef int tmp_add_type_4;} Minisat::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace Yosys{typedef int tmp_add_type_5;} Yosys::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace Yosys{namespace AST{typedef int tmp_add_type_6;}} Yosys::AST::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace Yosys{namespace hashlib{typedef int tmp_add_type_7;}} Yosys::hashlib::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace Yosys{namespace RTLIL{typedef int tmp_add_type_8;}} Yosys::RTLIL::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace Yosys{namespace RTLIL{namespace ID{typedef int tmp_add_type_9;}}} Yosys::RTLIL::ID::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace cxxrtl_yosys{typedef int tmp_add_type_10;} cxxrtl_yosys::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace Yosys{namespace AST_INTERNAL{typedef int tmp_add_type_11;}} Yosys::AST_INTERNAL::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace Yosys{namespace RTLIL_BACKEND{typedef int tmp_add_type_12;}} Yosys::RTLIL_BACKEND::tmp_add_type_12 tmp_add_func_12(){return 0;}; // add classes SHA1* tmp_add_class_0; _G_fpos64_t* tmp_add_class_1; _G_fpos_t* tmp_add_class_2; _IO_cookie_io_functions_t* tmp_add_class_3; _cxxrtl_outline* tmp_add_class_4; _cxxrtl_toplevel* tmp_add_class_5; cxxrtl_object* tmp_add_class_6; ezMiniSAT* tmp_add_class_7; ezSAT* tmp_add_class_8; ezSATbit* tmp_add_class_9; ezSATvec* tmp_add_class_10; fstETab* tmp_add_class_11; fstHier* tmp_add_class_12; gzFile_s* tmp_add_class_13; gz_header_s* tmp_add_class_14; itimerval* tmp_add_class_15; rlimit64* tmp_add_class_16; ucontext_t* tmp_add_class_17; z_stream_s* tmp_add_class_18; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Ipirl88nbR/dump1.h" -I/usr/include/tcl8.6 -I/usr/share/yosys/include In file included from /usr/share/yosys/include/backends/rtlil/rtlil_backend.h:28, from /tmp/Ipirl88nbR/dump1.h:16: /usr/share/yosys/include/kernel/yosys.h:75:4: error: #error It looks like you are trying to build Yosys without the config defines set. When building Yosys with a custom make system, make sure you set all the defines the Yosys Makefile would set for your build configuration. 75 | # error It looks like you are trying to build Yosys without the config defines set. \ | ^~~~~