Hi! I'm trying to make sence of the problem with stresstest.at on Windows (MinGW, Cygwin and MSVC) where the following symbols can't be exported during linking of dlself with -export-symbols dlselfsyms:
w1$ w3$ w4$ w5$ w6$ w7$ w8$$ w9$ w10$ w11$ w12$ w13$ w14$ w15$ I have found a fix which makes it work (not correct I think, but attached), but I primarily wonder what the original $ sign is doing after the w8 symbol in the dlselfsyms file (the added $ signs are there to make filtering work, but filtering does not happen on Windows). I get the feel that the original $ is connected to the first regexp of the sed program at the start of the patch context, this first regexp I also don't understand. It feels as if there is some way to encode extra (undocumented?) information into the symfile. Please tell me what's going on here... I think the attached patch is not correct since on other platforms the symbols that are not present are filtered out from the provided symfile, while on Windows *all* symbols that are mentioned in the provided symfile are exported without any filtering taking place. Should the symfile be filtered on Windows? May I also add that it's next to impossible to deduce what's actually going on when stresstest.at fails during the umpteenth iteration (which happens with this patch applied, when the test runs for *much* longer before a new different failure), without adding some extra trace echos. Cheers, Peter
head-export-from-program.patch
Description: head-export-from-program.patch
