Project

General

Profile

Actions

Bug #10011

closed

stop building and shipping lint libraries

Added by Joshua M. Clulow about 5 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2019-01-25
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

We build and ship various lint libraries. So that we can completely remove our dependency on the ancient and proprietary Sun Studio tool chain, we need to stop doing that. This will likely have ramifications for at least OmniOS, which today includes some lint libraries for at least OpenSSL, Trousers, libxml2, and zlib.

There appear to be lint libraries in at least the following packages:

$ cd usr/src/pkg/manifests
$ git grep -l 'file.*path=.*llib-.*\.ln' *.mf | while read a; do grep -A1 'pkg.fmri' $a | grep 'pkg:/' | sed -e 's/.*value=//' -e 's/@.*//' -e 's/pkg:.//' ; done | sort
developer/dtrace
developer/library/lint
developer/object-file
diagnostic/cpu-counters
driver/network/srpt
install/beadm
library/libadt_jni
library/libtecla
network/ipd
network/iscsi/target
service/fault-management
service/hal
service/network/dns/mdns
service/network/load-balancer/ilb
service/network/slp
service/network/smtp/sendmail
service/picl
service/resource-pools
service/storage/ndmp
service/storage/removable-media
storage/stmf
system/boot/grub
system/domain-service-processor-protocol/sparc-enterprise
system/file-system/nfs
system/file-system/zfs
system/library/demangle
system/library/libdiskmgt
system/library/libfcoe
system/library/math
system/library/platform
system/library/policykit
system/library/storage/ima
system/library/storage/libmpapi
system/management/wbem/data-management
system/network/udapl
system/storage/sasinfo
system/zones/internal

It seems that at least developer/library/lint should be completely removed; i.e., obsoleted in the IPS metadata.

As part of testing this change, we'll want to do a full build with the current default environment file (updated in #9978 to disable lint checks) on a system without any Sun Studio tools installed.


Subtasks 4 (0 open4 closed)

Bug #10293: usr/cmd/sgs - remove lint and lint librariesClosedAndy Fiddaman2019-01-25

Actions
Bug #10322: usr/lib/libc - remove lint and lint librariesClosedAndy Fiddaman2019-01-30

Actions
Bug #10361: usr/lib - stop lint library generation and packagingClosedAndy Fiddaman2019-02-09

Actions
Bug #10690: uts/i86pc Makefile lint cleanupClosedAndy Fiddaman2019-04-03

Actions

Related issues

Related to illumos gate - Feature #9978: env: set gcc 7 as shadow compiler and do not run lintClosedToomas Soome2018-11-13

Actions
Actions #1

Updated by Joshua M. Clulow about 5 years ago

  • Related to Feature #9978: env: set gcc 7 as shadow compiler and do not run lint added
Actions #2

Updated by Joshua M. Clulow almost 5 years ago

These packages in OpenIndiana itself also contain lint libraries:

$ git grep lint-libraries.mk components/ |cut -d : -f 1
components/archiver/bzip2/Makefile
components/library/gd2/Makefile
components/library/lcms2/Makefile
components/library/libxml2/Makefile
components/library/openssl/openssl-1.0.2/Makefile
components/library/readline/Makefile
components/library/trousers/Makefile
components/library/zlib/Makefile
components/python/python34/Makefile
components/python/python35/Makefile
components/text/tidy/Makefile
Actions #3

Updated by Andy Fiddaman almost 5 years ago

In OmniOS it's:

* library/libxml2
* library/security/openssl
* library/security/trousers
* library/zlib

There's also https://github.com/omniosorg/omnios-build/pull/1185/files open to remove the lint libraries and support from userland, but this is currently only in bloody and may need backporting to r151028 in order to support continued gate builds on that version.

Actions #4

Updated by Andy Fiddaman almost 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Andy Fiddaman
Actions #5

Updated by Andy Fiddaman over 1 year ago

This is complete now. There are no more lint libraries shipped from illumos-gate.

Actions #6

Updated by Andy Fiddaman over 1 year ago

  • Status changed from In Progress to Pending RTI
Actions #7

Updated by Andy Fiddaman over 1 year ago

  • Status changed from Pending RTI to Resolved
Actions

Also available in: Atom PDF