public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sandra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102353] New: powerpc64le-linux-gnu build failure when build != host Date: Wed, 15 Sep 2021 17:34:51 +0000 [thread overview] Message-ID: <bug-102353-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102353 Bug ID: 102353 Summary: powerpc64le-linux-gnu build failure when build != host Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org CC: wschmidt at linux dot ibm.com Target Milestone: --- Host: powerpc64le-linux-gnu Target: powerpc64le-linux-gnu Build: x86_64-linux-gnu I'm trying to build gcc for powerpc64le-linux-gnu host and target from x86_64-linux-gnu host using scripts that have been known to work within the last month or so. I'm seeing multiple linker errors like ld: rs6000-gen-builtins.o: Relocations in generic ELF (EM: 21) followed by ld: rs6000-gen-builtins.o: error adding symbols: file in wrong format And indeed, looking at config/rs6000/t-rs6000, this seems to be broken: rs6000-gen-builtins.o: $(srcdir)/config/rs6000/rs6000-gen-builtins.c $(COMPILE) $< $(POSTCOMPILE) rbtree.o: $(srcdir)/config/rs6000/rbtree.c $(COMPILE) $< $(POSTCOMPILE) rs6000-gen-builtins: rs6000-gen-builtins.o rbtree.o $(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) -o $@ \ $(filter-out $(BUILD_LIBDEPS), $^) $(BUILD_LIBS) The two .o files are being built with the *host* compiler, and we're trying to link them with the *build* linker. ???
next reply other threads:[~2021-09-15 17:34 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-15 17:34 sandra at gcc dot gnu.org [this message] 2021-09-15 17:36 ` [Bug target/102353] " sandra at gcc dot gnu.org 2021-09-15 17:38 ` wschmidt at gcc dot gnu.org 2021-09-15 19:49 ` wschmidt at gcc dot gnu.org 2021-09-15 23:36 ` sandra at gcc dot gnu.org 2021-09-16 9:21 ` burnus at gcc dot gnu.org 2021-09-16 12:50 ` wschmidt at gcc dot gnu.org 2021-09-16 16:37 ` cvs-commit at gcc dot gnu.org 2021-09-16 16:53 ` burnus at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-102353-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).