Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795810 - sys-devel/gcc-10.3.0 QA Notice: Pre-stripped files found
Summary: sys-devel/gcc-10.3.0 QA Notice: Pre-stripped files found
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 793770
Blocks:
  Show dependency tree
 
Reported: 2021-06-13 22:57 UTC by Alessandro Barbieri
Modified: 2021-06-16 07:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge_info (emerge_info,36.02 KB, text/plain)
2021-06-13 22:57 UTC, Alessandro Barbieri
Details
gcc-10.3.0:20210611-100346.logx.xz (gcc-10.3.0:20210611-100346.logx.xz,355.50 KB, application/x-xz)
2021-06-13 22:57 UTC, Alessandro Barbieri
Details
utf8.gox (utf8.gox,2.21 KB, application/x-object)
2021-06-16 07:06 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-06-13 22:57:27 UTC
This package has QA issues. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-06-13 22:57:42 UTC
Created attachment 715800 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-06-13 22:57:46 UTC
Created attachment 715803 [details]
gcc-10.3.0:20210611-100346.logx.xz

build log (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 3 Alessandro Barbieri 2021-06-13 22:59:18 UTC
 * QA Notice: Pre-stripped files found:
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/unicode/utf8.gox                                                                                                                                                                                
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/unicode/utf16.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/text/template/parse.gox                                                                                                                                                                         
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/text/template.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/text/tabwriter.gox                                                                                                                                                                              
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/text/scanner.gox                                                                                                                                                                                
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/testing/internal/testdeps.gox                                                                                                                                                                   
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/testing/quick.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/testing/iotest.gox                                                                                                                                                                              
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/sync/atomic.gox                                                                                                                                                                                 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/runtime/trace.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/runtime/pprof.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/runtime/debug.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/regexp/syntax.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/path/filepath.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/os/user.gox                                                                                                                                                                                     
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/os/signal.gox                                                                                                                                                                                   
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/os/exec.gox                                                                                                                                                                                     
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/rpc/jsonrpc.gox                                                                                                                                                                             
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/pprof.gox                                                                                                                                                                              
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/httputil.gox                                                                                                                                                                           
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/httptrace.gox                                                                                                                                                                          
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/httptest.gox                                                                                                                                                                           
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/fcgi.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/cookiejar.gox                                                                                                                                                                          
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http/cgi.gox                                                                                                                                                                                
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/url.gox                                                                                                                                                                                     
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/textproto.gox                                                                                                                                                                               
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/smtp.gox                                                                                                                                                                                    
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/rpc.gox                                                                                                                                                                                     
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/mail.gox                                                                                                                                                                                    
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net/http.gox                                                                                                                                                                                    
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/mime/quotedprintable.gox                                                                                                                                                                        
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/mime/multipart.gox                                                                                                                                                                              
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/math/rand.gox                                                                                                                                                                                   
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/math/cmplx.gox                                                                                                                                                                                  
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/math/bits.gox                                                                                                                                                                                   
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/math/big.gox                                                                                                                                                                                    
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/log/syslog.gox                                                                                                                                                                                  
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/io/ioutil.gox                                                                                                                                                                                   
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/internal/reflectlite.gox                                                                                                                                                                        
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/index/suffixarray.gox                                                                                                                                                                           
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image/color/palette.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image/png.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image/jpeg.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image/gif.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image/draw.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image/color.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/html/template.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/hash/maphash.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/hash/fnv.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/hash/crc64.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/hash/crc32.gox                                                                                                                                                                      [7791/94065]
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/hash/adler32.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/types.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/token.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/scanner.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/printer.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/parser.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/importer.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/format.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/doc.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/constant.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/build.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/go/ast.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/xml.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/pem.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/json.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/hex.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/gob.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/csv.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/binary.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/base64.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/base32.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/asn1.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding/ascii85.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/debug/plan9obj.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/debug/pe.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/debug/macho.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/debug/gosym.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/debug/elf.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/debug/dwarf.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/database/sql/driver.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/database/sql.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/x509/pkix.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/x509.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/tls.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/subtle.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/sha512.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/sha256.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/sha1.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/rsa.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/rc4.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/rand.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/md5.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/hmac.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/elliptic.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/ed25519.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/ecdsa.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/dsa.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/des.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/cipher.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto/aes.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/container/ring.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/container/list.gox
* /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/container/heap.gox                                                                                                                                                                  [7738/94065]
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/compress/zlib.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/compress/lzw.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/compress/gzip.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/compress/flate.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/compress/bzip2.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/archive/zip.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/archive/tar.gox 
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/unicode.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/time.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/testing.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/syscall.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/sync.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/strings.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/strconv.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/sort.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/runtime.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/regexp.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/reflect.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/path.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/os.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/net.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/mime.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/math.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/log.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/io.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/image.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/html.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/hash.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/fmt.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/flag.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/expvar.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/errors.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/encoding.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/crypto.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/context.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/bytes.gox
 * /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/bufio.gox
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-06-16 07:06:11 UTC
Note, these files don't contain executable code:

$ LANG=C h readelf -S /usr/lib64/go/10.3.0/x86_64-pc-linux-gnu/unicode/utf8.gox
There are 3 section headers, starting at offset 0x818:

Section Headers:
  [Nr] Name              Type             Address           Offset
       Size              EntSize          Flags  Link  Info  Align
  [ 0]                   NULL             0000000000000000  00000000
       0000000000000000  0000000000000000           0     0     0
  [ 1] .go_export        PROGBITS         0000000000000000  00000040
       00000000000007be  0000000000000000           0     0     1
  [ 2] .shstrtab         STRTAB           0000000000000000  000007fe
       0000000000000016  0000000000000000           0     0     1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  l (large), p (processor specific)

It's a portage's false positive.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2021-06-16 07:06:28 UTC
Created attachment 716424 [details]
utf8.gox
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2021-06-16 07:10:37 UTC
Specifically portage's bin/estrip tells us that '.symtab' section presence is a mechanism to detect prestripped files:

# The existance of the section .symtab tells us that a binary is stripped.
# We want to log already stripped binaries, as this may be a QA violation.
# They prevent us from getting the splitdebug data.
if ! ${RESTRICT_binchecks} ; then
        # We need to do the non-stripped scan serially first before we turn around
        # and start stripping the files ourselves.  The log parsing can be done in
        # parallel though.
        log=${tmpdir}/scanelf-already-stripped.log
        scanelf -yqRBF '#k%F' -k '!.symtab' "$@" | sed -e "s#^${ED%/}/##" > "${log}"
        (