Re: CURRENT: jemalloc_jemalloc.c:(.text+0xcb7): relocation truncated to fit: R_X86_64_PC32 against symbol `__je_ctl_boot'

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Tue, 6 May 2014 14:15:20 +0200
Am Tue, 6 May 2014 08:20:49 +0200 (CEST)
Trond Endrestøl <Trond.Endrestol_at_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
> > 
> 



Received on Tue May 06 2014 - 10:15:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC