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

index | next in thread | previous in thread | raw e-mail

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko mailing list
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 243101: security/nss: fix builds for 32-bit powerpc
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243101



--- Description ---
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-RELEASE
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. However,
the change was only applied for powerpc64; the same compiler complaints also
apply to 32-bit powerpc.

Repeating the build with USE_GCC=9 yields a successful result.

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


help

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