kristianpaul | Btw what can you actually do with the new fpga cycle iv e board? | 05:43 |
---|---|---|
kristianpaul | like run a webserver? | 05:43 |
-!- Netsplit *.net <-> *.split quits: Blok | 08:47 | |
-!- Netsplit over, joins: Blok | 08:51 | |
-!- slpz is now known as slpz_ | 10:56 | |
Lampus_ | Hello | 13:42 |
Lampus_ | I can't compile gcc with c++ | 13:43 |
Lampus_ | Compilation problem was occured with next error message: /libstdc++-v3/configure: line 269: retu rn: please: numeric argument required | 13:43 |
Lampus_ | configure: error: no 8-bit type | 13:44 |
Lampus_ | I'm used git version of gcc from here: git://openrisc.net/jonas/gcc | 13:47 |
Lampus_ | =] | 14:03 |
Lampus_ | Nobody here | 14:03 |
jonibo | try the or1k-4.5.1 branch | 14:51 |
Lampus_ | jonibo: Already tried it. With smae result. But without c++ build was successful | 14:53 |
jonibo | ok | 14:54 |
Lampus_ | *same | 14:54 |
jonibo | not sure what's going on there then | 14:54 |
jonibo | no time to look into right now, either, i'm afraid | 14:54 |
Lampus_ | jonibo: seems this bug bughttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=45084 | 14:54 |
Lampus_ | And exist patch resolving this problem: http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01197.html | 14:55 |
jonibo | from 2010? somebody else must have seen this already... | 14:56 |
jonibo | strange | 14:56 |
Lampus_ | jonibo: But I can't understant how to regenerate configure scripts | 14:56 |
jonibo | autoreconf | 14:56 |
jonibo | what distro are you on? | 14:57 |
Lampus_ | jonibo: ArchLinux x86_64 | 14:57 |
jonibo | ok | 14:57 |
jonibo | maybe that's why... | 14:58 |
jonibo | don't know if anybody else is running arch | 14:58 |
jonibo | haven't seen that error on ubuntu | 14:58 |
Lampus_ | I'm trying create PKGBUILD's for packaging of toolchain | 14:58 |
Lampus_ | in arch latest versions of packages, so sometimes you can see many strange things =) | 14:59 |
jonibo | yeah, I know... pretty bleeding edge | 15:00 |
jonibo | that's good... you can shake out bugs for us | 15:00 |
juliusb | Lampus_: Hi, nice to hear you're doing stuff with OpenRISC | 15:05 |
juliusb | what is PKGBUILD? | 15:05 |
Lampus_ | One second... | 15:05 |
jonibo | http://lmgtfy.com/?q=pkgbuild | 15:06 |
juliusb | hehe :) | 15:06 |
jonibo | :) | 15:06 |
juliusb | fair cop | 15:07 |
Lampus_ | jonibo: http://pastebin.com/9Hjk3PP2 | 15:07 |
juliusb | OK, Arch Linux's package format then | 15:07 |
Lampus_ | Yes. Do you have any suggestions/additions to configure parameters? | 15:08 |
jonibo | can you use the repository at openrisc.net instead of openrisc.southpole.se | 15:08 |
jonibo | the southpole.se version is not up to date | 15:08 |
jonibo | ...and I should probably just delete it | 15:08 |
Lampus_ | I can try it, but only tomorrow | 15:08 |
jonibo | you don't want --with-sysroot if you're doing --with-newlib... | 15:09 |
Lampus_ | jonibo: ok. Fixed | 15:11 |
jonibo | seems ok | 15:11 |
Lampus_ | $ autoreconf configure.ac:32: error: Please use exactly Autoconf 2.64 instead of 2.68. config/override.m4:34: _GCC_AUTOCONF_VERSION_CHECK is expanded from... | 15:12 |
Lampus_ | =\ | 15:12 |
jonibo | yeah, you need autoconf 2.64 | 15:12 |
jonibo | that's an upstream gcc dependency | 15:12 |
Lampus_ | I can build package with autoconf in separate directory, like /opt | 15:14 |
jonibo | ? | 15:14 |
juliusb | I found issues when playing with GCC recently - you need to have exactly the right versions, but I foudn them easy to install under Ubuntu | 15:16 |
juliusb | you may already have them Lampus_ - try autoconf2.64 instead of just autoconf | 15:16 |
Lampus_ | Hmm... I can use not-standart prefix for autoconf 2.64 | 15:16 |
Lampus_ | aur/autoconf-2.64 | 15:17 |
Lampus_ | yep, seems I already have it =) | 15:17 |
juliusb | but I recall it was annoying to do it properly | 15:18 |
juliusb | you need to run it twice sometimes | 15:18 |
juliusb | it'll give you an error the first time but not the second | 15:18 |
juliusb | there's a page on the gcc wiki about it | 15:19 |
juliusb | which is actually out of date but you can figure out out roughly what's needed :( | 15:19 |
Lampus_ | Do you have some OpenRISC Quick Start documentation? | 15:20 |
jonibo | http://openrisc.net | 15:20 |
Lampus_ | Oh, I have found some typos in OpenRISC specification draft | 15:21 |
juliusb | cool | 15:21 |
juliusb | please submit those to the mailing list | 15:21 |
Lampus_ | Ok | 15:22 |
Lampus_ | [lampus@myhost gcc]$ PATH="/opt/autoconf/2.64/bin:$PATH" autoreconf [lampus@myhost gcc]$ echo $? 0 | 15:24 |
Lampus_ | Looks good | 15:24 |
derRichard | hi! i have a question on openrisc linux support. does linux run on openrisc 1200? or only on the 1000? | 15:24 |
jonibo | only on the 1200 | 15:24 |
jonibo | that's the only implementation around today... | 15:24 |
jonibo | at least, the only freely available one | 15:24 |
jonibo | openrisc 1000 is the architecture | 15:25 |
jonibo | openrisc 1200 is the implementation | 15:25 |
derRichard | ahhhh! | 15:25 |
jonibo | terrible, I know | 15:25 |
derRichard | kinda confusing :) | 15:25 |
jonibo | it's probably actually or1200, even, not openrisc 1200 | 15:25 |
derRichard | openrisc support is in linux mainline. what about gcc and binutils? | 15:25 |
jonibo | yeah, linux is the only project where openrisc support is in mainline | 15:26 |
jonibo | u-boot is probably next | 15:26 |
jonibo | but gcc and binutils are ___FAR___ off | 15:26 |
derRichard | why that? | 15:26 |
jonibo | nobody wants to pick up the ball and run with it | 15:26 |
derRichard | are there technical or political problems | 15:26 |
jonibo | political | 15:26 |
derRichard | :) | 15:26 |
jonibo | it should have been submitted for 4.7 | 15:27 |
jonibo | ... in my opinion | 15:27 |
derRichard | i'm about to buy this board: http://opencores.org/shop,item,9 | 15:27 |
jonibo | cool... | 15:27 |
derRichard | let's see how well it works for me :-) | 15:27 |
jonibo | that'll be lots of fun for you | 15:27 |
derRichard | i hope so | 15:28 |
derRichard | what kind of userland are you using on openrisc? busybox? | 15:29 |
jonibo | busybox | 15:29 |
derRichard | with uclibc? | 15:29 |
jonibo | from git.openrisc.net... as that's the only one with openrisc support | 15:29 |
jonibo | that hasn't made it upstream yet, either | 15:29 |
jonibo | and that won't go upstream before gcc does | 15:30 |
derRichard | i c | 15:30 |
jonibo | sorry, yes, uclibc from openrisc.net | 15:30 |
jonibo | busybox from upstream works fine | 15:30 |
Lampus_ | And what about PIC and dynamic linking state? | 15:30 |
jonibo | haha :p | 15:31 |
derRichard | btw: are you jonas bonn? | 15:31 |
jonibo | yes | 15:31 |
derRichard | nice to meet you! | 15:31 |
jonibo | likewise | 15:31 |
derRichard | i saw you posts on the linux kernel mailing list | 15:31 |
derRichard | (the openrisc merge) | 15:31 |
jonibo | cool | 15:31 |
derRichard | this is how i hered the first time about openrisc and free softcores :) | 15:32 |
jonibo | great! | 15:32 |
derRichard | *heard | 15:32 |
juliusb | jonibo: I would say it's a combination of technical and political issues - it's a fair bit of work that we've not got a serious contributor effort wotard | 15:36 |
juliusb | s/wotard/toward/ | 15:37 |
jonibo | the bickering channel is #opencores | 15:38 |
juliusb | well, come on, if there weren't technical issues it would have been done already, surely, but gcc and binutils aren't the easiest things to master | 15:40 |
juliusb | anyway, that's all I'll say, I just want to point out that there's certainly an opening for anyone who wants to come and help with our toolchain | 15:41 |
jonibo | seconded | 15:41 |
Lampus_ | I should go, bye | 15:41 |
jonibo | bye | 15:41 |
stekern | jonibo: u-boot is already upstream | 16:21 |
pgavin | juliusb: is there a web page somewhere that lists what needs to be done? | 16:36 |
pgavin | juliusb: I'm currently working on merging giuseppi's gcc with the most recent upstream | 16:36 |
pgavin | juliusb: and making it work with your binutils version | 16:37 |
pgavin | (the or1k one) | 16:37 |
jonibo | pgavin: awesome! | 17:09 |
jonibo | will be happy to set up a git repo for you at openrisc.net if you want to publish there... | 17:10 |
jonibo | i can try to ping giuseppe and ask him to provide you with some info about what needs doing, if you'd like | 17:11 |
pgavin | ok. it seems like gcc's changed quite a bit since he's last merged | 17:15 |
pgavin | they replaced some functionality with other stuff and I'm having to figure out what to do lol | 17:15 |
jonibo | yeah, he mentioned something along those lines when we last discussed this | 17:16 |
jonibo | glad you figured that our for yourself! | 17:16 |
pgavin | lol | 17:16 |
pgavin | it merged cleanly at least, no conflicts | 17:16 |
jonibo | cool | 17:16 |
pgavin | but the or1k.c file had some compile errors | 17:16 |
jonibo | yeah, some functions have changed, as I understand it | 17:16 |
juliusb | pgavin: great to hear | 18:03 |
juliusb | pgavin: i have also done some work on the GCC port, but based on the gcc-4.5.1 version in the opencores repo | 18:04 |
juliusb | mainly changing the target names to or1k-*-* | 18:15 |
juliusb | so if you reckon you could take a 4.5.1 port up to latest, that'd be the one to take, but at the same time I'm not sure how advance guiseppe's port is | 18:16 |
pgavin | juliusb: basically I git cloned giuseppe's, and then git pulled from the main gcc tree, then did sed 's,or32,or1k,g' | 18:24 |
pgavin | now I'm trying to make it compile lol | 18:25 |
juliusb | pgavin: nice one :) | 18:25 |
juliusb | well if you can make it build with my binutils, then sweet | 18:25 |
jonibo | best way forward would be to make it work with old binutils, then replace binutils with juliusb's cgen version... | 18:26 |
jonibo | too many variables otherwise | 18:26 |
jonibo | giuseppe's port is way more advanced than the 4.5.1 that's floating around | 18:26 |
jonibo | and then there are other patches floating about that i'm aware of that haven't been integrated into any of these trees | 18:26 |
juliusb | oh wow cool | 18:27 |
jonibo | this whole thing's a mess | 18:27 |
jonibo | hopefully pgavin can pull it all together | 18:27 |
juliusb | yes the thing hasn't been coherently tackled by anyone yet | 18:27 |
juliusb | i'm having a go from ground up | 18:27 |
juliusb | but that took a month of my spare time just do the CGEN and binutils stuff | 18:27 |
jonibo | yeah, your cgen works is nice | 18:27 |
juliusb | (I'm not certain binutils stuff is correct either) | 18:27 |
juliusb | (still getting some odd linking issues) | 18:28 |
juliusb | but we do have the gdb sim now | 18:28 |
juliusb | which means no more having to build or1ksim to run the regression stuff | 18:28 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!