This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [v3] slight bugfix for tests_flags.in


Phil Edwards <pedwards@disaster.jaj.com> writes:

| For the --installed-library case, we were setting LIB_PATH to prefix/lib
| and GCC_LIB_PATH to empty.  Which is correct, I believe.  But then we were
| passing GCC_LIB_PATH as the argument to libtool's -rpath.  And then the
| source files would be passed last, so libtool was receiving

Thanks for fixing the mess.

| 
|     .... -rpath /path/to/test.cc
| 
| Which libtool would (correctly, I think) translate into a linker invocation
| like
| 
|     ... -Wl,--rpath -Wl,/path/to/test.cc
| 
| causing every single test to fail to build.  This only shows up when
| running the (now superceded) mkcheck script.
| 
| 
| Tested on linux, installed on truck.

It should go on branch as well.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]