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

--- Comment #6 from Li Pan <pan2.li at intel dot com> ---
(In reply to Thomas Schwinge from comment #5)
> (In reply to Li Pan from comment #3)
> > best practice of cross
> > compile gfx908 in x86 linux?
> 
> If you only need the 'cc1' (and no assembler, linker, libc), the following
> should do:
> 
>     $ [...]/configure --target=amdgcn-amdhsa --enable-languages=c
>     $ make -j12 all-gcc
>     $ gcc/cc1 [...]

Thanks a lot. I can reproduce this and will send the PATCH following Richard's
suggestions after no surprise from test suites.

Reply via email to