hg on sparc64

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

hg on sparc64

Ted Unangst-6
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)

Reply | Threaded
Open this post in threaded view
|

Re: hg on sparc64

Jeremie Courreges-Anglas-2
On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> 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...

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply | Threaded
Open this post in threaded view
|

Re: hg on sparc64

Ted Unangst-6
Jeremie Courreges-Anglas wrote:

> On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

Re: hg on sparc64

Stuart Henderson
On 2018/12/06 18:07, Ted Unangst wrote:

> Jeremie Courreges-Anglas wrote:
> > On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> 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.
>

switch to ports-gcc, probably

Reply | Threaded
Open this post in threaded view
|

Re: hg on sparc64

Jeremie Courreges-Anglas-2
In reply to this post by Ted Unangst-6
On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> wrote:

> Jeremie Courreges-Anglas wrote:
>> On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: hg on sparc64

Juan Francisco Cantero Hurtado
On Fri, Dec 07, 2018 at 12:20:51AM +0100, Jeremie Courreges-Anglas wrote:

> On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> wrote:
> > Jeremie Courreges-Anglas wrote:
> >> On Thu, Dec 06 2018, "Ted Unangst" <[hidden email]> 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.

I commited a fix for 6.4. Thanks for the report and help.


--
Juan Francisco Cantero Hurtado http://juanfra.info