rm /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

From: Julian H. Stacey <jhs_at_berklix.com>
Date: Wed, 20 Feb 2019 01:53:15 +0100
Hi current_at_
Has anyone else in the last few months needed to do:
	rm /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a
My generic make buildworld & make installworld seem to usually succeed,
but after I've then run my own normal
	customise /usr/src
(which I've been running about 20 years now, no problem, applying
my local diffs), lately the subsequent
	cd /usr/src; make all
has hung as typescript below, & others here
	http://www.berklix.com/~jhs/tmp/src/typescript.0
	http://www.berklix.com/~jhs/tmp/src/typescript.1
	http://www.berklix.com/~jhs/tmp/src/lib/libgcc_s/typescript

I don't think it's my diffs which tweak commands,
but not libs like lib/libgcc_s & not C lang, tools
	(
	http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/src/
		#	Matches to /usr/src/
	http://www.berklix.com/~jhs/all.html		
		#	Full list of diffs & releases
	http://www.berklix.com/~jhs/bin/.csh/customise	
		#	My script to apply diffs:
	)

I'm wondering, is if it's something to do with eg
make.conf CFLAGS though I see nothing.
With a src/Makefile with:
	jhs:
		echo "JHS ${CFLAGS} JHS"
make jhs
	JHS -O2 -pipe JHS
-O2 -pipe seems OK, it's from generic
	share/mk/sys.mk:CFLAGS                ?=      -O2 -pipe
	sys/conf/kern.pre.mk:COPTFLAGS?=-O2 -pipe

My /etc/src.conf just has:
	NEED_MAKE_UPGRADE=YES
	WITH_RCMDS=YES
	WITHOUT_REPRODUCIBLE_BUILD="YES"        # see /usr/src/UPDATING

ls -l /usr/lib/libc.a /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a*
 -r--r--r--  1 root  wheel  16779882 Feb 18 16:50 /usr/lib/libc.a
 -rw-r--r--  1 root  wheel  16779882 Feb 19 11:46 /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a
 -rw-r--r--  1 root  wheel  16779882 Feb 17 23:09 /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a.MV.1
 -rw-r--r--  1 root  wheel  16779882 Feb 18 23:09 /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a.MV.2
 -rw-r--r--  1 root  wheel  16779882 Feb 19 11:41 /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a.MV.3

md5  /usr/lib/libc.a /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a*
 MD5 (/usr/lib/libc.a)                                   = a4d2881b6dd08a71a8adb126125efa66
 MD5 (/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a)      = 75995a3cd1436bad5cf124a9ba80033f
 MD5 (/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a.MV.1) = a4d2881b6dd08a71a8adb126125efa66
 MD5 (/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a.MV.2) = 75995a3cd1436bad5cf124a9ba80033f
 MD5 (/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a.MV.3) = 75995a3cd1436bad5cf124a9ba80033f

==========
13.0-CURRENT /dev/pts/3 root 1 lapr/usr/src/lib/libgcc_s make
building shared library libgcc_s.so.1
cc  -nodefaultlibs -Wl,--version-script=/usr/src/lib/libgcc_s/Version.map
-shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o
libgcc_s.so.1.full -Wl,-soname,libgcc_s.so.1  `NM='nm' NMFLAGS=''
lorder absvdi2.pico absvsi2.pico absvti2.pico addvdi3.pico addvsi3.pico
addvti3.pico apple_versioning.pico ashldi3.pico ashlti3.pico
ashrdi3.pico ashrti3.pico clear_cache.pico clzdi2.pico clzsi2.pico
clzti2.pico cmpdi2.pico cmpti2.pico ctzdi2.pico ctzsi2.pico ctzti2.pico
divdc3.pico divdi3.pico divmoddi4.pico divmodsi4.pico divsc3.pico
divsi3.pico divtc3.pico divti3.pico divxc3.pico enable_execute_stack.pico
eprintf.pico extendhfsf2.pico ffsdi2.pico ffssi2.pico ffsti2.pico
fixdfdi.pico fixdfti.pico fixsfdi.pico fixsfti.pico fixunsdfdi.pico
fixunsdfsi.pico fixunsdfti.pico fixunssfdi.pico fixunssfsi.pico
fixunssfti.pico fixunsxfdi.pico fixunsxfsi.pico fixunsxfti.pico
fixxfdi.pico fixxfti.pico floatditf.pico floatsitf.pico floattidf.pico
floattisf.pico floattixf.pico floatunditf.pico floatunsidf.pico
floatunsisf.pico floatuntidf.pico floatuntisf.pico floatuntixf.pico
gcc_personality_v0.pico int_util.pico lshrdi3.pico lshrti3.pico
moddi3.pico modsi3.pico modti3.pico muldc3.pico muldi3.pico
mulodi4.pico mulosi4.pico muloti4.pico mulsc3.pico multi3.pico
mulvdi3.pico mulvsi3.pico mulvti3.pico multc3.pico mulxc3.pico
negdf2.pico negdi2.pico negsf2.pico negti2.pico negvdi2.pico
negvsi2.pico negvti2.pico paritydi2.pico paritysi2.pico parityti2.pico
popcountdi2.pico popcountsi2.pico popcountti2.pico powidf2.pico
powisf2.pico powitf2.pico powixf2.pico subvdi3.pico subvsi3.pico
subvti3.pico trampoline_setup.pico truncdfhf2.pico truncsfhf2.pico
ucmpdi2.pico ucmpti2.pico udivdi3.pico udivmoddi4.pico udivmodsi4.pico
udivmodti4.pico udivsi3.pico udivti3.pico umoddi3.pico umodsi3.pico
umodti3.pico floatdidf.pico floatdisf.pico floatdixf.pico
floatundidf.pico floatundisf.pico floatundixf.pico cpu_model.pico
adddf3.pico addsf3.pico divdf3.pico divsf3.pico extendsfdf2.pico
fixdfsi.pico fixsfsi.pico floatsidf.pico floatsisf.pico muldf3.pico
mulsf3.pico subdf3.pico subsf3.pico truncdfsf2.pico comparedf2.pico
comparesf2.pico gcc_personality_v0.pico int_util.pico Unwind-EHABI.pico
Unwind-sjlj.pico UnwindLevel1-gcc-ext.pico UnwindLevel1.pico
UnwindRegistersRestore.pico UnwindRegistersSave.pico libunwind.pico
s_fabs.pico s_fabsf.pico s_fabsl.pico s_fmax.pico s_fmaxf.pico
s_logb.pico s_logbf.pico s_scalbn.pico s_scalbnf.pico s_fmaxl.pico
s_logbl.pico s_scalbnl.pico |  tsort -q`
-L/usr/obj/usr/src/amd64.amd64/lib/libc -lc

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32S
against symbol: __je_sz_size2index_tab in readonly segment; recompile
object files with -fPIC or pass '-Wl,-z,notext' to allow text
relocations in the output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_sz.o)
>>> referenced by sz.h:0
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:0)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by mutex.h:144
(/usr/src/contrib/jemalloc/include/jemalloc/internal/mutex.h:144)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by mutex.h:203
(/usr/src/contrib/jemalloc/include/jemalloc/internal/mutex.h:203)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by mutex.h:214
(/usr/src/contrib/jemalloc/include/jemalloc/internal/mutex.h:214)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against symbol: __je_arenas_lock in readonly segment; recompile
object files with -fPIC or pass '-Wl,-z,notext' to allow text
relocations in the output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by mutex.h:144
(/usr/src/contrib/jemalloc/include/jemalloc/internal/mutex.h:144)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against symbol: __je_arenas_lock in readonly segment; recompile
object files with -fPIC or pass '-Wl,-z,notext' to allow text
relocations in the output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by mutex.h:203
(/usr/src/contrib/jemalloc/include/jemalloc/internal/mutex.h:203)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against symbol: __je_extent_hooks_default in readonly segment;
recompile object files with -fPIC or pass '-Wl,-z,notext' to allow
text relocations in the output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_extent.o)
>>> referenced by jemalloc_jemalloc.c:366
>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against symbol: __je_arenas_lock in readonly segment; recompile
object files with -fPIC or pass '-Wl,-z,notext' to allow text
relocations in the output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by mutex.h:214
(/usr/src/contrib/jemalloc/include/jemalloc/internal/mutex.h:214)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by sz.h:166
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:166)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by sz.h:166
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:166)


>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)

>>> referenced by sz.h:166
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:166)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by bit_util.h:109
(/usr/src/contrib/jemalloc/include/jemalloc/internal/bit_util.h:109)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by bit_util.h:109 (/usr/src/contrib/jemalloc/include/jemalloc/internal/bit_util.h:109)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by bit_util.h:109
(/usr/src/contrib/jemalloc/include/jemalloc/internal/bit_util.h:109)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by sz.h:159
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:159)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by sz.h:159
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:159)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a


ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output


>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by sz.h:159
(/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:159)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by bit_util.h:103
(/usr/src/contrib/jemalloc/include/jemalloc/internal/bit_util.h:103)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by bit_util.h:103
(/usr/src/contrib/jemalloc/include/jemalloc/internal/bit_util.h:103)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mcan't create dynamic relocation R_X86_64_32
against local symbol in readonly segment; recompile object files
with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the
output

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libc/libc.a(jemalloc_jemalloc.o)
>>> referenced by bit_util.h:103
(/usr/src/contrib/jemalloc/include/jemalloc/internal/bit_util.h:103)

>>>               jemalloc_jemalloc.o:(a0ialloc) in archive
/usr/obj/usr/src/amd64.amd64/lib/libc/libc.a

ld: [0;1;31merror: [0mtoo many errors emitted, stopping now (use
-error-limit=0 to see all errors)

cc: [0;1;31merror: [0mlinker command failed with exit code 1 (use
-v to see invocation)[0m

*** Error code 1
==========

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 No Blind Crash : Brexit now a minority : 2nd Referendum : Revoke Article 50.
 1.9 M in UK were too young: More Remainers;  1.3 M died: less Leavers;
 UK Stole 700,000+ votes from British in EU:near all Remainers + 3M globally;
 + 2.5 years of move to Remain.  http://www.berklix.uk/brexit/#email_an_mp
Received on Tue Feb 19 2019 - 23:53:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC