Summary: | sys-devel/binutils-2.42-r1 USE flags "+pgo" and "+test" are broken. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arniii <lg3dx6fd> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | lg3dx6fd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
tail -n +0 /var/tmp/portage/sys-devel/binutils-2.42-r1/temp/build.log
how htop part of this looks like |
Created attachment 895981 [details]
how htop part of this looks like
some backtraces: 1. backtrace of process "expect -- ..." which calls somehow itself and debuginfod , which calls a lot of other debuginfod process. ``` #0 __GI___libc_read (nbytes=4096, buf=0x564441e4aa68, fd=9) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __GI___libc_read (fd=9, buf=buf@entry=0x564441e4aa68, nbytes=nbytes@entry=4096) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007fbdb06ac5ff in read (__nbytes=<optimized out>, __buf=<optimized out>, __fd=<optimized out>, __fd=<optimized out>, __buf=<optimized out>, __nbytes=<optimized out>) at /usr/include/bits/unistd.h:28 #3 PipeInputProc (instanceData=0x564441d7b0f0, buf=0x564441e4aa68 " \006\360ADV", toRead=4096, errorCodePtr=0x7ffc77b6b844) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/unix/tclUnixPipe.c:1061 #4 0x00007fbdb06414de in ChanRead (chanPtr=0x564441e732e0, dst=0x564441e4aa68 " \006\360ADV", dstSize=4096) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIO.c:420 #5 0x00007fbdb0646afb in GetInput (chanPtr=0x564441e732e0) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIO.c:6915 #6 0x00007fbdb0641ed7 in DoReadChars (chanPtr=0x564441e732e0, objPtr=0x564441a62790, toRead=-1, appendFlag=<optimized out>) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIO.c:5918 #7 0x00007fbdb064c94d in Tcl_ExecObjCmd (dummy=<optimized out>, interp=0x564441891940, objc=<optimized out>, objv=<optimized out>) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIOCmd.c:996 #8 0x00007fbdb059a806 in TclNRRunCallbacks (interp=interp@entry=0x564441891940, result=0, rootPtr=0x0) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclBasic.c:4503 #9 0x00007fbdb059a8bf in Tcl_EvalObjv (interp=interp@entry=0x564441891940, objc=objc@entry=4, objv=objv@entry=0x56444189f240, flags=flags@entry=2097168) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclBasic.c:4226 #10 0x00007fbdb05a168f in TclEvalEx (interp=0x564441891940, script=0x56444193ba50 "# runtest.exp -- Test framework driver\n# Copyright (C) 1992-2019, 2020 Free Software Foundation, Inc.\n#\n# This file is part of DejaGnu.\n#\n# DejaGnu is free software; you can redistribute it and/or mod"..., numBytes=<optimized out>, flags=<optimized out>, line=1796, clNextOuter=<optimized out>, outerScript=0x56444193ba50 "# runtest.exp -- Test framework driver\n# Copyright (C) 1992-2019, 2020 Free Software Foundation, Inc.\n#\n# This file is part of DejaGnu.\n#\n# DejaGnu is free software; you can redistribute it and/or mod"...) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclBasic.c:5372 #11 0x00007fbdb0656558 in Tcl_FSEvalFileEx (interp=interp@entry=0x564441891940, pathPtr=pathPtr@entry=0x5644418f2de0, encodingName=encodingName@entry=0x0) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIOUtil.c:1824 #12 0x00007fbdb0656677 in Tcl_FSEvalFile (interp=interp@entry=0x564441891940, pathPtr=pathPtr@entry=0x5644418f2de0) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIOUtil.c:1720 #13 0x00007fbdb06566a7 in Tcl_EvalFile (interp=0x564441891940, fileName=<optimized out>) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/generic/tclIOUtil.c:424 #14 0x00007fbdb07476ac in exp_interpret_cmdfilename (interp=interp@entry=0x564441891940, filename=0x7ffc77b6d063 "/usr/share/dejagnu/runtest.exp") at /usr/src/debug/dev-tcltk/expect-5.45.4-r5/expect5.45.4/exp_main_sub.c:952 #15 0x00005644411ac201 in main (argc=12, argv=0x7ffc77b6bd88) at /usr/src/debug/dev-tcltk/expect-5.45.4-r5/expect5.45.4/exp_main_exp.c:48 ``` 2. child process of "expect -- ..." , which also called "expect -- ..." and seems to have same arguments. ``` #0 0x00007fbdb031f224 in __GI___select (nfds=nfds@entry=8, readfds=readfds@entry=0x7fbdb0197e00, writefds=writefds@entry=0x7fbdb0197d80, exceptfds=exceptfds@entry=0x7fbdb0197d00, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/select.c:69 #1 0x00007fbdb06b150b in NotifierThreadProc (dummy=<optimized out>) at /usr/src/debug/dev-lang/tcl-8.6.13-r1/tcl8.6.13/unix/tclUnixNotfy.c:1250 #2 0x00007fbdb0299609 in start_thread (arg=<optimized out>) at pthread_create.c:447 #3 0x00007fbdb0321fb8 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 ``` 3. 'parent' debuginfod process: ``` #0 0x00007f737e4f3df2 in __libc_pause () at ../sysdeps/unix/sysv/linux/pause.c:29 #1 0x000056261fecd6e5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dev-libs/elfutils-0.190/elfutils-0.190/debuginfod/debuginfod.cxx:4688 ``` 4. a child process of debuginfod, which also called debuginfod and have also the same arguments ``` #0 0x00007f737e5223c6 in epoll_wait (epfd=10, events=events@entry=0x7f737affdf70, maxevents=maxevents@entry=128, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 #1 0x00007f737eee4f1f in MHD_epoll (daemon=0x56262106d420, millisec=<optimized out>) at /usr/src/debug/net-libs/libmicrohttpd-0.9.77/libmicrohttpd-0.9.77/src/microhttpd/daemon.c:5046 #2 0x00007f737eee5945 in MHD_polling_thread (cls=0x56262106d420) at /usr/src/debug/net-libs/libmicrohttpd-0.9.77/libmicrohttpd-0.9.77/src/microhttpd/daemon.c:5432 #3 0x00007f737e499609 in start_thread (arg=<optimized out>) at pthread_create.c:447 #4 0x00007f737e521fb8 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 ``` iteration 1: disable FEATURE="test" and disable lto flags. Reproducible. iteration 2: iteration 1 + disable `doc` USE flag. Reproducible. iteration 3: iteration 2 and disabled `pgo` USE flag. It doesn't halt, :hooray: iteration 4: enabled features for testing, enabled compile flags with lto back, USE="nls plugins test* zstd -cet -debuginfod -doc -gold -gprofng -hardened -multitarget -pgo -static-libs -vanilla" 0 KiB . Reproduced halt. also, sorry, iteration 1 was with lto. iteration 5: features for testing and +debuginfod USE flag. Reproduced. USE flags for iteration 5: USE="debuginfod* nls plugins test* zstd -cet -doc -gold -gprofng -hardened -multitarget -pgo -static-libs -vanilla" iteration 6: just -O2 -pipe -march=native(verbose) -ggdb3 -frecord-gcc-switches USE="nls plugins test* zstd -cet -debuginfod -doc -gold -gprofng -hardened -multitarget -pgo -static-libs -vanilla" reproduced iteration 7: same as iteration 6, but `-zstd` USE flag. it still halts. iteration 8: same as iteration 6, but without -ggdb3 . still halts. iteration 9: -O2 -pipe -march=native USE="nls plugins test* zstd -cet -debuginfod -doc -gold -gprofng -hardened -multitarget -pgo -static-libs -vanilla" . still halts. iteration 10: -O2 -pipe -march=native -ggdb3 , FEATURE="-test" USE="nls plugins zstd -cet -debuginfod -doc -gold -gprofng -hardened -multitarget -pgo -static-libs -test -vanilla" . It doesn't halt iteration 11: -O2 -pipe -march=native -ggdb3 , FEATURE="-test" UUSE="nls pgo* plugins zstd -cet -debuginfod -doc -gold -gprofng -hardened -multitarget -static-libs -test -vanilla" . still halts. I assume both USE flags "test" and "pgo" are broken. |
Created attachment 895980 [details] tail -n +0 /var/tmp/portage/sys-devel/binutils-2.42-r1/temp/build.log IDK, I've tried it multiple time and it stays in the way for eternity.