[GSoC 2015] Introduction

Dirk Hohndel dirk at hohndel.org
Tue Mar 17 13:59:01 PDT 2015


On Tue, Mar 17, 2015 at 10:19:32PM +0200, Claudiu Olteanu wrote:
> Hi again,
> 
> After a long battle I managed to reach the final step (the cross building
> of subsurface project) but somehow the linker fails. I receive a SEGV
> when it tries to free some memory. I don't know if it is helpful
> but you can find a dump here[1].

Wow, a crash in the linker. That's not encouraging.

> During the cross-compiling process I reached some issues and I will
> write them here in hope that maybe they will we useful for other people
> in the future:
> - one of the issue is in libgit project (file tests/checkout/icase.c)
> because they use an include directive for Windows header and on mingw
> the header is with lower case. I made a pull request to fix that but
> they have a problem with the CI environment so I don't know how much
> it will take to accept the request[2].

Interesting - I didn't run into that on Fedora, also with MingW

> - on OpenSuse there is a problem with the mingw64-libzip-devel
> package(the zipconf header is not installed in the right place) and you
> have to create manually a symbolic link in the
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/ directory.
> 
> I also made a list with all the mingw64 packages needed and updated
> the INSTALL file. I believe that this will reduce the time of the
> developers which tries for the first time to do a Linux to Windows
> cross-compilation. You can find a patch attached to this e-mail.

Excellent.

> If you have any idea on how I can fix the linking problem, please
> let me know. As I said it before I have a OpenSuse 13.2-KDE-x86_64
> platform. The linker version is GNU ld (GNU Binutils) 2.24.51.20140703.
> and the version of mingw64-make is GNU Make 4.0.

That's a tough one. I have an openSUSE 13.2 VM somewhere, but honestly
never use it except to do a quick check of the openSUSE packages I
build...

> For the moment I will skip the cross-building process and I will try
> to finish my proposal and to discover other ways to contribute.

Worst case I'll just create binaries that you can test and you focus on
Linux, first.


/D


More information about the subsurface mailing list