James Huk
2009-Apr-18 13:37 UTC
[Wine] Regression testing - compilation error after second bisect
OK, I'm trying to make regression test for ddraw. Here is exactly what I did: 1: git clone git://source.winehq.org/git/wine.git wine-git cd wine-git 2: git bisect start dlls/ddraw git bisect good wine-0.9.15 git bisect bad Now first test: CC="ccache gcc" ./configure ?verbose && make depend -j2 && make -j2 Compilation successful regression present, another run: CC="ccache gcc" ./configure ?verbose && make depend -j2 && make -j2 Compilation successful regression still present, another run: CC="ccache gcc" ./configure ?verbose && make depend -j2 && make -j2 compilation failed: ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.o dce.o desktop.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o text.o window.o winpos.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o xrandr.o xrender.o xvidmode.o -o winex11.drv.so -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -lSM -lICE -lXxf86vm -lXext -lX11 ../../libs/port/libwine_port.a palette.o: In function `X11DRV_RealizeDefaultPalette': /home/james/wine-git/dlls/winex11.drv/palette.c:1267: undefined reference to `GDI_GetObjPtr' /home/james/wine-git/dlls/winex11.drv/palette.c:1283: undefined reference to `GDI_ReleaseObj' palette.o: In function `X11DRV_PALETTE_ToPhysical': /home/james/wine-git/dlls/winex11.drv/palette.c:828: undefined reference to `GDI_GetObjPtr' /home/james/wine-git/dlls/winex11.drv/palette.c:976: undefined reference to `GDI_ReleaseObj' /home/james/wine-git/dlls/winex11.drv/palette.c:920: undefined reference to `GDI_ReleaseObj' /home/james/wine-git/dlls/winex11.drv/palette.c:898: undefined reference to `GDI_ReleaseObj' /home/james/wine-git/dlls/winex11.drv/palette.c:859: undefined reference to `GDI_ReleaseObj' /home/james/wine-git/dlls/winex11.drv/palette.c:866: undefined reference to `GDI_ReleaseObj' palette.o:/home/james/wine-git/dlls/winex11.drv/palette.c:881: more undefined references to `GDI_ReleaseObj' follow palette.o: In function `X11DRV_RealizePalette': /home/james/wine-git/dlls/winex11.drv/palette.c:1251: undefined reference to `GDI_GetObjPtr' /home/james/wine-git/dlls/winex11.drv/palette.c:1253: undefined reference to `GDI_ReleaseObj' collect2: ld returned 1 exit status winegcc: ccache failed. make: *** [winex11.drv.so] Error 2 Now I'm stuck ? anybody got any idea how can I fix above error? This error is probably not system related (I use Debian Etch ? wine-0.9.15 and newer build without any problems. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090418/9c5d78bd/attachment.htm>
vitamin
2009-Apr-18 16:47 UTC
[Wine] Re: Regression testing - compilation error after second bisect
James Huk wrote:> git bisect start dlls/ddraw > git bisect good wine-0.9.15 > git bisect badThat won't work. This far back you can't bisect only one dll. You have to do the bisect on whole Wine. DDraw tightly integrated with wined3d. And there were lots of changes in both since that version.
vitamin
2009-Apr-18 18:57 UTC
[Wine] Re: Regression testing - compilation error after second bisect
James Huk wrote:> Can I somehow- using git - fetch all patches from date x, for custom dll?That's exactly what git does. You literally cloning the entire repository all patches since day 1. James Huk wrote:> I mean can I get all patches from wine-0.9.15 onward for dsound.dll? If so, will I be able to apply them for wine-0.9.15 source?No. There were lots of wholesale changes in Wine source tree. You can't backport big changes to each individual dll, especially if it relies on lots of other things.