HAVE_GCC=10 notes

John Klos <[email protected]>
Newsgroups gmane.os.netbsd.ports.alpha
Message-ID <[email protected]>
I've updated to -current with HAVE_GCC=10, and I've come across a few 
issues. I'm not entirely sure how much is related to GCC 10, but I can 
reload a non-GCC 10 -current if it'd help.

First, over the course of about a dozen reboots, the system locked up 
twice at this point:

[   1.0000000] tsciic0 at tsc0
[   1.0000000] iic0 at tsciic0: I2C bus
[   1.0000000] entropy: WARNING: extracting entropy too early
...

What normally comes after that is:

[     1.000000] timecounter: Timecounter "PCC" frequency 999953920 Hz quality 1000
[     1.000003] timecounter: Timecounter "clockinterrupt" frequency 1024 Hz quality 0
[     3.591834] scsibus0: waiting 2 seconds for devices to settle...

Both times I had to use the RMC to do a hardware reset.


Next, running a pkg_rolling-replace fails in textproc/gnome-doc-utils 
consistently here:

checking for msgfmt... /usr/pkgsrc/textproc/gnome-doc-utils/work/.tools/bin/msgfmt
checking for gmsgfmt... /usr/pkgsrc/textproc/gnome-doc-utils/work/.tools/bin/msgfmt
[1]   Segmentation fault (core dumped) ${XGETTEXT} --version |
       Done(1)                 grep "(GNU " 2>/dev/null
configure: error: GNU gettext tools not found; required for intltool
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/textproc/gnome-doc-utils
*** Error code 1


Finally, when trying to run atf tests, the testing stops here:

tc-start: 1618465564.997950, bytes_transfer_eof_piod_write_i
tc-end: 1618465565.22800, bytes_transfer_eof_piod_write_i, passed
tc-start: 1618465565.23292, bytes_transfer_eof_pt_read_d

These processes run forever and can't be killed:

   PID USERNAME PRI NICE   SIZE   RES STATE       TIME  WCPU   CPU   COMMAND
   469 root      31    0  7952K 2984K CPU/1      30:08 99.07% 99.07% t_ptrace_wait
20110 root      43    0  8936K 3160K poll/0      0:00  0.00%  0.00% t_ptrace_wait

A second time after a reboot, trying to kill these locked up the system. 
Good news, though, is that a "reboot" actually syncs and reboots, which 
hasn't worked in a while :)

If there's any other information I can collect or anything else I can try 
which might help to figure out what's going on, please let me know.

Thanks,
John


db{0}> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x4
comintr.part.0() at netbsd:comintr.part.0+0xb28
alpha_shared_intr_wrapper() at netbsd:alpha_shared_intr_wrapper+0x38
alpha_shared_intr_dispatch() at netbsd:alpha_shared_intr_dispatch+0x5c
sio_iointr() at netbsd:sio_iointr+0x38
interrupt() at netbsd:interrupt+0x2d4
XentInt() at netbsd:XentInt+0x1c
--- interrupt (from ipl 0) ---
uvm_fault_internal() at netbsd:uvm_fault_internal+0x888
trap() at netbsd:trap+0x570
XentMM() at netbsd:XentMM+0x20
--- memory management fault ---
kcopyerr() at netbsd:kcopyerr+0xc
kcopy() at netbsd:kcopy+0x40
copyout_vmspace() at netbsd:copyout_vmspace+0x84
uiomove() at netbsd:uiomove+0xb0
uvm_io() at netbsd:uvm_io+0x148
process_domem() at netbsd:process_domem+0xc0
ptrace_doio() at netbsd:ptrace_doio+0xe4
do_ptrace() at netbsd:do_ptrace+0x6e0
sys_ptrace() at netbsd:sys_ptrace+0x40
syscall() at netbsd:syscall+0x260
XentSys() at netbsd:XentSys+0x5c
--- syscall (26) ---
--- user mode ---
db{0}>

db{0}> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
1093  1093 3   1       180   fffffc00170e0500               sshd netio
949    949 3   1       180   fffffc00170e00c0                top select
936    936 3   1       180   fffffc0015581a00               tcsh pause
989    989 3   1       180   fffffc000c274680               tcsh pause
3036  3036 3   1       180   fffffc0015580d40               sshd select
1434  1434 3   1       180   fffffc000c184ec0               sshd poll
2911  2911 3   1   1000000   fffffc0015580900      t_ptrace_wait tstile
963  > 963 7   0   1000100   fffffc0015580080      t_ptrace_wait
2332  2332 2   0   1000100   fffffc00155804c0               tcsh
310    310 3   1       180   fffffc000c274ac0               tcsh pause
313    313 2   0       100   fffffc000e03ad00               sshd
311    311 3   0       180   fffffc000c184a80               sshd poll
342    342 2   0       140   fffffc02fd68cdc0              getty
328    328 2   0       140   fffffc000e03b9c0               cron
2213  2213 3   0       180   fffffc000e03b580              inetd kqueue
355    355 3   1       180   fffffc000c274f00               sshd select
211    211 2   0       100   fffffc000c185b80               ntpd
210    210 3   1       180   fffffc000e03a8c0               ntpd pause
194    194 3   1       180   fffffc000e03a480                 cu poll
193    193 3   0       180   fffffc000c274240                 cu ttyraw
2170  2170 3   1       180   fffffc000e03a040               tcsh pause
2043  2043 2   0       140   fffffc000c275780               tmux
1240  1240 3   1       180   fffffc000c275340            syslogd kqueue
1        1 3   1       180   fffffc000086ee80               init wait
0     1312 3   1       200   fffffc000c275bc0          acctwatch actwat
0      228 3   0       200   fffffc00007d4140            physiod physiod
0      126 3   0       200   fffffc000c184200          pooldrain pooldrain
0      125 3   1       200   fffffc000086fb40            ioflush syncer
0      124 3   1       200   fffffc000086f700           pgdaemon pgdaemon
0      121 3   1       200   fffffc02fd68c540            raidio0 raidiow
0      120 3   1       200   fffffc02fd68d640              raid0 rfnodeq
0      119 3   1       200   fffffc000086f2c0             npfgc0 npfgcw
0      118 3   0       200   fffffc000086ea40            rt_free rt_free
0      117 3   0       200   fffffc000086e600              unpgc unpgc
0      116 3   1       200   fffffc000086e1c0    icmp6_wqinput/1 
icmp6_wqinput
0      115 2   0       200   fffffc0000787b00    icmp6_wqinput/0
0      114 3   1       200   fffffc00007876c0            ip6flow ip6flow
0      113 3   1       200   fffffc0000787280          nd6_timer nd6_timer
0      112 3   1       200   fffffc0000786e40    carp6_wqinput/1 
carp6_wqinput
0      111 3   0       200   fffffc0000786a00    carp6_wqinput/0 
carp6_wqinput
0      110 3   1       200   fffffc00007865c0     carp_wqinput/1 
carp_wqinput
0      109 3   0       200   fffffc00007d4580     carp_wqinput/0 
carp_wqinput
0      108 3   1       200   fffffc00007d49c0     icmp_wqinput/1 
icmp_wqinput
0      107 3   0       200   fffffc00007d4e00     icmp_wqinput/0 
icmp_wqinput
0      106 3   1       200   fffffc00007d5240           rt_timer rt_timer
0      105 3   1       200   fffffc00007d5680    ipflow_slowtimo 
ipflow_slowtimo

0      104 3   1       200   fffffc00007d5ac0        vmem_rehash 
vmem_rehash
0      103 3   1       200   fffffc0000786180          entbutler entropy
0       29 3   1       200   fffffc02fd68da80               iic0 iicintr
0       27 3   0       200   fffffc02fd68d200           scsibus2 sccomp
0       25 3   0       200   fffffc02fd68c980           scsibus1 sccomp
0       23 3   0       200   fffffc02fd68c100           scsibus0 sccomp
0       22 3   0       200   fffffc02fd713a40            atabus1 atath
0       21 3   0       200   fffffc02fd713600            atabus0 atath
0       20 3   1       200   fffffc02fd7131c0            xcall/1 xcall
0       19 1   1       200   fffffc02fd712d80          softser/1
0       18 1   1       200   fffffc02fd712940          softclk/1
0       17 1   1       200   fffffc02fd712500          softbio/1
0       16 1   1       200   fffffc02fd7120c0          softnet/1
0    >  15 1   1       201   fffffc02fef39a00             idle/1
0       14 3   0       200   fffffc02fef395c0         pmfsuspend 
pmfsuspend
0       13 3   0       200   fffffc02fef39180           pmfevent pmfevent
0       12 3   0       200   fffffc02fef38d40         sopendfree sopendfr
0       11 3   1       200   fffffc02fef38900            iflnkst iflnkst
0       10 3   0       200   fffffc02fef384c0           nfssilly nfssilly
0        9 3   0       200   fffffc02fef38080             vdrain vdrain
0        8 3   0       200   fffffc02ff74f9c0          modunload mod_unld
0        7 3   0       200   fffffc02ff74f580            xcall/0 xcall
0        6 1   0       200   fffffc02ff74f140          softser/0
0        5 1   0       200   fffffc02ff74ed00          softclk/0
0        4 1   0       200   fffffc02ff74e8c0          softbio/0
0        3 2   0       200   fffffc02ff74e480          softnet/0
0        2 1   0       201   fffffc02ff74e040             idle/0
0        0 3   1       200   fffffc0001503280            swapper uvm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.