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

From: Trond Endrestøl <Trond.Endrestol_at_fagskolen.gjovik.no>
Date: Tue, 6 May 2014 08:20:49 +0200 (CEST)
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.

> [...]
> 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
> 

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
Received on Tue May 06 2014 - 04:20:56 UTC

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