[MacPorts] #64914: nss fails to build on Leopard for ppc64
MacPorts
noreply at macports.org
Thu May 12 13:20:56 UTC 2022
#64914: nss fails to build on Leopard for ppc64
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, ppc64
Port: nss |
---------------------------+-------------------------------------
Comment (by barracuda156):
Replying to [comment:3 kencu]:
> I would try what it says to try, and work from there:
> {{{
> mpi/mpcpucache.c:730: error: nested functions are disabled, use
-fnested-functions to re-enable
> }}}
>
> let us know!
{{{
36-111:~ svacchanda$ cd
/opt/local/var/macports/build/_opt_PPCLeopardPorts_net_nss/nss/work/nss-3.78/nss/lib/freebl
36-111:freebl svacchanda$ /opt/local/bin/gcc-mp-11 -Os -std=c99 -arch
ppc64 -o Output.OBJD/Darwin_SINGLE_SHLIB/mpcpucache.o -c -std=c99 -Os
-fPIC -Dppc -fnested-functions -fno-common -pipe -DDARWIN -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX
-DSHLIB_SUFFIX=\"dylib\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
-DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG
-DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-DNSS_USE_64 -DHAVE_INT128_SUPPORT -DMP_API_COMPATIBLE
-I/opt/local/include/nspr -I../../../dist/Output.OBJD/include
-I../../../dist/public/nss -I../../../dist/private/nss -Impi -Iecl
-Iverified -Iverified/kremlin/include
-Iverified/kremlin/kremlib/dist/minimal -Ideprecated mpi/mpcpucache.c
gcc-mp-11: error: unrecognized command-line option '-fnested-functions';
did you mean '-Wunused-function'?
}}}
(This is ran from outside the build, but anyway `gcc11` does not
understand this flag, it seems.)
I think this assembler code may be again simple invalid on Darwin. Notice,
there is no case for `ppc`, and `ppc` builds normally. There is a case for
`ppc64`, and it fails.
--
Ticket URL: <https://trac.macports.org/ticket/64914#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list