[Bug 239266] lang/gcc8 fails to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266

Gerald Pfeifer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #205872|0                           |1
        is obsolete|                            |

--- Comment #17 from Gerald Pfeifer <[email protected]> ---
Created attachment 206115
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206115&action=edit
Proposed hack to work around clang issue

(In reply to Piotr Kubaj from comment #16)
> Your patch is slightly incorrect (missing esac), but even after
> correcting it, I still get the same error:

This is to be expected, since Andreas' patch aims to address the ABI
issue (which was mentioned "in passing" here), not the fact that clang
poisons user namespace by default.

> I pass --with-abi=elfv2 in CONFIGURE_ARGS and there are no other patches.

You need either the original patch attached to this PR or someone like
the lighter one I am attaching thusly.  Does it work then?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.