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

--- Comment #2 from Tomas Kalibera <tomas.kalibera at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> When I do cross back builds, I normally don't rebuild the target libraries
> and just use the already built target libraries from the cross builds. Since
> you are now building the target libraries twice and you really don't need to
> though.

Thanks, but it is still a bug, right? I've got a report from a user who ran
into this in gcc built via MXE (specifically via Rtools which are a fork of MXE
for building R and packages), plugins/examples/host-toolchain/gcc-host. I
assume MXE builds libstdc++ twice to simplify maintenance of the build scripts
which would otherwise have to somehow copy some of the files from the previous
build (and ccache is used). The docker file attached is a simplified version of
the build but retains the same problem.

Reply via email to