Current-Users archive

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

NetBSD/amd64 current native X build failure


I have built NetBSD/amd64 current of today on NetBSD/amd64 current
of yesterday (installed with nyftp HEAD 201508252300Z).
And I have gotten the following error.

#     build  extmod/
rm -f
/usr/world/7.99/amd64/tools/bin/x86_64--netbsd-gcc  -Wl,-x -shared -Wl,-soname,l -Wl,--warn-shared-textrel -Wl,   --sysroot=
/usr/world/7.99/amd64/destdir -Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib  -o li  -Wl,-rpath-link,/usr/world/7.99/amd64/destdir/lib  -L=/lib  -Wl,--
whole-archive libextmod_pic.a  -Wl,--no-whole-archive -L/usr/world/7.99/amd64/ob
j/external/mit/xorg/server/xorg-server/Xext/Xextmodule -lXextmodule
bsd/bin/ld: /usr/world/7.99/amd64/obj/external/mit/xorg/server/xorg-server/Xext/
Xextmodule/libXextmodule.a(dpms.o): relocation R_X86_64_32S against `.rodata' ca
n not be used when making a shared object; recompile with -fPIC
ibXextmodule.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
*** [] Error code 1
nbmake[14]: stopped in /usr/src/external/mit/xorg/server/xorg-server/hw/xfree86/dixmods/extmod

The following patch fixes my build.

Index: Makefile
RCS file: /cvsroot/src/external/mit/xorg/server/xorg-server/Xext/Xextmodule/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	12 Sep 2013 15:36:14 -0000	1.7
+++ Makefile	26 Aug 2015 07:19:03 -0000
@@ -3,11 +3,11 @@
 LIB=		Xextmodule
 .include "../../Makefile.serverlib"
 .include "../Makefile.Xextmodule"
 SRCS=	${SRCS.Xextmodule} shape.c ${SRCS.Xext}
 .include "../Makefile.Xext"

PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Home | Main Index | Thread Index | Old Index