* [Buildroot] aarch64 : g++ is not working
@ 2017-04-10 23:50 Matt Flax
2017-04-12 9:17 ` Matt Flax
0 siblings, 1 reply; 2+ messages in thread
From: Matt Flax @ 2017-04-10 23:50 UTC (permalink / raw)
To: buildroot
Hi there,
I have found that g++ is not working with aarch64. Not sure why it isn't
working. If others can verify this problem, it is a pretty big show stopper.
I have checked the problem with rtorrent like so :
BR2_aarch64=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_RTORRENT=y
When I execute rtorrent :
# rtorrent
/usr/bin/rtorrent: symbol '_ZSt15__once_callable': can't handle reloc
type 0x407
Any one got any ideas on how to get g++ working with aarch64 and buildroot ?
I have tried to test on qemu like so :
make qemu_aarch64_virt_defconfig
make menuconfig # enable cxx and rtorrent
However, when I try to run qemu (looking at the file
board/qemu/aarch64-virt/readme.txt) the kernel doesn't output during
boot - any suggestions on how to make this work ? I use the following
command :
qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel
output/images/Image -append "console=ttyAMA0" -netdev user,id=eth0
-device virtio-net-device,netdev=eth0
thanks
Matt
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] aarch64 : g++ is not working
2017-04-10 23:50 [Buildroot] aarch64 : g++ is not working Matt Flax
@ 2017-04-12 9:17 ` Matt Flax
0 siblings, 0 replies; 2+ messages in thread
From: Matt Flax @ 2017-04-12 9:17 UTC (permalink / raw)
To: buildroot
Turns out this bug is with ulibc.
ulibc and g++ don't play well together - by switching to glibc, the
problem is resolved.
Matt
On 11/04/17 09:50, Matt Flax wrote:
> Hi there,
>
> I have found that g++ is not working with aarch64. Not sure why it
> isn't working. If others can verify this problem, it is a pretty big
> show stopper.
>
> I have checked the problem with rtorrent like so :
>
> BR2_aarch64=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_RTORRENT=y
>
> When I execute rtorrent :
>
> # rtorrent
>
> /usr/bin/rtorrent: symbol '_ZSt15__once_callable': can't handle reloc
> type 0x407
>
>
> Any one got any ideas on how to get g++ working with aarch64 and
> buildroot ?
>
>
> I have tried to test on qemu like so :
>
> make qemu_aarch64_virt_defconfig
> make menuconfig # enable cxx and rtorrent
>
> However, when I try to run qemu (looking at the file
> board/qemu/aarch64-virt/readme.txt) the kernel doesn't output during
> boot - any suggestions on how to make this work ? I use the following
> command :
>
> qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel
> output/images/Image -append "console=ttyAMA0" -netdev user,id=eth0
> -device virtio-net-device,netdev=eth0
>
>
> thanks
>
> Matt
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-12 9:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 23:50 [Buildroot] aarch64 : g++ is not working Matt Flax
2017-04-12 9:17 ` Matt Flax
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.