Wed Oct 16 10:23:56 MSK 2013

  • problem: internal linker error when compile =app-emulation/virtualbox-4.3.0. Shit happens with ld.gold:

     ld: internal error in segment_precedes, at /storage/tmp/paludis/sys-devel-binutils-2.23.2/work/binutils-2.23.2/gold/layout.cc:3100
    

    My current linker options are:

     LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--gc-sections -Wl,--hash-style=gnu -Wl,--enable-new-dtags"
    

    solution: currently I don’t know any better solution, than switch back to GNU linker for that ebuild:

     root@gentop ~ # binutils-config --linker ld.bfd
      * Setting default linker to ld.bfd for x86_64-pc-linux-gnu-2.23.2 ...              [ ok ]
    

    maybe little later I’ll try to filter out some “dangerous” options to build this package…



blog comments powered by Disqus