Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jan 2020 00:52:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 243101] security/nss: fix builds for 32-bit powerpc
Message-ID:  <bug-243101-25139@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 243101
           Summary: security/nss: fix builds for 32-bit powerpc
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: lfmorrison@gmail.com
                CC: powerpc@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org
                CC: powerpc@FreeBSD.org

The port fails to build due to unrecognized compiler command line arguments
-mcrypto and -mvsx. I am building on a Mac Mini G4 running FreeBSD 12.1-REL=
EASE
and a freshly updated ports tree as of January 4, 2020 at 20:00 AST.

The failure is probably related to the same root cause as (a portion of) bug
242521. In that case, the solution was to switch from base cc to GCC9. Howe=
ver,
the change was only applied for powerpc64; the same compiler complaints also
apply to 32-bit powerpc.

Repeating the build with USE_GCC=3D9 yields a successful result.

I suggest that the port should be updated to automatically choose gcc9 inst=
ead
of base gcc4.2 for the 32-bit powerpc architecture as well.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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