Wednesday, 2023-09-06

*** tpb <[email protected]> has joined #yosys00:00
*** lexano <[email protected]> has quit IRC (Ping timeout: 246 seconds)00:00
somlodxld: mine failed the same way on both f38 and rawhide (f40), I'll try re-running the mock builds again tomorrow, but don't expect to get a different result...00:29
*** unkraut <[email protected]> has quit IRC (*.net *.split)00:29
*** agg <agg!~adam@user/agg> has quit IRC (*.net *.split)00:29
*** acathla_ <[email protected]> has quit IRC (*.net *.split)00:29
*** bpye <bpye!~bpye@user/bpye> has quit IRC (*.net *.split)00:29
*** unkraut <[email protected]> has joined #yosys00:29
*** acathla <[email protected]> has joined #yosys00:30
*** bpye <bpye!~bpye@user/bpye> has joined #yosys00:30
*** agg <agg!~adam@user/agg> has joined #yosys00:30
dxldall my build problems, first the test then some latex errors, have mysteriously dissapeared now. gah :/00:35
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys02:40
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #yosys05:30
*** phung <[email protected]> has joined #yosys06:56
*** phung is now known as kevin998x06:56
*** kevin998x <[email protected]> has quit IRC (Quit: WeeChat 4.0.4)07:17
*** phung <[email protected]> has joined #yosys07:21
*** phung is now known as kevin998x07:21
jixgetting core dumps or at least backtraces for those crashes would be helpful to figure out what's going on07:33
*** kevin998x <[email protected]> has quit IRC (Quit: WeeChat 4.0.4)07:34
dxldwell it's not usually crashes, just errors.08:19
dxldnow I got a race on the compilation of tests/tools/cmp_tbdata (Text file busy error)08:20
jixwell in those cases anything else that would help reproduce it08:35
jixok for cmp_tbdata I can see how that could result in a race condition and will look into how to fix that08:39
jixfor failing tests it can be helpful to get a full log of make test and a tar of the tests directory (or a subdirectory if it's clear that the failing test is fully contained in it)08:41
jixanything abc related can be quite hard to reproduce though, if you happen to have a system (little endian and linux) where you can reliably reproduce abc related failures I'd be interested in figuring out a way for me to reproduce such an environment08:43
jixdxld: a quick fix would be to change https://github.com/YosysHQ/yosys/blob/master/tests/tools/autotest.sh#L29 to use a temporary file name as compiler output and then move it to the expected location atomically, I think08:46
jixbut it really looks like something the makefile should handle08:46
dxldjix: I prefer flock but perhaps that's not portable. 08:51
jixdxld: yeah, doesn't seem to exist on mac os which we do support08:52
dxldI think the -nt (newer than) thing is a dead giveaway this should be in the Makefile :]08:53
jixyeah that's exactly what I was thinking :D08:53
dxldBTW would it be possible to move the list of test invocations to a script? right now I have to munge the test target depends to allow testing yosys "as-installed" without rebuilding everything needlessly08:55
jixthe problem is that the execution goes via makefile -> shell script -> makefile -> shell script and this would have to be a target in the outer makefile, but the dependency on that would be in the inner one AFAICT08:56
dxldI mean is anyone going to expect cmp_tbdata to get rebuilt when they run the tests directly?08:57
jixdxld: I have no idea what cmp_tbdata actually does, so maybe not08:58
jixok looking at it, I think it's fine to just have it built by make test08:59
dxldI would build it as part of the all target actually08:59
dxldthat way you can `make all && ./run-tests.sh` without having to worry about compiling this helper 09:00
dxldbut having the test target depend on it too is fine obv09:00
jixI think it's fine to have it build by make all, and I also wouldn't mind moving the make test commands to a script but I'd keep it within the tests directory09:01
jix(as for test subdirectories the script to run the tests is also contained in that direcotry so it's more consitent that way IMO)09:02
dxldfine with me09:05
jix(and the make test target should remain, but just invoke that script instead of listing the commands in the makefile)09:05
dxldyeah09:06
dxldonly problem I see with this setup is paralellization across of test dirs, which I've been meaning to add09:06
dxld(work imbalance sucks for speedup reasons)09:07
dxldhmm but that should be fine actually, just need to pass the make jobserver down which is easy enough09:08
*** somlo_ <[email protected]> has joined #yosys09:15
*** somlo <[email protected]> has quit IRC (Remote host closed the connection)09:16
*** somlo_ is now known as somlo10:46
somlojix: I'll re-run the builds, and collect the core file(s) if, as I expect, a similar crash will happen again 10:47
*** daglem <[email protected]> has quit IRC (Server closed connection)12:01
*** daglem <[email protected]> has joined #yosys12:01
*** srk <srk!~sorki@user/srk> has quit IRC (Server closed connection)12:19
*** srk <srk!~sorki@user/srk> has joined #yosys12:19
*** lumo_e <[email protected]> has joined #yosys13:00
*** lexano <[email protected]> has joined #yosys13:21
*** lumo_e <[email protected]> has quit IRC (Quit: Quit)14:02
*** strobo <[email protected]> has quit IRC (Ping timeout: 246 seconds)14:33
*** strobo <[email protected]> has joined #yosys14:35
*** so-offish <so-offish!~so-offish@2610:148:610:2b10::4d> has joined #yosys16:27
*** greeb <greeb!~greeb@user/greeb> has quit IRC (Read error: Connection reset by peer)16:39
*** greeb <greeb!~greeb@user/greeb> has joined #yosys16:41
*** greeb <greeb!~greeb@user/greeb> has quit IRC (Client Quit)16:43
*** greeb <greeb!~greeb@user/greeb> has joined #yosys16:44
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has quit IRC (Ping timeout: 246 seconds)17:21
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 258 seconds)18:36
somloapparently my problem is related to commit 9f8e039a4 ("ast: use new format string helpers.") and something about Fedora's build environment (CFLAGS) -- I submitted issue #392320:48
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:17
*** nonchip <[email protected]> has joined #yosys22:17
*** lexano <[email protected]> has quit IRC (Ping timeout: 246 seconds)22:52
*** so-offish <so-offish!~so-offish@2610:148:610:2b10::4d> has quit IRC (Ping timeout: 246 seconds)23:35

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!