[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM.
From: |
Peter Rosin |
Subject: |
Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM. |
Date: |
Thu, 09 Sep 2010 17:33:51 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
Den 2010-09-09 15:25 skrev Charles Wilson:
> On 9/9/2010 5:47 AM, Peter Rosin wrote:
>> Anyway, both fail in pretty much the same way for me:
>>
>> can't open the module tests/mdemo/foo1.la!
>> error was: The specified module could not be found.
>> can't open the module tests/mdemo/foo1!
>> error was: The specified module could not be found.
>> can't open the module tests/mdemo/libfoo2.la!
>> error was: The specified module could not be found.
>> can't open the module tests/mdemo/libfoo2!
>> error was: The specified module could not be found.
>
> Yes.
>
> The problem is in how mdemo_static.exeS.c is constructed;
> lt__PROGRAM__LTX_preloaded_symbols contains "header" entries for each
> -dlpreopen'ed library, but they are:
>
> {"cygsub-0.dll", (void *) 0},
>
> when they should be
>
> {"libsub.a", (void *) 0},
>
> Manually making that change and re-linking fixes the error. I just need
> to track down *why* the wrong library name is being used and fix it,
> without breaking mdemo.exeS.c (the one that dlpreopens the DLLs, and
> SHOULD be specifying 'cygsub-0.dll' etc).
Ok, I bisected the failure to e83da49a1faf9df1c7e351df9e9b175
"[cygwin|mingw] fix dlpreopen with --disable-static"
You know, just fix the broken stuff...without [couldn't resist]
Maybe you knew that this patch was the cause of the regression, but
I didn't understand that until I bisected the regression. Your comment
a few message back:
Den 2010-09-09 00:14 skrev Charles Wilson:
> (However, there is an unfixed bug here; apparently something has changed
> in libtool between when this patch was created, and when it was
> committed, such that the static lib part no longer works properly; this
> is why on cygwin and mingw the mdemo-exec tests STILL fail. Very
> frustrating. I plan to track this down in the next day or so).
came into new light. I mean, "this patch" probably refers to the
above mentioned commit, right?
Cheers,
Peter
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, (continued)
[PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/05
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Ralf Wildenhues, 2010/09/05
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/08
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/08
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/08
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM.,
Peter Rosin <=
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Ralf Wildenhues, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Ralf Wildenhues, 2010/09/10
- Testsuite issues (was: [PATCH 6/7] Convert file name to toolchain format when invoking $NM.), Peter Rosin, 2010/09/13
Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/09
Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/09
[PATCH] Fix dependency tracking for MSYS/MinGW., Peter Rosin, 2010/09/09