Re: [BUG Report] undefined reference to `convert_to_fxsr'

From: Nathan Chancellor
Date: Mon Jan 09 2023 - 12:11:46 EST


On Mon, Jan 09, 2023 at 08:32:09PM +0800, Miaohe Lin wrote:
> On 2023/1/9 19:49, Borislav Petkov wrote:
> > On Mon, Jan 09, 2023 at 09:48:50AM +0800, Miaohe Lin wrote:
> >> Oh, sorry, I miss-read that. My compiler is gcc-7.3.0 which contains many
> >> in-house codes from our company in it. That might matters. Thanks a lot for
> >> your guidance. :)
> >
> > Yah, next time, before you report something like that, try to reproduce it with
> > an official compiler (gcc from the upstream repo, SUSE, Debian, RH-built etc).
> >
> > If it doesn't reproduce, go complain to the folks who hack your in-house
> > compiler.
>
> Sorry, my bad! I thought my compiler is just as same as upstream one... Many thanks for your time.

Just for the future, in case you were not aware of it, Arnd provides
vanilla GCC toolchains, which can be really helpful for ruling out
(or blaming) downstream compiler patches as the cause of problems:

https://mirrors.edge.kernel.org/pub/tools/crosstool/

You might not run into this problem again but if you do, it might save
some time :)

Cheers,
Nathan