On Tue, 2014-05-13 at 11:28 +0200, O. Hartmann wrote: > On FreeBSD 11.0-CURRENT, > > FreeBSD 11.0-CURRENT #1 r265924: Mon May 12 20:38:01 CEST 2014 amd64 > > The system is working so far, but when trying to compile the ost recent sources > (buildworld), I get the following error: > > cc -O2 -pipe -O3 -I/usr/src/usr.bin/xinstall/../../contrib/mtree > -I/usr/src/usr.bin/xinstall/../../lib/libnetbsd > -I/usr/src/usr.bin/xinstall/../../lib/libmd -std=gnu99 -Qunused-arguments > -I/usr/obj/usr/src/tmp/legacy/usr/include -static -L/usr/obj/usr/src/tmp/legacy/usr/lib > -o xinstall xinstall.o getid.o -lmd -legacy /usr/lib/libc.a(posix_spawn.o): In function > `posix_spawn_file_actions_addopen': /usr/src/lib/libc/gen/posix_spawn.c:(.text+0x438): > relocation truncated to fit: R_X86_64_PC32 against symbol `__error' defined in .text > section in /usr/lib/libc.a(__error.o) cc: error: linker command failed with exit code 1 > (use -v to see invocation) *** [xinstall] Error code 1 > > Just for fun, I also tried to recompile (not install!) libc via > > make -C lib/libc depend obj all > > make: "/usr/src/lib/libc/Makefile" line 6: Could not find src.opts.mk > make: "/usr/src/lib/libc/Makefile" line 32: Malformed conditional (${MK_NLS} != "no") > make: "/usr/src/lib/libc/Makefile" line 51: Malformed conditional (${MK_SSP} != "no") > make: "/usr/src/lib/libc/Makefile" line 72: Malformed conditional (${MK_ICONV} != "no") > make: "/usr/src/lib/libc/locale/Makefile.inc" line 26: Malformed conditional > (${MK_ICONV} != "no") make: "/usr/src/lib/libc/net/Makefile.inc" line 19: Malformed > conditional (${MK_NS_CACHING} != "no") make: "/usr/src/lib/libc/net/Makefile.inc" line > 25: Malformed conditional (${MK_INET6_SUPPORT} != "no") make: > "/usr/src/lib/libc/net/Makefile.inc" line 125: Malformed conditional (${MK_HESIOD} != > "no") make: "/usr/src/lib/libc/amd64/sys/Makefile.inc" line 14: Malformed conditional > (${MK_SYSCALL_COMPAT} != "no") make: "/usr/src/lib/libc/sys/Makefile.inc" line 24: > Malformed conditional (${MK_SYSCALL_COMPAT} != "no") make: "/usr/src/lib/libc/Makefile" > line 105: Malformed conditional (${MK_NIS} != "no") make: "/usr/src/lib/libc/Makefile" > line 110: Malformed conditional (${MK_HESIOD} != "no") make: "/usr/src/lib/libc/Makefile" > line 113: Malformed conditional (${MK_FP_LIBC} == "no") make: > "/usr/src/lib/libc/Makefile" line 116: Malformed conditional (${MK_NS_CACHING} != "no") > make: Fatal errors encountered -- cannot continue make: stopped in /usr/src/lib/libc > > > > Well, there is something wrong on this and I have no clue what is going on. I recompiled > yesterday's world without problems (r265924). > > oh > > The 20140505 entry in UPDATING covers this, I think. You need to set MAKESYSPATH to point to the right share/mk directory (the one associated with the source you're building) when you build individual directories within the tree. -- IanReceived on Tue May 13 2014 - 11:55:24 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC