Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/KuSNOLDo2yUz8JNuTm.Bcl5
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Am Tue, 6 May 2014 08:20:49 +0200 (CEST)
Trond Endrest=F8l <Trond.Endrestol@fagskolen.gjovik.no> schrieb:

> On Mon, 5 May 2014 23:34+0200, O. Hartmann wrote:
>=20
> >=20
> > It seems that I can not build anymore a kernel or world.
> >=20
> > I had an accident in a truncated /usr/libc while installing the last bu=
ildworld/kernel
> > with mixed up sources.
> >=20
> > Is there a way to revert this mess?
> >=20
> > I think I installed lib/libc with more recent sources than the last ins=
talled system
> > ( FreeBSD 11.0-CURRENT #7 r265358: Mon May  5 14:12:21 CEST 2014 amd64).
> >=20
> > Any help welcome.
>=20
> Maybe you could resurrect the corrupted library/ies from a recent=20
> snapshot.
>=20
> Try downloading base.txz from=20
>=20
> ftp://ftp1.de.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/11.0-CURRENT/=
,=20
>=20
> and then extract the contents into a safe (sub)directory, and=20
> 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 file=
s 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.=20

Oliver
>=20
> > [...]
> > 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/inclu=
de
> > -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen -I.
> > -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/i=
nclude
> > -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTAN=
T_MACROS
> > -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-fr=
eebsd11.0\"
> > -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=
=3D\"\"
> > -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-exceptions =
-fno-rtti
> > -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o tblgen AsmMatcherEmitt=
er.o
> > AsmWriterEmitter.o AsmWriterInst.o CTagsEmitter.o CallingConvEmitter.o
> > CodeEmitterGen.o CodeGenDAGPatterns.o CodeGenInstruction.o CodeGenMapTa=
ble.o
> > CodeGenRegisters.o CodeGenSchedule.o CodeGenTarget.o DAGISelEmitter.o
> > DAGISelMatcher.o DAGISelMatcherEmitter.o DAGISelMatcherGen.o DAGISelMat=
cherOpt.o
> > DFAPacketizerEmitter.o DisassemblerEmitter.o FastISelEmitter.o
> > FixedLenDecoderEmitter.o InstrInfoEmitter.o IntrinsicEmitter.o OptParse=
rEmitter.o
> > PseudoLoweringEmitter.o RegisterInfoEmitter.o SetTheory.o SubtargetEmit=
ter.o
> > TGValueTypes.o TableGen.o X86DisassemblerTables.o X86ModRMFilters.o
> > X86RecognizableInstr.o /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblge=
n/../../../lib/clang/libllvmtablegen/libllvmtablegen.a /usr/obj/usr/src/tmp=
/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllvmsupport/libllvmsupp=
ort.a
> > -lncurses -legacy /usr/lib/libc.a(jemalloc_jemalloc.o): In function `ma=
lloc':
> > jemalloc_jemalloc.c:(.text+0xcb7): relocation truncated to fit: R_X86_6=
4_PC32 against
> > symbol `__je_ctl_boot' defined in .text section in /usr/lib/libc.a(jema=
lloc_ctl.o)
> > c++: error: linker command failed with exit code 1 (use -v to see invoc=
ation) ***
> > Error code 1
> >=20
> > Stop.
> > make[3]: stopped in /usr/src/usr.bin/clang/tblgen
> >=20
>=20



--Sig_/KuSNOLDo2yUz8JNuTm.Bcl5
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----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-----

--Sig_/KuSNOLDo2yUz8JNuTm.Bcl5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140506141520.13f6108a.ohartman>