*** tpb has joined #timvideos | 00:00 | |
*** ringzer0 has quit IRC | 00:02 | |
mauz555 | I'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 |
---|---|---|
tpb | Title: GitHub - riscv/riscv-gnu-toolchain: GNU toolchain for RISC-V, including GCC (at github.com) | 00:26 |
mauz555 | do you guys have any advice worth knowing before diving into that task ? | 00:28 |
CarlFK | mauz555: i forget, did you get though https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf | 00:30 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 00:30 |
mauz555 | CarlFK: It works well until I do "Doing the build of Linux" https://pastebin.com/nezfLQQ2 | 00:55 |
tpb | Title: (LX P=arty C=or1k) jimmy@jimmy-comp:/opt/litex-buildenv$ export CPU=or1k CPU_VAR - Pastebin.com (at pastebin.com) | 00:55 |
CarlFK | mauz555: what's the error? (and how long ago did you try, we have been fixing things for the last few weeks) | 00:56 |
CarlFK | mithro: woot!!! the expected qemu builds and boots the hdmi2usb!!! | 00:57 |
mauz555 | CarlFK: I tried just rn now from the beginning -- my repo is up-to-date | 00:58 |
CarlFK | mauz555: I just now started ./scripts/build-linux.sh | 00:58 |
CarlFK | good time to run to the kitchen and find some food | 00:59 |
mauz555 | CarlFK: "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 issue | 01:06 |
tpb | Title: (LX P=arty C=or1k.linux F=linux) jimmy@jimmy-comp:/opt/litex-buildenv$ or1k-elf- - Pastebin.com (at pastebin.com) | 01:06 |
mauz555 | CarlFK: "export LC_ALL=C" seems to have fixed first part of the problem, the same error appears later in the script | 01:14 |
CarlFK | mauz555: good find, I get the core dump too | 01:15 |
CarlFK | mithro: you awake? (doubt it) | 01:15 |
mauz555 | CarlFK: "export LANG=" fix the other message about the locales | 01:17 |
CarlFK | mauz555: you are on 18.04 right? | 01:18 |
mauz555 | Ubuntu 18.04.1 LTS | 01:19 |
mauz555 | CarlFK: here last here : https://pastebin.com/PtM6D5p5 | 01:20 |
tpb | Title: (LX P=arty C=or1k.linux F=linux) jimmy@jimmy-comp:/opt/litex-buildenv$ export LC - Pastebin.com (at pastebin.com) | 01:20 |
mauz555 | last error after the locale fixes* | 01:21 |
CarlFK | yep, I'm getting the same thing. I think this has been fixed, but I guess the fix hasn't landed where it needs to | 01:24 |
CarlFK | https://logs.timvideos.us/%23timvideos/%23timvideos.2018-09-13.log.html#t2018-09-13T21:38:20 | 01:29 |
CarlFK | ewenmithro: 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 |
tpb | Title: Synology NAS timercreate Bad address (at git-annex.branchable.com) | 01:30 |
CarlFK | welp.. im out for a while | 01:33 |
CarlFK | sorry folks, I thought we had it all smoothed out | 01:33 |
*** futarisIRCcloud has joined #timvideos | 01:47 | |
mauz555 | CarlFK: Also when running the boostrap.sh script it seems like it failed downloading part of the toolchain | 01:50 |
mauz555 | Installing C compiler toolchain | 01:50 |
mauz555 | --------------------------------------- | 01:50 |
mauz555 | Installing binutils for riscv32-unknown (assembler, linker, and other tools) | 01:50 |
mauz555 | Solving environment: failed | 01:50 |
mauz555 | PackagesNotFoundError: The following packages are not available from current channels: | 01:50 |
mauz555 | - binutils-riscv32-unknown-elf=2.28 | 01:50 |
*** mauz555 has quit IRC | 01:55 | |
*** rohitksingh_work has joined #timvideos | 03:49 | |
*** tactics__ has quit IRC | 04:28 | |
*** zeus28 has joined #timvideos | 04:53 | |
*** zeus28 has quit IRC | 04:57 | |
*** rohitksingh_work has quit IRC | 05:02 | |
*** rohitksingh_work has joined #timvideos | 05:03 | |
*** Mindiell9 has joined #timvideos | 05:33 | |
shorne | mithro: my repo is 9.0.0 which is not yet released (its the current head of upstream gcc) | 06:26 |
shorne | mithro: I dont know/remember any 8.x repo for or1k | 06:26 |
*** shauno21 has joined #timvideos | 07:13 | |
*** shauno21 has quit IRC | 07:16 | |
*** meribold16 has joined #timvideos | 07:46 | |
*** meribold16 has quit IRC | 07:48 | |
CarlFK | mithro: linux still ins't building - https://pastebin.com/Fjw8yYTj | 07:53 |
tpb | Title: (LX P=arty C=or1k.linux F=linux) jimmy@jimmy-comp:/opt/litex-buildenv$ or1k-elf- - Pastebin.com (at pastebin.com) | 07:53 |
CarlFK | mithro: should I open an issue simewhere? | 07:53 |
*** mauz555 has joined #timvideos | 08:02 | |
*** newnick29 has joined #timvideos | 08:42 | |
*** futarisIRCcloud has quit IRC | 08:47 | |
*** newnick29 has quit IRC | 08:51 | |
shorne | CarlFK: I can reproduce that faiure | 09:04 |
shorne | for me doing ' export LC_ALL=C' will suppress it | 09:05 |
shorne | work around it | 09:05 |
*** CarlFK has quit IRC | 09:27 | |
*** f1nalpr1m320 has joined #timvideos | 09:28 | |
*** f1nalpr1m320 has quit IRC | 09:33 | |
*** Welcome has joined #timvideos | 10:15 | |
*** Welcome has quit IRC | 10:18 | |
*** auscompgeek has quit IRC | 10:18 | |
*** auscompgeek has joined #timvideos | 10:19 | |
*** canadian has joined #timvideos | 10:24 | |
*** canadian has quit IRC | 10:26 | |
*** cr1901_modern has quit IRC | 10:53 | |
*** cr1901_modern has joined #timvideos | 10:59 | |
*** seaLne24 has joined #timvideos | 11:13 | |
*** zer0def3 has joined #timvideos | 11:16 | |
*** seaLne24 has quit IRC | 11:18 | |
*** zer0def3 has quit IRC | 11:18 | |
*** sb0 has joined #timvideos | 11:51 | |
*** CarlFK has joined #timvideos | 12:07 | |
*** ChanServ sets mode: +v CarlFK | 12:07 | |
CarlFK | shorne: 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 directory | 12:07 |
shorne | ok, thats a different part | 12:09 |
shorne | I think stdarg.h should be provided by the compiler | 12:10 |
shorne | something strange | 12:10 |
*** rohitksingh_work has quit IRC | 12:37 | |
*** mauz555 has quit IRC | 12:53 | |
mithro | CarlFK: can you tell me the version of the compiler you have? | 13:04 |
mithro | I was sure I compiled without language support... | 13:05 |
*** fascinated_12 has joined #timvideos | 13:16 | |
*** fascinated_12 has quit IRC | 13:19 | |
*** rohitksingh has joined #timvideos | 13:33 | |
*** sb0 has quit IRC | 13:41 | |
*** sb0 has joined #timvideos | 13:48 | |
*** rohitksingh has quit IRC | 13:52 | |
*** mauz555 has joined #timvideos | 14:10 | |
*** rohitksingh has joined #timvideos | 14:12 | |
shorne | mithro: _florent_: from within litex-buildenv is litex_sim available? | 14:12 |
shorne | oh. I see it in setup.py | 14:18 |
*** rohitksingh has quit IRC | 14:26 | |
mithro | shorne: I think the sim target is broken... | 14:27 |
CarlFK | mithro: gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) | 14:56 |
CarlFK | mithro: http://paste.ubuntu.com/p/HnkrscnhmY/ | 14:57 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 14:57 |
*** rohitksingh has joined #timvideos | 14:58 | |
mithro | CarlFK: Your gcc for or1k | 15:03 |
mithro | or1k-elf-newlib-gcc --version | 15:03 |
CarlFK | mithro: or1k-elf-newlib-gcc (GCC) 5.4.0 | 15:04 |
CarlFK | mithro: /home/juser/tv/litex-buildenv/build/conda/bin/or1k-elf-newlib-gcc | 15:04 |
CarlFK | mithro: os and everything installed yesterday, all cut/past commands from https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf | 15:06 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 15:06 |
mithro | # conda list | grep gcc | 15:06 |
mithro | gcc-lm32-elf-nostdc 5.4.0 20180626_180158 timvideos | 15:06 |
mithro | CarlFK: Run that... | 15:10 |
CarlFK | gcc-or1k-elf-nostdc 5.4.0_4334_g9310fdc97ee 20180626_180828 timvideos | 15:11 |
CarlFK | and some others: | 15:11 |
CarlFK | gcc-or1k-elf-newlib 5.4.0_4334_g9310fdc97ee 20180626_181158 timvideos | 15:11 |
CarlFK | libgcc-ng 8.2.0 hdf63c60_1 | 15:11 |
*** rohitksingh has joined #timvideos | 15:15 | |
*** sword_smith18 has joined #timvideos | 16:09 | |
*** rohitksingh has quit IRC | 16:17 | |
*** Realmy11 has joined #timvideos | 16:26 | |
*** Realmy11 has quit IRC | 16:26 | |
CarlFK | mithro: just noticed you posted lm32, I don't have that | 16:29 |
mithro | CarlFK: busy currently | 16:29 |
*** nicomachus3 has joined #timvideos | 16:40 | |
*** nicomachus3 has quit IRC | 16:45 | |
*** mauz555 has quit IRC | 16:47 | |
*** rohitksingh has joined #timvideos | 16:47 | |
*** ShaRose10 has joined #timvideos | 16:59 | |
*** mauz555 has joined #timvideos | 17:01 | |
*** ShaRose10 has quit IRC | 17:01 | |
*** raatiniemi has joined #timvideos | 17:04 | |
*** raatiniemi has quit IRC | 17:07 | |
*** mauz555 has quit IRC | 17:07 | |
*** tac-tics has joined #timvideos | 17:10 | |
*** pistachio22 has joined #timvideos | 17:26 | |
*** pistachio22 has quit IRC | 17:28 | |
*** Spiffy20 has joined #timvideos | 17:43 | |
*** Spiffy20 has quit IRC | 17:46 | |
mithro | Hrm, I can't figure out why it isn't installing the latest version... | 17:59 |
CarlFK | mithro: 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 IRC | 18:03 | |
mithro | CarlFK: can you blow away your build directory and start the download-env.sh from scratch? | 18:03 |
CarlFK | sure | 18:03 |
mithro | Oh | 18:05 |
CarlFK | mithro: this is new: An unexpected error has occurred. Conda has prepared the above report. | 18:06 |
CarlFK | mithro: http://paste.ubuntu.com/p/P68YwCnD8k/ | 18:06 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 18:06 |
*** puck_ has joined #timvideos | 18:07 | |
cr1901_modern | Why is ewen making me think T_T? https://github.com/fupy/micropython/pull/51#discussion_r219925029 | 18:09 |
tpb | Title: 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 |
mithro | CarlFK: "git pull; rm -rf build; ./scripts/download-env.sh" ? | 18:09 |
CarlFK | mithro: running it.. -ssd box, stuff is pretty fast | 18:10 |
CarlFK | mithro: 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 |
mithro | CarlFK: Do you have some weird unicode character in your path? | 18:11 |
CarlFK | openocd-0.10.0_444_g | 1.3 MB | ##################################### | 100% | 18:11 |
mithro | CarlFK: pwd | 18:11 |
CarlFK | mithro: I don't think so. this is a fresh 18.04 install from 2 day ago | 18:11 |
CarlFK | (LX P=arty C=or1k.linux F=linux) juser@gator:~/tv/litex-buildenv$ pwd | 18:11 |
CarlFK | /home/juser/tv/litex-buildenv | 18:11 |
mithro | CarlFK: mount ? | 18:12 |
CarlFK | mithro: mount http://paste.ubuntu.com/p/wPH6wgPbwB/ | 18:13 |
tpb | Title: 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 lexists | 18:13 |
CarlFK | os.lstat(path) | 18:13 |
CarlFK | mithro: if I put some prints() before that, how can I re-run it? | 18:14 |
CarlFK | nm- got it.. | 18:20 |
CarlFK | getting 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 |
CarlFK | mithro: 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 |
CarlFK | mithro: juser@gator:~/tv/litex-buildenv$ ls build/conda/pkgs/openocd-0.10.0_444_g8b8b66559-20180626_1810/share/openocd/scripts/target | 18:23 |
CarlFK | ''$'\320\272''1879x'$'\320\261''1'$'\321\217''.cfg' | 18:23 |
CarlFK | mithro: http://paste.ubuntu.com/p/2WvPBWq6T8/ | 18:25 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 18:25 |
*** rohitksingh has quit IRC | 18:31 | |
*** ChanServ sets mode: +o CarlFK | 18:52 | |
*** ChanServ sets mode: -o CarlFK | 18:57 | |
*** ChanServ sets mode: +o CarlFK | 19:12 | |
*** ChanServ sets mode: -o CarlFK | 19:12 | |
*** TheAssassin has quit IRC | 19:20 | |
*** TheAssassin has joined #timvideos | 19:25 | |
*** sacarasc25 has joined #timvideos | 19:43 | |
*** mgkwill has joined #timvideos | 19:43 | |
*** CarlFK has quit IRC | 19:47 | |
*** sacarasc25 has quit IRC | 19:47 | |
*** mgkwill has quit IRC | 19:47 | |
*** swalladge has quit IRC | 19:51 | |
*** RadoQ15 has joined #timvideos | 19:58 | |
mithro | CarlFK[m]: "share/openocd/scripts/target/1986\xd0\xb2\xd0\xb51\xd1\x82.cfg" that doesn't look valid? | 20:00 |
*** swalladge has joined #timvideos | 20:03 | |
*** CarlFK has joined #timvideos | 20:09 | |
*** ChanServ sets mode: +v CarlFK | 20:09 | |
CarlFK | I'll be back in an hour | 20:33 |
*** CarlFK has quit IRC | 20:34 | |
*** felix_ has quit IRC | 21:05 | |
*** felix_ has joined #timvideos | 21:05 | |
*** mauz555 has joined #timvideos | 21:27 | |
*** ronaz2 has joined #timvideos | 21:40 | |
*** ronaz2 has quit IRC | 21:43 | |
*** Windy has joined #timvideos | 22:05 | |
*** Windy has quit IRC | 22:06 | |
*** ole1 has joined #timvideos | 22:30 | |
*** ole1 has quit IRC | 22:34 | |
*** ludo18 has joined #timvideos | 22:49 | |
*** Meths12 has joined #timvideos | 22:51 | |
*** ludo18 has quit IRC | 22:54 | |
*** keywordNew has joined #timvideos | 22:57 | |
*** mcarden_ has joined #timvideos | 23:00 | |
*** Meths12 has quit IRC | 23:06 | |
*** mcarden has quit IRC | 23:06 | |
*** mauz555 has quit IRC | 23:30 | |
*** CarlFK has joined #timvideos | 23:41 | |
*** ChanServ sets mode: +v CarlFK | 23:41 | |
*** sc00bz1 has joined #timvideos | 23:43 | |
*** sc00bz has quit IRC | 23:44 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!