Date: Tue, 6 May 2014 14:15:20 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Trond =?ISO-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: CURRENT: jemalloc_jemalloc.c:(.text+0xcb7): relocation truncated to fit: R_X86_64_PC32 against symbol `__je_ctl_boot' Message-ID: <20140506141520.13f6108a.ohartman@zedat.fu-berlin.de> In-Reply-To: <alpine.BSF.2.00.1405060817170.27459@mail.fig.ol.no> References: <20140505233438.185a5c56.ohartman@zedat.fu-berlin.de> <alpine.BSF.2.00.1405060817170.27459@mail.fig.ol.no>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am Tue, 6 May 2014 08:20:49 +0200 (CEST) Trond Endrestøl <Trond.Endrestol@fagskolen.gjovik.no> schrieb: > On Mon, 5 May 2014 23:34+0200, O. Hartmann wrote: > > > > > It seems that I can not build anymore a kernel or world. > > > > I had an accident in a truncated /usr/libc while installing the last buildworld/kernel > > with mixed up sources. > > > > Is there a way to revert this mess? > > > > I think I installed lib/libc with more recent sources than the last installed system > > ( FreeBSD 11.0-CURRENT #7 r265358: Mon May 5 14:12:21 CEST 2014 amd64). > > > > Any help welcome. > > Maybe you could resurrect the corrupted library/ies from a recent > snapshot. > > Try downloading base.txz from > > ftp://ftp1.de.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/11.0-CURRENT/, > > and then extract the contents into a safe (sub)directory, and > carefully copy the files you need into place. Thanks. Something went wrong, I guess I forgot to reboot one of the machines after I did the update of kernel and world and that box didn't complain after a reboot. But then there were issues in the /usr/src tree, svn complained about a hundred files changed or manipulated, so I deleted the whole tree and reinstalled everything. This could indicate hardwareproblems, I guess. I had also ZFS faults while scrubbing on all devices on that specific box. Oliver > > > [...] > > c++ -O2 -pipe -O3 -pipe -O3 > > -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/include > > -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/tools/clang/include > > -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen -I. > > -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include > > -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS > > -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" > > -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"\" > > -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti > > -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o tblgen AsmMatcherEmitter.o > > AsmWriterEmitter.o AsmWriterInst.o CTagsEmitter.o CallingConvEmitter.o > > CodeEmitterGen.o CodeGenDAGPatterns.o CodeGenInstruction.o CodeGenMapTable.o > > CodeGenRegisters.o CodeGenSchedule.o CodeGenTarget.o DAGISelEmitter.o > > DAGISelMatcher.o DAGISelMatcherEmitter.o DAGISelMatcherGen.o DAGISelMatcherOpt.o > > DFAPacketizerEmitter.o DisassemblerEmitter.o FastISelEmitter.o > > FixedLenDecoderEmitter.o InstrInfoEmitter.o IntrinsicEmitter.o OptParserEmitter.o > > PseudoLoweringEmitter.o RegisterInfoEmitter.o SetTheory.o SubtargetEmitter.o > > TGValueTypes.o TableGen.o X86DisassemblerTables.o X86ModRMFilters.o > > X86RecognizableInstr.o /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllvmtablegen/libllvmtablegen.a /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllvmsupport/libllvmsupport.a > > -lncurses -legacy /usr/lib/libc.a(jemalloc_jemalloc.o): In function `malloc': > > jemalloc_jemalloc.c:(.text+0xcb7): relocation truncated to fit: R_X86_64_PC32 against > > symbol `__je_ctl_boot' defined in .text section in /usr/lib/libc.a(jemalloc_ctl.o) > > c++: error: linker command failed with exit code 1 (use -v to see invocation) *** > > Error code 1 > > > > Stop. > > make[3]: stopped in /usr/src/usr.bin/clang/tblgen > > > [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTaNJdAAoJEOgBcD7A/5N8NVMH/3QVc9r+a1RKiOaq+ddMXRSw IvZiFh0DZR+ZLMz14wVDFX5cCW+4hJIEWALvyg2QeHhX2GsAp8PiJGTBIs+YKHrN cNlrX3lMw34ioGfM9n5JBNUM1aGtxaUo4deFeoC13ljZLgnu/p9QL+bZWOaDJyNM 1X7b+vc1Op1shYr/RRKJga02EBUd+QLz1ITlA3FOMtkPdJ8b3LMQJhZkBk0uWtMf 2UxEBzCyIwxhdNimKYmgaN9gGv16cmKYLNiCVb98JNL23plG4+SU1QoTnz63CWUW ltZ/2Igag0DG8H3q7Hx93MAfJbSl4UtDIjwtZuL3evIzD2jk0ty+ZxfMLoA2I3Y= =WfPX -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140506141520.13f6108a.ohartman>
