Buildroot removes files when packaing the target fs this causes some of the key files needed to actually use gcc to dissappear. When installing to both the target and staging directories this causes a relink of some libraries which fails the second time around. To avoid this installing only to the target directory and then copying to the staging directory. This was done to work around this problem while focusing on getting gcc running on mistify-os and will be dealt properly later.
Buildroot removes files when packaing the target fs this causes
some of the key files needed to actually use gcc to dissappear.
When installing to both the target and staging directories this
causes a relink of some libraries which fails the second time
around. To avoid this installing only to the target directory and
then copying to the staging directory. This was done to work around
this problem while focusing on getting gcc running on mistify-os and
will be dealt properly later.

mistifyio/mistify-os,mistifyio/mistify-os,mistifyio/mistify-os