With ghc-6.3.20041205, in libraries/OpenGL .... (cd Graphics/Rendering/OpenGL/GL/QueryUtils_split && /home/ger/bin/ld -r -x -o ../QueryUtils.o *.o); /bin/sh: /home/ger/bin//ld: Invalid argument Furthermore /home/ger/bin//ld has good cause to complain, since there is no file *.o.