Project

General

Profile

Actions

Bug #13313

closed

tools build uses cw from /opt/onbld even if -t flag is specified

Added by Yuri Pankov about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

After #9944 and #11480, tools built during bootstrap phase require cw, and we switch the ONBLD_TOOLS only after building bootstrap. This defeats the purpose of bootstrapping and make onbld package hard dependency for the build.

/home/yuri/ws/il13313/usr/src/tools/install.bin
/opt/onbld/bin/i386/cw  --primary gcc7,/opt/gcc-7/bin/gcc,gnu --shadow gcc10,/opt/gcc-10/bin/gcc,gnu --shadow smatch,/home/yuri/ws/il13313/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch,smatch -- -O -m32 -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -_gcc=-Wno-missing-braces -_gcc=-Wno-sign-compare -_gcc=-Wno-unknown-pragmas -_gcc=-Wno-unused-parameter -_gcc=-Wno-missing-field-initializers -_gcc=-Wno-array-bounds -_smatch=-p=illumos_user -_smatch=--disable=uninitialized,check_check_deref -_smatch=-Wno-vla -_smatch=-Wno-one-bit-signed-bitfield -_smatch=-Wno-external-function-has-definition -_smatch=-Wno-old-style-definition -_smatch=-Wno-strict-prototypes -_smatch=--fatal-checks -_smatch=--timeout=0   -_gcc=-Wno-type-limits -xc99=%none    -W0,-xglobalstatic -_gcc=-fno-inline-small-functions  -_gcc=-fno-inline-functions-called-once  -_gcc=-fno-ipa-cp  -_gcc=-fno-ipa-icf  -_gcc=-fno-clone-functions  -_gcc=-fno-reorder-functions  -_gcc=-fno-reorder-blocks-and-partition -_gcc=-fno-aggressive-loop-optimizations -_gcc=--param=max-inline-insns-single=450    -v -D_TS_ERRNO -I../protocmp -c  install.bin.c
sh: /opt/onbld/bin/i386/cw: not found [No such file or directory]
*** Error code 127

Change to nightly tested doing nightly builds with and without having onbld package installed.

Actions #1

Updated by Yuri Pankov about 1 year ago

  • Subject changed from ctf build in tools uses cw from /opt/onbld to tools build uses cw from /opt/onbld even if -t flag is specified
  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Yuri Pankov
  • % Done changed from 0 to 90
  • Difficulty changed from Medium to Bite-size
Actions #2

Updated by Electric Monk about 1 year ago

  • Gerrit CR set to 2393
Actions #3

Updated by Yuri Pankov about 1 year ago

  • Description updated (diff)
  • Status changed from In Progress to Pending RTI
  • % Done changed from 90 to 100
Actions #4

Updated by Electric Monk about 1 year ago

  • Status changed from Pending RTI to Closed

git commit 3c6ef809288edc29a5dd9e0664c095967e7903dc

commit  3c6ef809288edc29a5dd9e0664c095967e7903dc
Author: Yuri Pankov <ypankov@tintri.com>
Date:   2022-10-10T13:41:04.000Z

    13313 tools build uses cw from /opt/onbld even if -t flag is specified
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@mnx.io>

Actions

Also available in: Atom PDF