This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Jun 2018 10:26:58 +0000
- Subject: [Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])
- Auto-submitted: auto-generated
- References: <bug-82092-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092
--- Comment #16 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ryan Schmidt from comment #15)
> Yes, I noticed Homebrew had the update, and I didn't understand why it
> worked there. But now I do.
>
> Some more information has turned up in a new MacPorts ticket:
>
> https://trac.macports.org/ticket/56521
>
> In MacPorts gcc ports, we use --with-as=/opt/local/bin/as (this assembler is
> provided by our cctools port). This change was made in MacPorts 6 years ago
> by Jeremy who reported this bug, though I'm not entirely sure why.
>
> I suspect the problem is that our cctools port is currently at version 895,
> which corresponds to what's in Xcode 8.1, and that's apparently too old to
> work properly in this case. I am able to get a more recent snapshot to build
> if I instead use --with-as=/usr/bin/as, so perhaps we either need to do that
> in MacPorts or we need to update our cctools port to a more recent version.
Please let us know how your update goes!