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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 28 13:17:58 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266

Gerald Pfeifer <gerald at FreeBSD.org> changed:

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

--- Comment #17 from Gerald Pfeifer <gerald at FreeBSD.org> ---
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 the assignee for the bug.


More information about the freebsd-toolchain mailing list