Monday, 2018-09-24

*** tpb has joined #timvideos00:00
*** ringzer0 has quit IRC00:02
mauz555I'd like to adapt litex-buildenv for building picorv32/vexriscv gateware based on the latest RISCV GNU toolchain (https://github.com/riscv/riscv-gnu-toolchain)00:26
tpbTitle: GitHub - riscv/riscv-gnu-toolchain: GNU toolchain for RISC-V, including GCC (at github.com)00:26
mauz555do you guys have any advice worth knowing before diving into that task ?00:28
CarlFKmauz555: i forget, did you get though https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf00:30
tpbTitle: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com)00:30
mauz555CarlFK: It works well until I do "Doing the build of Linux" https://pastebin.com/nezfLQQ200:55
tpbTitle: (LX P=arty C=or1k) [email protected]:/opt/litex-buildenv$ export CPU=or1k CPU_VAR - Pastebin.com (at pastebin.com)00:55
CarlFKmauz555: what's the error?  (and how long ago did you try, we have been fixing things for the last few weeks)00:56
CarlFKmithro: woot!!! the expected qemu builds and boots the hdmi2usb!!!00:57
mauz555CarlFK: I tried just rn now from the beginning -- my repo is up-to-date00:58
CarlFKmauz555: I just now started ./scripts/build-linux.sh00:58
CarlFKgood time to run to the kitchen and find some food00:59
mauz555CarlFK: "or1k-elf-newlib-gcc --version" breaks "./scripts/build_linux.sh" on my machine -- https://pastebin.com/Fjw8yYTj -- it seems to be the cause of the issue01:06
tpbTitle: (LX P=arty C=or1k.linux F=linux) [email protected]:/opt/litex-buildenv$ or1k-elf- - Pastebin.com (at pastebin.com)01:06
mauz555CarlFK: "export LC_ALL=C" seems to have fixed first part of the problem, the same error appears later in the script01:14
CarlFKmauz555: good find, I get the core dump too01:15
CarlFKmithro: you awake?  (doubt it)01:15
mauz555CarlFK: "export LANG=" fix the other message about the locales01:17
CarlFKmauz555: you are on 18.04 right?01:18
mauz555Ubuntu 18.04.1 LTS01:19
mauz555CarlFK: here last here : https://pastebin.com/PtM6D5p501:20
tpbTitle: (LX P=arty C=or1k.linux F=linux) [email protected]:/opt/litex-buildenv$ export LC - Pastebin.com (at pastebin.com)01:20
mauz555last error after the locale fixes*01:21
CarlFKyep, I'm getting the same thing.   I think this has been fixed, but I guess the fix hasn't landed where it needs to01:24
CarlFKhttps://logs.timvideos.us/%23timvideos/%23timvideos.2018-09-13.log.html#t2018-09-13T21:38:2001:29
CarlFKewenmithro: FWIW, my notes on finding the root cause (for another context) are at http://git-annex.branchable.com/bugs/Synology_NAS__58___timer__95__create__58___Bad_address/#comment-c4046194ce3cb282790eaf54f7b5288a (currently the last couple of comments, on LC_TIME)01:30
tpbTitle: Synology NAS timercreate Bad address (at git-annex.branchable.com)01:30
CarlFKwelp.. im out for a while01:33
CarlFKsorry folks, I thought we had it all smoothed out01:33
*** futarisIRCcloud has joined #timvideos01:47
mauz555CarlFK: Also when running the boostrap.sh script it seems like it failed downloading part of the toolchain01:50
mauz555Installing C compiler toolchain01:50
mauz555---------------------------------------01:50
mauz555Installing binutils for riscv32-unknown (assembler, linker, and other tools)01:50
mauz555Solving environment: failed01:50
mauz555PackagesNotFoundError: The following packages are not available from current channels:01:50
mauz555  - binutils-riscv32-unknown-elf=2.2801:50
*** mauz555 has quit IRC01:55
*** rohitksingh_work has joined #timvideos03:49
*** tactics__ has quit IRC04:28
*** zeus28 has joined #timvideos04:53
*** zeus28 has quit IRC04:57
*** rohitksingh_work has quit IRC05:02
*** rohitksingh_work has joined #timvideos05:03
*** Mindiell9 has joined #timvideos05:33
shornemithro: my repo is 9.0.0 which is not yet released (its the current head of upstream gcc)06:26
shornemithro: I dont know/remember any 8.x repo for or1k06:26
*** shauno21 has joined #timvideos07:13
*** shauno21 has quit IRC07:16
*** meribold16 has joined #timvideos07:46
*** meribold16 has quit IRC07:48
CarlFKmithro: linux still ins't building - https://pastebin.com/Fjw8yYTj07:53
tpbTitle: (LX P=arty C=or1k.linux F=linux) [email protected]:/opt/litex-buildenv$ or1k-elf- - Pastebin.com (at pastebin.com)07:53
CarlFKmithro: should I open an issue simewhere?07:53
*** mauz555 has joined #timvideos08:02
*** newnick29 has joined #timvideos08:42
*** futarisIRCcloud has quit IRC08:47
*** newnick29 has quit IRC08:51
shorneCarlFK: I can reproduce that faiure09:04
shornefor me doing ' export LC_ALL=C' will suppress it09:05
shornework around it09:05
*** CarlFK has quit IRC09:27
*** f1nalpr1m320 has joined #timvideos09:28
*** f1nalpr1m320 has quit IRC09:33
*** Welcome has joined #timvideos10:15
*** Welcome has quit IRC10:18
*** auscompgeek has quit IRC10:18
*** auscompgeek has joined #timvideos10:19
*** canadian has joined #timvideos10:24
*** canadian has quit IRC10:26
*** cr1901_modern has quit IRC10:53
*** cr1901_modern has joined #timvideos10:59
*** seaLne24 has joined #timvideos11:13
*** zer0def3 has joined #timvideos11:16
*** seaLne24 has quit IRC11:18
*** zer0def3 has quit IRC11:18
*** sb0 has joined #timvideos11:51
*** CarlFK has joined #timvideos12:07
*** ChanServ sets mode: +v CarlFK12:07
CarlFKshorne: export LC_ALL=C ..12:07
CarlFK/home/juser/tv/litex-buildenv/third_party/linux/include/linux/string.h:9:20: fatal error: stdarg.h: No such file or directory12:07
shorneok, thats a different part12:09
shorneI think stdarg.h should be provided by the compiler12:10
shornesomething strange12:10
*** rohitksingh_work has quit IRC12:37
*** mauz555 has quit IRC12:53
mithroCarlFK: can you tell me the version of the compiler you have?13:04
mithroI was sure I compiled without language support...13:05
*** fascinated_12 has joined #timvideos13:16
*** fascinated_12 has quit IRC13:19
*** rohitksingh has joined #timvideos13:33
*** sb0 has quit IRC13:41
*** sb0 has joined #timvideos13:48
*** rohitksingh has quit IRC13:52
*** mauz555 has joined #timvideos14:10
*** rohitksingh has joined #timvideos14:12
shornemithro: _florent_: from within litex-buildenv is litex_sim available?14:12
shorneoh. I see it in setup.py14:18
*** rohitksingh has quit IRC14:26
mithroshorne: I think the sim target is broken...14:27
CarlFKmithro: gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)14:56
CarlFKmithro: http://paste.ubuntu.com/p/HnkrscnhmY/14:57
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)14:57
*** rohitksingh has joined #timvideos14:58
mithroCarlFK: Your gcc for or1k15:03
mithroor1k-elf-newlib-gcc --version15:03
CarlFKmithro: or1k-elf-newlib-gcc (GCC) 5.4.015:04
CarlFKmithro: /home/juser/tv/litex-buildenv/build/conda/bin/or1k-elf-newlib-gcc15:04
CarlFKmithro: os and everything installed yesterday, all cut/past commands from https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf15:06
tpbTitle: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com)15:06
mithro# conda list | grep gcc15:06
mithrogcc-lm32-elf-nostdc       5.4.0           20180626_180158    timvideos15:06
mithroCarlFK: Run that...15:10
CarlFKgcc-or1k-elf-nostdc       5.4.0_4334_g9310fdc97ee 20180626_180828    timvideos15:11
CarlFKand some others:15:11
CarlFKgcc-or1k-elf-newlib       5.4.0_4334_g9310fdc97ee 20180626_181158    timvideos15:11
CarlFKlibgcc-ng                 8.2.0                hdf63c60_115:11
*** rohitksingh has joined #timvideos15:15
*** sword_smith18 has joined #timvideos16:09
*** rohitksingh has quit IRC16:17
*** Realmy11 has joined #timvideos16:26
*** Realmy11 has quit IRC16:26
CarlFKmithro: just noticed you posted  lm32, I don't have that16:29
mithroCarlFK: busy currently16:29
*** nicomachus3 has joined #timvideos16:40
*** nicomachus3 has quit IRC16:45
*** mauz555 has quit IRC16:47
*** rohitksingh has joined #timvideos16:47
*** ShaRose10 has joined #timvideos16:59
*** mauz555 has joined #timvideos17:01
*** ShaRose10 has quit IRC17:01
*** raatiniemi has joined #timvideos17:04
*** raatiniemi has quit IRC17:07
*** mauz555 has quit IRC17:07
*** tac-tics has joined #timvideos17:10
*** pistachio22 has joined #timvideos17:26
*** pistachio22 has quit IRC17:28
*** Spiffy20 has joined #timvideos17:43
*** Spiffy20 has quit IRC17:46
mithroHrm, I can't figure out why it isn't installing the latest version...17:59
CarlFKmithro: is there something I can do to force it so I can proceed and see if there are any more problems?18:01
*** puck_ has quit IRC18:03
mithroCarlFK: can you blow away your build directory and start the download-env.sh from scratch?18:03
CarlFKsure18:03
mithroOh18:05
CarlFKmithro: this is new: An unexpected error has occurred. Conda has prepared the above report.18:06
CarlFKmithro: http://paste.ubuntu.com/p/P68YwCnD8k/18:06
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)18:06
*** puck_ has joined #timvideos18:07
cr1901_modernWhy is ewen making me think T_T? https://github.com/fupy/micropython/pull/51#discussion_r21992502918:09
tpbTitle: Add support for LiteX boards which run their main program from flash. by cr1901 · Pull Request #51 · fupy/micropython · GitHub (at github.com)18:09
mithroCarlFK: "git pull; rm -rf build; ./scripts/download-env.sh" ?18:09
CarlFKmithro: running it.. -ssd box, stuff is pretty fast18:10
CarlFKmithro: An unexpected error has occurred. Conda has prepared the above report.18:11
CarlFK    UnicodeEncodeError: 'ascii' codec can't encode characters in position 124-125: ordinal not in range(128)18:11
mithroCarlFK: Do you have some weird unicode character in your path?18:11
CarlFKopenocd-0.10.0_444_g | 1.3 MB    | ##################################### | 100%18:11
mithroCarlFK: pwd18:11
CarlFKmithro: I don't think so.  this is a fresh 18.04 install from 2 day ago18:11
CarlFK(LX P=arty C=or1k.linux F=linux) [email protected]:~/tv/litex-buildenv$ pwd18:11
CarlFK/home/juser/tv/litex-buildenv18:11
mithroCarlFK: mount ?18:12
CarlFKmithro: mount http://paste.ubuntu.com/p/wPH6wgPbwB/18:13
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)18:13
CarlFK      File "/home/juser/tv/litex-buildenv/build/conda/lib/python3.6/posixpath.py", line 179, in lexists18:13
CarlFK        os.lstat(path)18:13
CarlFKmithro:  if I put some prints() before that, how can I re-run it?18:14
CarlFKnm- got it..18:20
CarlFKgetting closer...         print("cfk #2 {}".format(path))18:21
CarlFK    UnicodeEncodeError: 'ascii' codec can't encode characters in position 131-132: ordinal not in range(128)18:21
CarlFKmithro: cfk #2.1 b'/home/juser/tv/litex-buildenv/build/conda/pkgs/openocd-0.10.0_444_g8b8b66559-20180626_1810/share/openocd/scripts/target/1986\xd0\xb2\xd0\xb51\xd1\x82.cfg'18:22
CarlFKmithro: [email protected]:~/tv/litex-buildenv$ ls  build/conda/pkgs/openocd-0.10.0_444_g8b8b66559-20180626_1810/share/openocd/scripts/target18:23
CarlFK''$'\320\272''1879x'$'\320\261''1'$'\321\217''.cfg'18:23
CarlFKmithro: http://paste.ubuntu.com/p/2WvPBWq6T8/18:25
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)18:25
*** rohitksingh has quit IRC18:31
*** ChanServ sets mode: +o CarlFK18:52
*** ChanServ sets mode: -o CarlFK18:57
*** ChanServ sets mode: +o CarlFK19:12
*** ChanServ sets mode: -o CarlFK19:12
*** TheAssassin has quit IRC19:20
*** TheAssassin has joined #timvideos19:25
*** sacarasc25 has joined #timvideos19:43
*** mgkwill has joined #timvideos19:43
*** CarlFK has quit IRC19:47
*** sacarasc25 has quit IRC19:47
*** mgkwill has quit IRC19:47
*** swalladge has quit IRC19:51
*** RadoQ15 has joined #timvideos19:58
mithroCarlFK[m]: "share/openocd/scripts/target/1986\xd0\xb2\xd0\xb51\xd1\x82.cfg" that doesn't look valid?20:00
*** swalladge has joined #timvideos20:03
*** CarlFK has joined #timvideos20:09
*** ChanServ sets mode: +v CarlFK20:09
CarlFKI'll be back in an hour20:33
*** CarlFK has quit IRC20:34
*** felix_ has quit IRC21:05
*** felix_ has joined #timvideos21:05
*** mauz555 has joined #timvideos21:27
*** ronaz2 has joined #timvideos21:40
*** ronaz2 has quit IRC21:43
*** Windy has joined #timvideos22:05
*** Windy has quit IRC22:06
*** ole1 has joined #timvideos22:30
*** ole1 has quit IRC22:34
*** ludo18 has joined #timvideos22:49
*** Meths12 has joined #timvideos22:51
*** ludo18 has quit IRC22:54
*** keywordNew has joined #timvideos22:57
*** mcarden_ has joined #timvideos23:00
*** Meths12 has quit IRC23:06
*** mcarden has quit IRC23:06
*** mauz555 has quit IRC23:30
*** CarlFK has joined #timvideos23:41
*** ChanServ sets mode: +v CarlFK23:41
*** sc00bz1 has joined #timvideos23:43
*** sc00bz has quit IRC23:44

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!