http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59902
Bug ID: 59902 Summary: Cilk gcc bootstrap for arm target on x86 host Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: karim at kaist dot ac.kr I successfully compiled gcc cilk on x86 but I would like also to compile it for a cross compilation on arm target. I am constantly getting these errors (out of scope error): ../../../gcc-cilk-src/gcc/config/arm/arm.c:664:29: error: ‘default_itt_notify_section_name’ was not declared in this scope ../../../gcc-cilk-src/gcc/config/arm/arm.c:664:29: error: ‘default_itt_notify_subtract_labels’ was not declared in this scope These variables exit in the gcc-4.8.2 (without cilk libraries) but with gcc cilk is using define TARGET_CILK.. default_itt_notify_section_name. the arm.c contains include to target-def.h in the gcc-cilk-src which contains includes target-hook-def.h. the latter generates in the gcc-cilk-obj and contains the definition of those variables. the method I am using for building the cross compiled bootstrapped gcc-4.8.2 successfully. the version of gcc-cilk I am using is gcc-4.9.0 this is the command used for bootstrapping: ../../gcc-cilk-src/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-linux-gnueabihf --prefix=/opt/arm/ --without-headers --enable-bootstrap --enable-languages=c,c++ --enable-__cxa_atexit --disable-libmudflap --with-gnu-ld --with-gnu-as --disable-libssp --disable-libgomp --disable-nls --disable-shared --with-gmp=/opt/gcc --with-mpfr=/opt/gcc --with-mpc=/opt/gcc --with-isl=/opt/gcc --with-autoconf=/opt/gcc Any help would be appreciated. Thank you