On Thu, Dec 06 2018, "Ted Unangst" <t...@tedunangst.com> wrote: > Jeremie Courreges-Anglas wrote: >> On Thu, Dec 06 2018, "Ted Unangst" <t...@tedunangst.com> wrote: >> > running hg on sparc64 complains of missing symbols. >> > >> > t5120$ hg version >> > python2.7:/usr/local/lib/python2.7/site-packages/mercurial/zstd.so: >> > undefined >> > symbol '__builtin_bswap32' >> > python2.7:/usr/local/lib/python2.7/site-packages/mercurial/zstd.so: >> > undefined >> > symbol '__builtin_bswap64' >> > Mercurial Distributed SCM (version 4.5.3) >> >> Should be fixed on -current... > > sorry, to be clear, the update to 4.8.1? some patch? i didn't see anything.
The update to 4.8 or 4.8.1, I guess. In hg-4.5.3, __builtin_swap32/64 are used as long as __GNUC__ is defined; hg-4.8.1 only tries to use said functions with gcc >= 4.3. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE