Re: Swift on aarch64 and 39 and Rawhide...suggestions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 6, 2023 at 2:31 AM Ron Olson <tachoknight@xxxxxxxxx> wrote:
>
> Hey all-
>
> I’m still having a difficult time trying to figure out what to do about this issue I’m having. Swift 5.9 was released awhile ago and I’ve been able to build it for x864_64 on all versions of Fedora (Rawhide, 39, 38, 37) just fine. On aarch64 (the only other architecture supported), it fails to build for 39 and Rawhide, where the Swift compiler crashes with an LLVM stacktrace while in the process of building the rest of the toolchain (in other words, it’s not that Swift builds and packages correctly and then doesn’t work when installed, it crashes during one of the compilation phases it uses to build the entire toolchain).
>
> I’ve been trying to troubleshoot this problem and have it seems that the issue may lay with ld-linux-aarch.so.1:
>
> [root@6ba0f8c47e54 swift-source]# lldb ./build/buildbot_linux/swift-linux-aarch64/bin/swift-frontend
> (lldb) target create "./build/buildbot_linux/swift-linux-aarch64/bin/swift-frontend"
> Current executable set to '/root/rpmbuild/BUILD/swift-source/build/buildbot_linux/swift-linux-aarch64/bin/swift-frontend' (aarch64).
> (lldb) ru
> Process 142 launched: '/root/rpmbuild/BUILD/swift-source/build/buildbot_linux/swift-linux-aarch64/bin/swift-frontend' (aarch64)
> Process 142 stopped
>
> thread #1, name = 'swift-frontend', stop reason = exec
> frame #0: 0x0000fffff7fd84c0 ld-linux-aarch64.so.1`_start at dl-start.S:22
>
> That’s as far as I’ve gotten. I not sure what the next move should be; troubleshooting core libraries is not something I’ve done before and have no idea where to start.
>
> Any help or suggestions would be greatly appreciated. I’ve been extremely busy on non-packaging things and honestly don’t really have the time to dig into this.

Maybe start with a bug against glibc with the information you
currently have and a means to reproduce it and the toolchains team may
have some pointers to where the problem lies.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux