Christian Weisgerber <na...@mips.inka.de> wrote:

> I am out of ideas.

Miod suggested I try this, and it produces a working ld.so.

Index: alpha/Makefile.inc
===================================================================
RCS file: /cvs/src/libexec/ld.so/alpha/Makefile.inc,v
retrieving revision 1.2
diff -u -r1.2 Makefile.inc
--- alpha/Makefile.inc  26 Sep 2006 23:14:52 -0000      1.2
+++ alpha/Makefile.inc  18 Nov 2011 10:28:37 -0000
@@ -1,5 +1,5 @@
 #      $OpenBSD: Makefile.inc,v 1.2 2006/09/26 23:14:52 martin Exp $
 
-CFLAGS += -fPIC -mno-fp-regs
+CFLAGS += -fPIC -mno-fp-regs -mbuild-constants
 LIBCSRCDIR=${.CURDIR}/../../lib/libc
 .include "${LIBCSRCDIR}/arch/alpha/Makefile.inc"
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to