Re: collect2: fatal error: cannot find ‘ld’

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

 



On 30. 07. 24 1:20, Miro Hrončok wrote:
Hello,

I got build failure of pypy3.9 and pypy3.10 on x86_64 only, with:

     collect2: fatal error: cannot find ‘ld’
     compilation terminated.

See the CI results of (the rawhide results):

https://src.fedoraproject.org/rpms/pypy3.9/pull-request/55
https://src.fedoraproject.org/rpms/pypy3.10/pull-request/20

This is with binutils 2.42.90-1.fc41

It takes 40+ minutes to failure. Any ideas what might be causing this are appreciated.

There is:

%ifarch %{ix86} x86_64 %{arm}
sed -i -r 's/\$\(LDFLAGSEXTRA\)/& -fuse-ld=gold/' ./rpython/translator/platform/posix.py
%endif

In the spec. Which might explain why this only happens on x86_64 (%{ix86} is ExcludeArched, %{arm} is EOL).


Actually, I see binutils-gold installed in the f40 root.log, but not in the rawhide root.log.

So this is likely the reason it fails, binutils-gold not installed. I will BuildRequire it.

https://src.fedoraproject.org/rpms/binutils/c/2175d42ba13c8999c2cc61813978f66ad8089980

  Remove "Requires: binutils-gold" from binutils sub-package.

This was done, but not communicated :(

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok

--
_______________________________________________
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