commit dcdb5df8bc0e973b856e88a7b78f88f947453feb Author: Sergei Trofimovich Date: Tue Jul 6 11:38:47 2010 +0300 Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed directly to ld) /usr/bin/ld -Wl,--relax -r -o dist-stage1/build/HSghc-6.10.4.o \ dist-stage1/build/BasicTypes.o dist-stage1/build/DataCon.o ... /usr/bin/ld: unrecognized option '-Wl,--relax' If we just drop '-Wl,' part it will not help as '-r' and '--relax' are incompatible. Looks like '-Wl,--relax' was skipped by earlier binutils' ld as unknown option. Removing ia64 specific path. Signed-off-by: Sergei Trofimovich diff --git a/compiler/Makefile b/compiler/Makefile index 0e7457b..17deab2 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -130,13 +130,6 @@ ifeq "$(TargetOS_CPP)" "openbsd" COMMON_CONFIGURE_FLAGS += --ld-options=-E endif -ifeq "$(GhcUnregisterised)" "NO" -ifeq "$(HOSTPLATFORM)" "ia64-unknown-linux" -# needed for generating proper relocation in large binaries: trac #856 -COMMON_CONFIGURE_FLAGS += --ld-option=-Wl,--relax -endif -endif - # We need to turn on profiling either if we have been asked to # (GhcLibProfiled = YES) or if we want GHC itself to be compiled with # profiling enabled (GhcProfiled = YES).