Bug #6691
V490 and V890 symlinks missing on SPARC build
100%
Description
In a SPARC build, these error messages appeared in mail_msg:
Entries present in manifests but not proto area: link mediator=None path=usr/platform/SUNW,Sun-Fire-V490/lib/libprtdiag_psr.so.1 target=../../SUNW,Sun-Fire-480R/lib/libprtdiag_psr.so.1 link mediator=None path=usr/platform/SUNW,Sun-Fire-V890/lib/libprtdiag_psr.so.1 target=../../SUNW,Sun-Fire-880/lib/libprtdiag_psr.so.1
along with errors like these in nightly.log:
/usr/bin/rm -f -r /dpool/export/home/mills/Downloads/code/illumos-gate/proto/root_sparc/usr/platform/SUNW,Sun-Fire-V490/lib/libprtdiag_psr.so.1; /usr/bin/ln -s ../../SUNW,Sun-Fire-480R/lib/libprtdiag_psr.so.1 /dpool/export/home/mills/Downloads/code/illumos-gate/proto/root_sparc/usr/platform/SUNW,Sun-Fire-V490/lib/libprtdiag_psr.so.1 ln: cannot create /dpool/export/home/mills/Downloads/code/illumos-gate/proto/root_sparc/usr/platform/SUNW,Sun-Fire-V490/lib/libprtdiag_psr.so.1: No such file or directory *** Error code 2 (ignored)
This happened because the directory platform/SUNW,Sun-Fire-V490/lib had not been created at the time the symlink was to be installed. It may only happen in a highly-parallel build.
Updated by Igor Kozhukhov almost 5 years ago
interest.
i'm using 32 threads with my builds on sun4v sparc T5220 and i have no this issue.
also i have tested builds with 64 threads, but it is not impact to build time and less threads per build helps with parallel builds in zones.
Updated by Gary Mills almost 5 years ago
Nevertheless, I get these errors consistently on my T2000 with eight CPUs and 32 gigs of memory. I've seen load averages well over 100 during a build of illumos.
Updated by Igor Kozhukhov almost 5 years ago
i have : T5220 with 32GB RAM, 8cores (64threads)
i do jenkins builds with full workspace cleanup (by: git clean -fdx) before every build
Updated by Gary Mills almost 5 years ago
I wonder if the version of dmake we are using is different. I'm running nightly with this one:
/opt/onbld/bin/sparc/dmake dmake: illumos make number of concurrent jobs = 34
Updated by Igor Kozhukhov almost 5 years ago
my info form mail_msg:
==== Build environment ==== /usr/bin/uname SunOS bld02 5.11 1.3.7.111 sun4v sparc SUNW,SPARC-Enterprise-T5220 /opt/onbld/bin/sparc/dmake dmake: illumos make number of concurrent jobs = 32 /usr/bin/as as: Sun Compiler Common 12 SunOS_sparc snv_121 08/03/2009 /usr/bin/gas GNU assembler version 2.25.1 (sparcv9-sun-solaris2.11) using BFD version (GNU Binutils) 2.25.1 /usr/bin/ld ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1753 (illumos) 32-bit compiler /ws/jenkins/ws/dg/dilos-illumos-git-rel/illumos/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/cw -_gcc cw version 1.30 (SHADOW MODE DISABLED) primary: /usr/gcc/4.4/bin/gcc gcc (GCC) 4.4.7 64-bit compiler /ws/jenkins/ws/dg/dilos-illumos-git-rel/illumos/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/cw -_gcc cw version 1.30 (SHADOW MODE DISABLED) primary: /usr/gcc/4.4/bin/gcc gcc (GCC) 4.4.7 /ws/arch/jdk/jdk7/bin/javac java full version "1.7.0_79-b15"
Updated by Electric Monk almost 5 years ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100
git commit e2e882f7e139a951a52c7f4b5af447c3e6e68398
commit e2e882f7e139a951a52c7f4b5af447c3e6e68398 Author: Gary Mills <gary_mills@fastmail.fm> Date: 2016-03-09T18:46:02.000Z 6691 V490 and V890 symlinks missing on SPARC build Reviewed by: "Toomas Soome" <tsoome@me.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>