https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So auto-host.h should include the define:

from config.in:
```
/* Define this to enable support for offloading. */
#ifndef USED_FOR_TARGET
#undef ENABLE_OFFLOADING
#endif
```

The correctly generated auto-host.h has:
```
/* Define this to enable support for offloading. */
#ifndef USED_FOR_TARGET
#define ENABLE_OFFLOADING 0
#endif
```

So either the wrong auto-host.h/config.h is being picked up or it is generated
incorrectly from configure.

Does the auto-host.h include that?

Which shell are you using as your /bin/sh ? a POSIX one should be ok but dash
sometimes gives issue due to accidental use of bashism.

Can you provide the full log? Or config.log and config.status from the gcc
subdirectory?

Reply via email to