| --- Log opened Fri Apr 29 00:00:43 2016 | ||
| shorne | man this autoconf setup for gdb is hacky | 03:56 |
|---|---|---|
| olofk | :) | 04:01 |
| shorne | ok, I added another hack , but should be consistent | 04:09 |
| wallento | shorne: you can also update the travis build | 04:10 |
| wallento | oh, well, you wrote | 04:11 |
| wallento | should have read all :) | 04:11 |
| shorne | yeah, but I am thinking this is just wrong for it to try to link in or1ksim when you have --disable-sim | 04:11 |
| wallento | well, right | 04:11 |
| wallento | but it did not try before, right? | 04:11 |
| shorne | it did before too | 04:11 |
| shorne | we just didnt have travis to point it out :) | 04:12 |
| shorne | I mean when it was in or1k-src | 04:12 |
| shorne | ah, I made the fix now need to do autoreconf | 04:12 |
| shorne | but gdb says "configure.ac:22: error: Please use exactly Autoconf 2.64 instead of 2.69." | 04:12 |
| shorne | ha! | 04:12 |
| shorne | ok, works now with disable-sim only | 04:21 |
| shorne | now with enable-sim | 04:22 |
| shorne | fails to find or1ksim in default path (expected) | 04:23 |
| shorne | with using with-or1ksim=my path... it works | 04:23 |
| shorne | so its good | 04:23 |
| shorne | pushing patch | 04:23 |
| shorne | ideally we would disable or1ksim if the lib doesn exist using the AC_CHECK_LIB or AC_TRY... tests | 04:26 |
| shorne | wallento: also, this way we dont have to update the build tutorial | 04:32 |
| shorne | but I guess we might want to since we "can" enable sim now : | 04:32 |
| shorne | if the code is merged :) | 04:32 |
| shorne | Hope someone can review, the way I enabled nrun was a bit hacky storing the or1ksim_state in a random place | 04:33 |
| shorne | FYI, I havent tried the cgen (or1k) simulator, just the or1ksim wrapper stuff | 04:38 |
| shorne | ok, travis build works too | 04:40 |
| SMDwrk | wallento: Hi, check email plz | 04:49 |
| -!- Netsplit *.net <-> *.split quits: _florent_, rokka, kaalikahn, poke53281 | 10:33 | |
| -!- Netsplit over, joins: rokka, poke53281 | 10:37 | |
| wallento | SMDwrk: sorry, was really busy the last days | 12:58 |
| wallento | I am answering now, is it okay to answer to the mailing list? | 12:58 |
| wallento | shorne: merged | 13:16 |
| wallento | next stop: upstream | 13:16 |
| SMDwrk | wallento: sure, no problem) | 13:54 |
| olofk | shorne: How is this sim thing working? IIRC we have the option to either use the built-in sim stuff from binutils/gdb or hook in or1ksim instead. I guess upstream don't want to depend on or1ksim | 15:08 |
| olofk | But I'm not sure I have understood it all. ( jeremybennett ?) | 15:08 |
| SMDhome | дота | 15:09 |
| SMDhome | sorry | 15:10 |
| shorne | olofk: you are right there are both the internal stuff (cgen) and the or1ksim wrapper. The one I was testing is or1ksim | 16:32 |
| shorne | both are merged | 16:33 |
| shorne | we can remove the or1ksim stuff, thats the one that has the kind of hacky autoconf setup | 16:33 |
| shorne | olofk: what you are saying makes sense, I have been testing with or1ksim, lets try to concentrate on or1k | 16:37 |
| shorne | The build for sim/or1k is failing just tested | 16:38 |
| olofk | I think the problem for the internal sim thingie is that it requires some simulated peripherals to be of any use, and that might be a bit more work. Usual caveat, of course is that I don't really understand those parts of the toolchain | 16:49 |
| olofk | So I'm kind of hoping that we can add gdb with adding sim stuff if it turns out to be a lot of extra work | 16:50 |
| olofk | s/with/without | 16:50 |
| shorne | I see, it seems peter gavin (from commit logs) was the one who wrote the internal simulator stuff. Do you know how far along it got? | 16:51 |
| olofk | Don't know unfortunately. And I'm not sure if Peter did all the work or if he is listed just because he did the initial github import and patch collecting. I vaguely remember that at least juliusb was digging into that as well | 16:56 |
| olofk | I'll throw Peter a mail and see if he remembers anything of it | 16:56 |
| olofk | done. I'll let you know if I get a reply | 17:03 |
| shorne | thanks | 17:03 |
| shorne | there seems to be some changes in the way ENDIAN ness is declaird | 17:03 |
| shorne | needing to fix that | 17:03 |
| shorne | ok, now cgen (sim/or1k) is building | 17:04 |
| olofk | ah cool | 17:04 |
| shorne | ill run the testssuite with it | 17:04 |
| olofk | Very curious to hear the results | 17:05 |
| shorne | ... Undefined target command: "sim". Try "help target". | 17:05 |
| shorne | thats not good | 17:05 |
| olofk | Baka! | 17:05 |
| olofk | Do you need to rebuild gdb with sim support perhaps? Not sure how things are connected | 17:05 |
| shorne | yeah. thats what I thgouth it did | 17:06 |
| shorne | oh.. something was wrong with my config command the second time | 17:06 |
| shorne | ok, more build failures to work through | 17:07 |
| olofk | wallento: I'm about to do a 180 on the vlnv syntax in .core files. I now think we should only allow a single v:l:n:v instead of separate v, l, n, v tags | 17:36 |
| olofk | The reason for that is that we can then use the same syntax in the depend list, add a new VlnvList type in section.py and parse into a vlnv object directly. No need to handle string parsing anywhere else | 17:38 |
| shorne | need to regen the cgen files, which I figured out how to do, just need to pass --enable-cgen-maint to config | 18:13 |
| shorne | but now there is an issue, it seems the cgen guile (scheme) code does work with guile 2 | 18:14 |
| shorne | so the cgen fails, cgen was last released in 2009 :( | 18:15 |
| shorne | might have to go ask gdb developers | 18:15 |
| shorne | need to go now | 18:15 |
| shorne | I was able to get it working with guile1.8 | 19:00 |
| shorne | now a failure in cpu/or1k.cpu, which is ok, making progress | 19:01 |
| shorne | ok, finding some definite issues in cgen, checking with #gdb | 23:09 |
| --- Log closed Sat Apr 30 00:00:44 2016 | ||
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!