Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/rump/modautoload Fix alpha build (relocation truncated...



details:   https://anonhg.NetBSD.org/src/rev/a1afd437e83c
branches:  trunk
changeset: 933533:a1afd437e83c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 26 18:52:29 2020 +0000

description:
Fix alpha build (relocation truncated to fit: GPREL16 against symbol ...)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47230

diffstat:

 tests/rump/modautoload/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4890c65f39f8 -r a1afd437e83c tests/rump/modautoload/Makefile
--- a/tests/rump/modautoload/Makefile   Tue May 26 18:38:37 2020 +0000
+++ b/tests/rump/modautoload/Makefile   Tue May 26 18:52:29 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2020/05/16 12:54:27 christos Exp $
+#      $NetBSD: Makefile,v 1.12 2020/05/26 18:52:29 christos Exp $
 #
 
 .include <bsd.init.mk>
@@ -14,6 +14,9 @@
 # on amd64.  This is the reason we keep this test in its own
 # subdirectory -- otherwise the LDADD lines would get a little hairy.
 LDFLAGS+=      -Wl,-E
+.if ${MACHINE} == "alpha"
+LDFLAGS+=      -Wl,--no-relax
+.endif
 LDADD+= \
     -Wl,--whole-archive -Wl,-Bstatic \
        -lrumpvfs_nofifofs -lrumpvfs -lrump \



Home | Main Index | Thread Index | Old Index