Cyril Roelandt <[email protected]> skribis: > gcc -g -O2 -I. -pthread -DHAVE_PATHS_H -DHAVE_STRINGS_H -DHAVE_DEV_TTY > -DXDL_FAST_HASH -DSHA1_HEADER='<openssl/sha.h>' -DNO_STRLCPY > -DSHELL_PATH='"/nix/store/2awqnfxjrcm2b8s481zwsnfdic3inkdi-bash-4.2/bin/sh"' > -o test-mergesort test-mergesort.o libgit.a xdiff/lib.a libgit.a > xdiff/lib.a -lz -lcrypto -pthread > collect2: error: ld returned 1 exit status
That means that one of the libs passed here is either missing, corrupt, or invalid (for instance, 32-bit where a 64-bit lib is expected). One (unlikely) possibility is that Git is not parallel-build-safe, so ‘make’ or ‘make check’ would need to be run with -j1. Were you able to reproduce it by hand in the kept build tree? Ludo’.
