Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 17:16:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248755] lang/gcc7: Fix build with clang 11
Message-ID:  <bug-248755-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248755

            Bug ID: 248755
           Summary: lang/gcc7: Fix build with clang 11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)

Created attachment 217344
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217344&action=
=3Dedit
lang/gcc7: Fix build with clang 11

With clang 11, imported into base r364284, building lang/gcc7 results in:

/wrkdirs/usr/ports/lang/gcc7/work/gcc-7.5.0/gcc/config/i386/i386.c:9631:8:
error: cannot initialize a variable of type 'bool' with an rvalue of type
'nullptr_t'
  bool error_p =3D NULL;
       ^         ~~~~

Upstream has already fixed this at some point, by replacing 'NULL' with
'false'.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248755-7788>