* Xen 4.14 build failing on aarch64 with GCC 10.2.1
@ 2021-03-10 21:15 Roman Shaposhnik
2021-03-10 23:14 ` Julien Grall
0 siblings, 1 reply; 3+ messages in thread
From: Roman Shaposhnik @ 2021-03-10 21:15 UTC (permalink / raw)
To: Xen-devel; +Cc: Julien Grall, Stefano Stabellini, Stefano Stabellini
Hi!
just came across this failure on aarch64:
ld: prelink.o: in function `_spin_lock_cb':
19187(.text+0x1f26c): undefined reference to `__aarch64_ldadd4_acq_rel'
19188ld: prelink.o: in function `_spin_lock':
19189(.text+0x1f2ec): undefined reference to `__aarch64_ldadd4_acq_rel'
19190ld: prelink.o: in function `_spin_lock_irq':
19191(.text+0x1f35c): undefined reference to `__aarch64_ldadd4_acq_rel'
19192ld: prelink.o: in function `_spin_lock_irqsave':
19193(.text+0x1f3d4): undefined reference to `__aarch64_ldadd4_acq_rel'
19194ld: prelink.o: in function `_spin_lock_recursive':
19195(.text+0x1f6b0): undefined reference to `__aarch64_ldadd4_acq_rel'
This, of course, goes away if I build Xen with:
CFLAGS=-mno-outline-atomics
However, at this point I'm curious if this is going to get addressed in Xen
proper or not.
Thanks,
Roman.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xen 4.14 build failing on aarch64 with GCC 10.2.1
2021-03-10 21:15 Xen 4.14 build failing on aarch64 with GCC 10.2.1 Roman Shaposhnik
@ 2021-03-10 23:14 ` Julien Grall
2021-03-16 2:23 ` Roman Shaposhnik
0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2021-03-10 23:14 UTC (permalink / raw)
To: Roman Shaposhnik; +Cc: Xen-devel, Stefano Stabellini, Stefano Stabellini
On Wed, 10 Mar 2021 at 21:15, Roman Shaposhnik <roman@zededa.com> wrote:
>
> Hi!
Hi,
>
> just came across this failure on aarch64:
>
> ld: prelink.o: in function `_spin_lock_cb':
> 19187(.text+0x1f26c): undefined reference to `__aarch64_ldadd4_acq_rel'
> 19188ld: prelink.o: in function `_spin_lock':
> 19189(.text+0x1f2ec): undefined reference to `__aarch64_ldadd4_acq_rel'
> 19190ld: prelink.o: in function `_spin_lock_irq':
> 19191(.text+0x1f35c): undefined reference to `__aarch64_ldadd4_acq_rel'
> 19192ld: prelink.o: in function `_spin_lock_irqsave':
> 19193(.text+0x1f3d4): undefined reference to `__aarch64_ldadd4_acq_rel'
> 19194ld: prelink.o: in function `_spin_lock_recursive':
> 19195(.text+0x1f6b0): undefined reference to `__aarch64_ldadd4_acq_rel'
>
> This, of course, goes away if I build Xen with:
> CFLAGS=-mno-outline-atomics
>
> However, at this point I'm curious if this is going to get addressed in Xen
> proper or not.
This has already been fixed and backported to Xen 4.14 (included in
4.14.1). Are you using the latest 4.14 branch?
Cheers,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xen 4.14 build failing on aarch64 with GCC 10.2.1
2021-03-10 23:14 ` Julien Grall
@ 2021-03-16 2:23 ` Roman Shaposhnik
0 siblings, 0 replies; 3+ messages in thread
From: Roman Shaposhnik @ 2021-03-16 2:23 UTC (permalink / raw)
To: Julien Grall; +Cc: Xen-devel, Stefano Stabellini, Stefano Stabellini
On Wed, Mar 10, 2021 at 3:15 PM Julien Grall <julien.grall.oss@gmail.com> wrote:
>
> On Wed, 10 Mar 2021 at 21:15, Roman Shaposhnik <roman@zededa.com> wrote:
> >
> > Hi!
>
> Hi,
>
> >
> > just came across this failure on aarch64:
> >
> > ld: prelink.o: in function `_spin_lock_cb':
> > 19187(.text+0x1f26c): undefined reference to `__aarch64_ldadd4_acq_rel'
> > 19188ld: prelink.o: in function `_spin_lock':
> > 19189(.text+0x1f2ec): undefined reference to `__aarch64_ldadd4_acq_rel'
> > 19190ld: prelink.o: in function `_spin_lock_irq':
> > 19191(.text+0x1f35c): undefined reference to `__aarch64_ldadd4_acq_rel'
> > 19192ld: prelink.o: in function `_spin_lock_irqsave':
> > 19193(.text+0x1f3d4): undefined reference to `__aarch64_ldadd4_acq_rel'
> > 19194ld: prelink.o: in function `_spin_lock_recursive':
> > 19195(.text+0x1f6b0): undefined reference to `__aarch64_ldadd4_acq_rel'
> >
> > This, of course, goes away if I build Xen with:
> > CFLAGS=-mno-outline-atomics
> >
> > However, at this point I'm curious if this is going to get addressed in Xen
> > proper or not.
>
> This has already been fixed and backported to Xen 4.14 (included in
> 4.14.1). Are you using the latest 4.14 branch?
Aaaand that appears to works as intended -- sorry for the noise -- I
thought I was using the latest, but apparently not.
Thanks,
Roman.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-16 2:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 21:15 Xen 4.14 build failing on aarch64 with GCC 10.2.1 Roman Shaposhnik
2021-03-10 23:14 ` Julien Grall
2021-03-16 2:23 ` Roman Shaposhnik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).