On 2012-09-19 21:32, Roumen Petrov wrote: > Peter Rosin wrote: >> On 2012-09-19 09:31, Peter Rosin wrote: >>> * tests/runpath-in-lalib.at: Make sure shared libraries are created >>> on Windows by passing -no-undefined. Otherwise libb.la fails to record >>> a dependency on liba.la, and the final link of the program then fails >>> with undefined symbols. >>> >>> Signed-off-by: Peter Rosin <p...@lysator.liu.se> >>> --- >>> tests/runpath-in-lalib.at | 1 + >>> 1 files changed, 1 insertions(+), 0 deletions(-) >>> >>> Ok to push? > No idea . Test pass to me with current repository code, cross build , run in > emulated .
You haven't finished reading the thread. The problem was deeper and the regression has been identified as an accidentally inverted test. Adding -no-undefined was not the correct answer (I hinted at that suspicion in my original message), but if your setup works with git master, then your setup does not behave as the real MinGW behaves when trying to link with undefined symbols. Cheers, Peter