Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD/amd64 current native X build failure
Hi,
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/libextmod.so.0
rm -f libextmod.so.0
/usr/world/7.99/amd64/tools/bin/x86_64--netbsd-gcc -Wl,-x -shared -Wl,-soname,l
ibextmod.so.0 -Wl,--warn-shared-textrel -Wl,-Map=libextmod.so.0.map --sysroot=
/usr/world/7.99/amd64/destdir -Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib -o li
bextmod.so.0 -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
/usr/world/7.99/amd64/tools/lib/gcc/x86_64--netbsd/4.8.5/../../../../x86_64--net
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
/usr/world/7.99/amd64/obj/external/mit/xorg/server/xorg-server/Xext/Xextmodule/l
ibXextmodule.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
*** [libextmod.so.0] 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 @@
LIBISPRIVATE= yes
LIB= Xextmodule
-COPTS+= ${PICFLAGS}
-
.include "../../Makefile.serverlib"
.include "../Makefile.Xextmodule"
+COPTS+= ${PICFLAGS}
+
SRCS= ${SRCS.Xextmodule} shape.c ${SRCS.Xext}
.include "../Makefile.Xext"
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index