NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/53380: undefined reference to `__atomic_fetch_add_8'
The following reply was made to PR port-macppc/53380; it has been noted by GNATS.
From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-macppc/53380: undefined reference to `__atomic_fetch_add_8'
Date: Fri, 22 Mar 2019 00:47:26 -0400
This issue -- with spidermonkey52, anyway -- was addressed by me back
in January. I didn't know this PR existed at the time. (The commit is
here: http://anonhg.netbsd.org/pkgsrc/rev/420ac31d94c7 .)
Sevan, if you haven't already done so, please try building it again.
It builds and runs successfully for me. (And, yes, I tested it by using
the JavaScript console that SpiderMonkey provides.)
(My impetus for fixing this was so that the Xfce meta-package builds on
macppc. It now does.)
Fundamentally, the only way I know this will build on 32-bit PowerPC is
to use GCC's libatomic. This isn't available in NetBSD base, so we must
use a GCC from pkgsrc, and force it to install the associated libgcc
libraries. (As leot@ noted recently about Firefox, this "abuses" the
meaning of USE_PKGSRC_GCC_RUNTIME, but there's no way around this
here.)
If it's enough of a concern, I suppose the other possibility would be
to beg mrg@ to include GCC's libatomic in base. I'm not sure how much
general utility that would have. (I don't mean that to be too skeptical
sounding, but at this point, we can expect increasing problems with a
lot of recent software.) Otherwise, this can be closed.
Dave
Home |
Main Index |
Thread Index |
Old Index