NetBSD Problem Report #51088

From wiz@yt.nih.at  Sat Apr 23 09:41:41 2016
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 47D7B7A2AD
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Apr 2016 09:41:41 +0000 (UTC)
Message-Id: <20160423094128.241ED2AC0ED@yt.nih.at>
Date: Sat, 23 Apr 2016 11:41:28 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: gcc5 vs. set lists
X-Send-Pr-Version: 3.95

>Number:         51088
>Category:       toolchain
>Synopsis:       gcc5 vs. set lists
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 23 09:45:00 +0000 2016
>Originator:     Thomas Klausner
>Release:        NetBSD 7.99.27
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
When upgrading from a gcc-4.8 -current to one with gcc-5.3,
many files that are needed only for the (replaced) gcc-4.8 are
not removed correctly.

For example:

Only in /usr/include/g++/bits: regex_cursor.h
Only in /usr/include/g++/bits: regex_grep_matcher.h
Only in /usr/include/g++/bits: regex_grep_matcher.tcc
Only in /usr/include/g++/bits: regex_nfa.h
Only in /usr/include/g++/bits: regex_nfa.tcc
Only in /usr/include/gcc-4.8: adxintrin.h
Only in /usr/include/gcc-4.8: ammintrin.h
Only in /usr/include/gcc-4.8: avx2intrin.h
Only in /usr/include/gcc-4.8: avxintrin.h
Only in /usr/include/gcc-4.8: bmi2intrin.h
Only in /usr/include/gcc-4.8: bmiintrin.h
Only in /usr/include/gcc-4.8: bmmintrin.h
Only in /usr/include/gcc-4.8: cpuid.h
Only in /usr/include/gcc-4.8: cross-stdarg.h
Only in /usr/include/gcc-4.8: emmintrin.h
Only in /usr/include/gcc-4.8: f16cintrin.h
Only in /usr/include/gcc-4.8: fma4intrin.h
Only in /usr/include/gcc-4.8: fmaintrin.h
Only in /usr/include/gcc-4.8: fxsrintrin.h
Only in /usr/include/gcc-4.8: ia32intrin.h
Only in /usr/include/gcc-4.8: immintrin.h
Only in /usr/include/gcc-4.8: lwpintrin.h
Only in /usr/include/gcc-4.8: lzcntintrin.h
Only in /usr/include/gcc-4.8: mf-runtime.h
Only in /usr/include/gcc-4.8: mm3dnow.h
Only in /usr/include/gcc-4.8: mm_malloc.h
Only in /usr/include/gcc-4.8: mmintrin.h
Only in /usr/include/gcc-4.8: nmmintrin.h
Only in /usr/include/gcc-4.8: omp.h
Only in /usr/include/gcc-4.8: pmmintrin.h
Only in /usr/include/gcc-4.8: popcntintrin.h
Only in /usr/include/gcc-4.8: prfchwintrin.h
Only in /usr/include/gcc-4.8: rdseedintrin.h
Only in /usr/include/gcc-4.8: rtmintrin.h
Only in /usr/include/gcc-4.8: smmintrin.h
Only in /usr/include/gcc-4.8: tbmintrin.h
Only in /usr/include/gcc-4.8: tgmath.h
Only in /usr/include/gcc-4.8: tmmintrin.h
Only in /usr/include/gcc-4.8: wmmintrin.h
Only in /usr/include/gcc-4.8: x86intrin.h
Only in /usr/include/gcc-4.8: xmmintrin.h
Only in /usr/include/gcc-4.8: xopintrin.h
Only in /usr/include/gcc-4.8: xsaveintrin.h
Only in /usr/include/gcc-4.8: xsaveoptintrin.h
Only in /usr/include/gcc-4.8: xtestintrin.h
Only in /usr/lib/i386: libasan.a
Only in /usr/lib/i386: libasan.so
Only in /usr/lib/i386: libasan.so.0
Only in /usr/lib/i386: libasan.so.0.0
Only in /usr/lib/i386: libasan_g.a
Only in /usr/lib/i386: libasan_p.a
Only in /usr/lib/i386: libasan_pic.a
Only in /usr/lib/i386: libmudflap.a
Only in /usr/lib/i386: libmudflap.so
Only in /usr/lib/i386: libmudflap.so.0
Only in /usr/lib/i386: libmudflap.so.0.0
Only in /usr/lib/i386: libmudflap_g.a
Only in /usr/lib/i386: libmudflap_p.a
Only in /usr/lib/i386: libmudflap_pic.a
Only in /usr/lib/i386: libmudflapth.a
Only in /usr/lib/i386: libmudflapth.so
Only in /usr/lib/i386: libmudflapth.so.0
Only in /usr/lib/i386: libmudflapth.so.0.0
Only in /usr/lib/i386: libmudflapth_g.a
Only in /usr/lib/i386: libmudflapth_p.a
Only in /usr/lib/i386: libmudflapth_pic.a
Only in /usr/lib: libasan.a
Only in /usr/lib: libasan.so
Only in /usr/lib: libasan.so.0
Only in /usr/lib: libasan.so.0.0
Only in /usr/lib: libasan_g.a
Only in /usr/lib: libasan_p.a
Only in /usr/lib: libasan_pic.a
Only in /usr/lib: libmudflap.a
Only in /usr/lib: libmudflap.so
Only in /usr/lib: libmudflap.so.0
Only in /usr/lib: libmudflap.so.0.0
Only in /usr/lib: libmudflap_g.a
Only in /usr/lib: libmudflap_p.a
Only in /usr/lib: libmudflap_pic.a
Only in /usr/lib: libmudflapth.a
Only in /usr/lib: libmudflapth.so
Only in /usr/lib: libmudflapth.so.0
Only in /usr/lib: libmudflapth.so.0.0
Only in /usr/lib: libmudflapth_g.a
Only in /usr/lib: libmudflapth_p.a
Only in /usr/lib: libmudflapth_pic.a

>How-To-Repeat:
Fix the set lists to add these as obsolete when gcc=53.
In particular the g++/bits ones should definitely be done
since they are in the default search path of gcc-5.3,
the ones in gcc-4.8 are less pressing since gcc-5.3 should not
look there, but they still should be removed.
>Fix:
Just a matter of doing it.
Not sure about the libraries though, I think these might
be work-in-progress with gcc-5.3 and may be added still.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.