View Single Post
Old June 28, 2017, 02:39   #10
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,828
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by gnuvince View Post
When I try to compile on Debian unstable:

Code:
[elided]
Successfully compiled z-virt.c.
Successfully compiled z-util.c.
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
Makefile:34: recipe for target 'angband.o' failed
make[3]: *** [angband.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Successfully compiled main-gcu.c.
Successfully compiled main-x11.c.
../mk/buildsys.mk:110: recipe for target 'all' failed
make[2]: *** [all] Error 2
mk/buildsys.mk:115: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 2
mk/buildsys.mk:110: recipe for target 'all' failed
make: *** [all] Error 2
gcc 6.3.0
GNU gold 1.14

Happy to provide extra info if necessary.

Edit: tried compiling with clang 3.8.1: the linking phase succeeded, I'll play to see if everything seems okay.
This is a known problem; I don't think we have any idea of how to fix it though.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote