Discussion:
Possible race in buildworld, @r330236 -> @r330274
(too old to reply)
David Wolfskill
2018-03-02 13:02:44 UTC
Permalink
On the two machines where I track head daily, I had failures during
"make buildworld" ... in different places on the two machines; re-trying
the build succeeded (in each case).

Lately, I have (also) been tracking head on these machines with
/etc/src.conf augmented with:

# For Lua loader experiments
WITHOUT_FORTH=yes
WITH_LOADER_LUA=yes


(on a separate slice, so each machine is booted to that environment and
an upgrade-in-place build is done). Curiously, no failures were
observed in the case where he Lua loader is being used & built. (I am
explicitly NOT claiming any causal relationship here.)

I have copied the build typescripts for each combination of machine
and boot loader, together with the associated /etc/make.conf,
src.conf, and src-env.conf for each to my Web server. The build
typescripts also have compressed copies -- the Web server is on the
"consumer" end of a residential ADSL: it works, but it's not fast.

For the above-cited material, please see
<http://www.catwhisker.org/~david/FreeBSD/head/***@r330274/>; here's
what's there:

albert(11.1-S)[9] ls -lhRT
total 1
drwxr-xr-x 4 david staff 4B Mar 2 04:36:15 2018 Forth
drwxr-xr-x 4 david staff 4B Mar 2 04:36:15 2018 Lua

./Forth:
total 33
drwxr-xr-x 2 david staff 7B Mar 2 04:49:55 2018 freebeast
drwxr-xr-x 2 david staff 7B Mar 2 04:49:57 2018 laptop

./Forth/freebeast:
total 1609
-rw-r--r-- 1 david staff 5.4M Mar 2 04:11:28 2018 build.txt
-rw-r--r-- 1 david staff 351K Mar 2 04:11:28 2018 build.txt.bz2
-r--r--r-- 1 david staff 108B Feb 4 10:01:28 2014 make.conf
-r--r--r-- 1 david staff 19B May 24 10:28:11 2017 src-env.conf
-r--r--r-- 1 david staff 48B Mar 22 04:35:38 2016 src.conf

./Forth/laptop:
total 1865
-rw-r--r-- 1 david staff 6.1M Mar 2 04:11:29 2018 build.txt
-rw-r--r-- 1 david staff 403K Mar 2 04:11:29 2018 build.txt.bz2
-r--r--r-- 1 david staff 503B Jul 30 03:55:27 2017 make.conf
-r--r--r-- 1 david staff 19B May 30 04:15:48 2016 src-env.conf
-r--r--r-- 1 david staff 197B Jul 8 02:58:12 2017 src.conf

./Lua:
total 33
drwxr-xr-x 2 david staff 7B Mar 2 04:49:59 2018 freebeast
drwxr-xr-x 2 david staff 7B Mar 2 04:50:00 2018 laptop

./Lua/freebeast:
total 1529
-rw-r--r-- 1 david staff 5.1M Mar 2 04:37:38 2018 build.txt
-rw-r--r-- 1 david staff 337K Mar 2 04:37:38 2018 build.txt.bz2
-r--r--r-- 1 david staff 108B Feb 4 10:01:28 2014 make.conf
-r--r--r-- 1 david staff 19B May 24 10:28:11 2017 src-env.conf
-r--r--r-- 1 david staff 115B Feb 13 05:39:36 2018 src.conf

./Lua/laptop:
total 1545
-rw-r--r-- 1 david staff 5.1M Mar 2 04:28:53 2018 build.txt
-rw-r--r-- 1 david staff 341K Mar 2 04:28:53 2018 build.txt.bz2
-r--r--r-- 1 david staff 503B Jul 30 03:55:27 2017 make.conf
-r--r--r-- 1 david staff 19B May 30 04:15:48 2016 src-env.conf
-r--r--r-- 1 david staff 264B Feb 13 06:09:49 2018 src.conf
albert(11.1-S)[10]


(Files were copied with -p; I thought having timestamps that showed when
they actually were last modified make be of some use.)

Peace,
david
--
David H. Wolfskill ***@catwhisker.org
Yes, the indictments don't "prove" guilt; that's what trials are for.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Bryan Drewery
2018-03-06 19:43:19 UTC
Permalink
Post by David Wolfskill
On the two machines where I track head daily, I had failures during
"make buildworld" ... in different places on the two machines; re-trying
the build succeeded (in each case).
Lately, I have (also) been tracking head on these machines with
# For Lua loader experiments
WITHOUT_FORTH=yes
WITH_LOADER_LUA=yes
(on a separate slice, so each machine is booted to that environment and
an upgrade-in-place build is done). Curiously, no failures were
observed in the case where he Lua loader is being used & built. (I am
explicitly NOT claiming any causal relationship here.)
I have copied the build typescripts for each combination of machine
and boot loader, together with the associated /etc/make.conf,
src.conf, and src-env.conf for each to my Web server. The build
typescripts also have compressed copies -- the Web server is on the
"consumer" end of a residential ADSL: it works, but it's not fast.
For the above-cited material, please see
albert(11.1-S)[9] ls -lhRT
total 1
drwxr-xr-x 4 david staff 4B Mar 2 04:36:15 2018 Forth
drwxr-xr-x 4 david staff 4B Mar 2 04:36:15 2018 Lua
total 33
drwxr-xr-x 2 david staff 7B Mar 2 04:49:55 2018 freebeast
drwxr-xr-x 2 david staff 7B Mar 2 04:49:57 2018 laptop
total 1609
-rw-r--r-- 1 david staff 5.4M Mar 2 04:11:28 2018 build.txt
-rw-r--r-- 1 david staff 351K Mar 2 04:11:28 2018 build.txt.bz2
-r--r--r-- 1 david staff 108B Feb 4 10:01:28 2014 make.conf
-r--r--r-- 1 david staff 19B May 24 10:28:11 2017 src-env.conf
-r--r--r-- 1 david staff 48B Mar 22 04:35:38 2016 src.conf
total 1865
-rw-r--r-- 1 david staff 6.1M Mar 2 04:11:29 2018 build.txt
-rw-r--r-- 1 david staff 403K Mar 2 04:11:29 2018 build.txt.bz2
-r--r--r-- 1 david staff 503B Jul 30 03:55:27 2017 make.conf
-r--r--r-- 1 david staff 19B May 30 04:15:48 2016 src-env.conf
-r--r--r-- 1 david staff 197B Jul 8 02:58:12 2017 src.conf
total 33
drwxr-xr-x 2 david staff 7B Mar 2 04:49:59 2018 freebeast
drwxr-xr-x 2 david staff 7B Mar 2 04:50:00 2018 laptop
total 1529
-rw-r--r-- 1 david staff 5.1M Mar 2 04:37:38 2018 build.txt
-rw-r--r-- 1 david staff 337K Mar 2 04:37:38 2018 build.txt.bz2
-r--r--r-- 1 david staff 108B Feb 4 10:01:28 2014 make.conf
-r--r--r-- 1 david staff 19B May 24 10:28:11 2017 src-env.conf
-r--r--r-- 1 david staff 115B Feb 13 05:39:36 2018 src.conf
total 1545
-rw-r--r-- 1 david staff 5.1M Mar 2 04:28:53 2018 build.txt
-rw-r--r-- 1 david staff 341K Mar 2 04:28:53 2018 build.txt.bz2
-r--r--r-- 1 david staff 503B Jul 30 03:55:27 2017 make.conf
-r--r--r-- 1 david staff 19B May 30 04:15:48 2016 src-env.conf
-r--r--r-- 1 david staff 264B Feb 13 06:09:49 2018 src.conf
albert(11.1-S)[10]
(Files were copied with -p; I thought having timestamps that showed when
they actually were last modified make be of some use.)
Peace,
david
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: unable to find library -lgcc_s
--- kerberos5/lib/libroken__L ---
Building /common/S4/obj/usr/src/amd64.amd64/kerberos5/lib/libroken/vis.pico
--- secure/lib/libcrypto__L ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libgost.so] Error code 1
make[6]: stopped in /usr/src/secure/lib/libcrypto/engines/libgost
Looks like the existing -lgcc_s race I know about already. It comes down
to tools/install.sh not supporting -S properly.

http://www.catwhisker.org/~david/FreeBSD/head/***@r330274/Forth/laptop/build.txt

No clue about this one though...
Post by David Wolfskill
Building /common/S4/obj/usr/src/amd64.amd64/obj-lib32/kerberos5/lib/libgssapi_krb5/arcfour.po
--- lib__L ---
sh /usr/src/tools/install.sh -l s ../numeric /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/c++/v1/tr1/numeric
--- cddl/lib__L ---
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: __stack_chk_guard in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libc.so.7
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_128 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_128 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_128 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_128 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_160 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_160 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_160 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_160 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: .LCPI0_0 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_PC32 against symbol: Skein_256_Process_Block in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein_block.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_224 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_224 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_224 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_224 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_256 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_256 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_256 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: SKEIN_256_IV_256 in readonly segment; recompile object files with -fPIC
defined in /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a(skein.o)
referenced by skein.c
skein.o:(Skein_256_Init) in archive /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32/libmd.a
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
--- lib__L ---
--- realinstall_subdir_lib/libopenbsd ---
===> lib/libopenbsd (install)
--- kerberos5/lib__L ---
Building /common/S4/obj/usr/src/amd64.amd64/obj-lib32/kerberos5/lib/libgssapi_krb5/authorize_localname.po
--- cddl/lib__L ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- lib__L ---
--- realinstall_subdir_lib/libnv ---
Building /common/S4/obj/usr/src/amd64.amd64/obj-lib32/lib/libnv/_libinstall
--- realinstall_subdir_lib/libc++ ---
sh /usr/src/tools/install.sh -l s ../optional /common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/c++/v1/tr1/optional
--- cddl/lib__L ---
*** [libzpool.so.2] Error code 1
--
Regards,
Bryan Drewery
Loading...