Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491622 - [x11] media-libs/mesa-9999: fails to build with ld.gold
Summary: [x11] media-libs/mesa-9999: fails to build with ld.gold
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2013-11-18 20:47 UTC by Michał Górny
Modified: 2015-09-05 06:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-11-18 20:47:38 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: ../../../../src/gallium/targets/pipe-loader/pipe.link:1:9: invalid use of VERSION in input file
collect2: error: ld returned 1 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: ../../../../src/gallium/targets/pipe-loader/pipe.link:1:9: invalid use of VERSION in input file
collect2: error: ld returned 1 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: ../../../../src/gallium/targets/pipe-loader/pipe.link:1:9: invalid use of VERSION in input file
collect2: error: ld returned 1 exit status
Comment 1 SpanKY gentoo-dev 2015-03-16 21:36:04 UTC
there are tc-ld-is-gold/tc-ld-disable-gold helpers now in toolchain-funcs.eclass
Comment 2 Nikoli 2015-05-04 12:37:01 UTC
Does it still happen with current mesa?
Comment 3 Matt Turner gentoo-dev 2015-09-05 06:39:25 UTC
The linker script in question (that used "VERSION") that ld.gold couldn't handle was removed in upstream commit

commit ce6c17c0833032e91a2d1b34f9eb80c738a854a2
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Apr 5 18:04:18 2014 +0100

    targets/pipe-loader: cleanup version-script

which was first in the mesa-10.2 release.

If there are further problems... new bugs.