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

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

 



On Tue, 2024-07-30 at 01:31 +0200, Miro Hrončok wrote:
> 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 :(

Hi,

On 21 Jun 2023 4:07 p.m. in devel mailing list was announce the drop of
binutils-gold [1]. 
BTW and regarding this topic, should we start avoid build with golden
linker ? i.e for example, qt5-qtwebengine [2] should we add           
BuildRequires: binutils-gold or should we try built with other linker
(ldd IIRC) ? 

Best regards,  

[2]https://src.fedoraproject.org/rpms/qt5-qtwebengine/c/46c62e5dc1e31dfec74d20d2338f99f5f7abe100?branch=rawhide


[1] 
https://lists.fedorahosted.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/QBK4XTL62XVHTVZ6YONOAMWPI5BUVIST/

21 Jun 2023 4:07 p.m. 
Re: PR #47: binutils: drop gold

    Hey Nick,

    I submitted

    https://src.fedoraproject.org/rpms/binutils/pull-request/47

    yesterday to not build gold by default.

    Creating this thread here to ensure you see this, and also a chance
to
    discuss the change via email rather than on the PR.

    Cheers,

    Amit



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

-- 
Sérgio M. B.
-- 
_______________________________________________
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