Am Samstag, 5. November 2016, 12:32:41 CET schrieb Pascal Obry:
> My build crash ld and here is the strange story. I'm always building
> stuff using script away from my repository and that's always been fine
> with darktable until recently.
> 
> I just found out that when building into the "build" directory under
> darktable repo all is fine:
> 
> $ cd darktable
> $ rm -fr build
> $ mkdir build
> $ cd build
> $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
> -DCMAKE_INSTALL_PREFIX=/opt/darktable
> /home/obry/dev/repositories/git/darktable/ $ make -j8
> 
> But when building from say bb instead of build ld crashes:
> 
> $ cd darktable
> $ rm -fr build
> $ mkdir bb
> $ cd bb
> $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
> -DCMAKE_INSTALL_PREFIX=/opt/darktable
> /home/obry/dev/repositories/git/darktable/ $ make -j8
> 
> All this run from the same shell, so that's not an environment issue.
> 
> Of course ld should not crash but I'm wondering what could be the issue
> with "build" vs "bb"?????
> 
> Anyone can reproduce this?

Confirmed. I don't think that it's a bug in dt but rather the linker. It 
somehow seems to be related to the length of the folder name:

build/ works
foo/ fails
built/ works
xxxx/ works

As we don't have anything hardcoded for the latter two build locations I am 
sure that it's not us.

Tobias

[...]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to