[Patch] PowerPC: Fix rs6000-gen-builtins with build != host [PR102353]
Tobias Burnus
tobias@codesourcery.com
Thu Sep 16 09:07:25 GMT 2021
As mentioned in https://gcc.gnu.org/PR102353 and in the patch,
rs6000-gen-builtins was build to be run on "host" – and then linked and
on on "build".
That caused bootstrap fails at link time.
The patch now does the same as Makefile.in for 'gen*', i.e. build under
build/ (using the Makefile.in rule), the linking is already the same as
for 'build/gen%' and for running, it runs it with valgrind if configured
(as gen* do). additionally, I added the exe extension var, in case it is
needed, following the gen* rules.
Tested with a x86_64-gnu-linux (build) → powerpc64le-linux-gnu (host,
target) build.
OK?
Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rs6000-make.diff
Type: text/x-patch
Size: 2368 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210916/85e9ff0f/attachment.bin>
More information about the Gcc-patches
mailing list