Bug 10291 - fails to link qtcreator, because "-z origin" is not supported
Summary: fails to link qtcreator, because "-z origin" is not supported
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gold (show other bugs)
Version: 2.19
: P2 normal
Target Milestone: ---
Assignee: Ian Lance Taylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 16:23 UTC by armin
Modified: 2009-06-22 19:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description armin 2009-06-17 16:23:21 UTC
Building qtcreator with gold fails, because qtcreator explicitly sets an
rpath using $ORIGIN:
| QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'

With gold linking fails, because "-z origin" is unknown. When removing
the option the rpath is still fine though, so it seems gold supports
$ORIGIN without "-z origin".

Greetings,
Armin
Comment 1 Ian Lance Taylor 2009-06-22 19:55:25 UTC
Thanks for the bug report.  This has already been fixed in the development
sources, and the fix will be in the 2.20 release.