http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32354
Mark R. Bannister <chapter34 at yahoo dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chapter34 at yahoo dot com --- Comment #11 from Mark R. Bannister <chapter34 at yahoo dot com> --- I've also hit this problem on Solaris 10 building gcc 4.8.0 and it's been wasting an awful lot of time. I intend to use $ORIGIN in my RPATH but could not find a way to get an RPATH into libstdc++. Having tried LDFLAGS, CFLAGS and CXXFLAGS which get the RPATH into everything else ok *except* libstdc++, I am now going to try LD_RUN_PATH as suggested in #9. However, why has this been closed as RESOLVED INVALID? There needs to be a way of getting RPATHs successfully through to the built objects in a consistent and configurable way, and we don't have that today. Btw, re #8, see: http://technicalprose.blogspot.co.uk/2013/06/editing-dtrpath-on-solaris-elf-objects.html