https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93419
--- Comment #5 from kloetzl <fabian-gcc at kloetzl dot info> --- Sorry for missing out the details, here goes: I work in a Debian Hurd 20290705 image using qemu. The example file is given above. Compiling with `gcc -Wall -Wextra ifunc.c` produces the following error. error: ifunc is not supported on this target int fn(void) __attribute((ifunc("fn_select"))); The output of gcc -v is (may contain typos) COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-gnu/8/lto-wrapper Target: i686-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-7' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=i686-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-include-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --disable-libitm --disable-libsanitizer --enable-plugin --enable-default-pie --with-system-zlib --disable-libphobos --enable-multiarch --disable-werror --with-arch=i586 --with-tune=generic --enable-checking=release --build=i686-gnu --host-i686-gnu --target=i686-gnu Thread model: posix gcc version 8.3.0 (Debian 8.3.0-7) So it is not 9.0 as I first thought. Hope this helps.