--- Log opened Sat May 03 00:00:31 2014 | ||
stekern | poke53282: yes, running scummvm X in a vncserver on a FPGA | 05:33 |
---|---|---|
stekern | poke53282: hmm, qemu crashes when I try to build it | 05:46 |
stekern | or well, gcc crashes... and it does it on the board too | 05:59 |
stekern | oh, this might be the mpfr bug, I probably have an old version of that | 06:02 |
stekern | now it compiles | 06:02 |
stekern | poke53282: mor1kx@75MHz: http://49d64aa21b0e1adf.paste.se/ | 06:33 |
stekern | as a comparison, this is what we get in qemu-user: http://d6faf0dc87413aa4.paste.se/ | 06:36 |
blueCmd | stekern: apparently apache needs support for -pie for gcc | 07:22 |
blueCmd | or I'm just stupid, stand bye | 07:23 |
blueCmd | by* | 07:23 |
blueCmd | no, debian uses --enable-pie with apache2. I will need to remove that for or1k | 07:24 |
blueCmd | (or implement it, not sure what the differences are yet between that and pic though) | 07:24 |
blueCmd | "These options are similar to -fpic and -fPIC, but generated position independent code can be only linked into executables. Usually these options are used when -pie GCC option is used during linking. | 07:24 |
stekern | umm, ok... what's the problem? | 07:33 |
stekern | we support -PIE afaik | 07:33 |
stekern | at least I have used it in the past, so we *have* supported it | 07:34 |
stekern | -fPIE I mean | 07:34 |
blueCmd | oh | 07:35 |
blueCmd | http://wannabuild.cmd.nu/fetch.php?pkg=apache2&arch=or1k&ver=2.4.9-1&stamp=1399047197 | 07:35 |
blueCmd | i have done 0 debugging though, im traveling for 2 weeks | 07:36 |
stekern | ok, so --enable-pie is a ./configure flag | 07:37 |
blueCmd | yep | 07:37 |
blueCmd | maybe it just tests -pie and not fPIE | 07:38 |
stekern | mmm, or there's something more subtle going on | 07:39 |
blueCmd | yes | 07:39 |
blueCmd | hard to say without the config.log | 07:39 |
stekern | indeed ;) | 07:41 |
stekern | I can try-build it here and see what it tries to do | 07:46 |
stekern | right after this wget build is done ;) | 07:46 |
blueCmd | cool, thanks | 07:46 |
blueCmd | hm | 07:46 |
blueCmd | wget is built | 07:46 |
stekern | is it? | 07:47 |
blueCmd | you might want to add openrisc.debian.net/debian sid main contrib to your sources | 07:47 |
stekern | I couldn't apt-get install it this morning | 07:47 |
stekern | ah, ok | 07:47 |
blueCmd | that's where wannabuild puts all it's stuff | 07:47 |
blueCmd | it's the "pure hack-free" repository | 07:48 |
blueCmd | sorry if I didn't tell you about that earlier | 07:48 |
blueCmd | anyway, apt fails 1 test with file related stuff, http://wannabuild.cmd.nu/fetch.php?pkg=apt&arch=or1k&ver=1.0.2&stamp=1399102602 | 07:48 |
blueCmd | that might be interesting to look into why it fails | 07:48 |
blueCmd | http://openrisc.debian.net/debian/README shows an example sources.list | 07:52 |
stekern | how do I use that pubkey? | 07:55 |
stekern | nm, google told me | 07:59 |
stekern | (apt-key add signing.pub) | 07:59 |
-!- Netsplit *.net <-> *.split quits: _franck_, zama, rah, ysionneau, blueCmd, poke53282, veprbl, jeremy_bennett, Limb | 08:04 | |
-!- Netsplit over, joins: jeremy_bennett, _franck_, blueCmd | 08:07 | |
stekern | blueCmd: I get this when I try to build apache: /usr/share/apr-1.0/build/libtool: line 1088: or1k-linux-gnu-ar: command not found | 08:21 |
stekern | how can I not have had binutils until now? | 08:23 |
blueCmd | stekern: you have binutils, but the old version wasnt packaged in the debian way and was just "ar" | 09:32 |
blueCmd | beware that the latest binutils does _not_ have the TLS relocation bug fixed, but it should work for most things | 09:32 |
stekern | ah, ok.. | 09:37 |
stekern | why doesn't it? didn't you push that upstream? | 09:38 |
blueCmd | I did, but it was packaged before I did that | 09:38 |
stekern | crystal clear | 09:38 |
stekern | but hey... | 09:38 |
blueCmd | :) | 09:39 |
blueCmd | who would have thought porting Debian would involve a lot of moving parts? | 09:39 |
stekern | http://oompa.chokladfabriken.org/openrisc/debs/ | 09:42 |
stekern | apache built without problems on my machine | 09:42 |
stekern | no hacks, no voodoo, no nothing | 09:43 |
blueCmd | stekern: interesting | 09:44 |
blueCmd | i'll add it for now | 09:44 |
blueCmd | oh | 09:44 |
blueCmd | mind taring? :) | 09:44 |
stekern | blueCmd: http://oompa.chokladfabriken.org/openrisc/debs/apache.tar.gz | 09:51 |
blueCmd | tyy | 09:52 |
stekern | blueCmd: oh, there was a couple of libapache too: http://oompa.chokladfabriken.org/openrisc/debs/libapache.tar.gz | 09:55 |
blueCmd | stekern: you might find this informative: http://openrisc.debian.net/tmp/dep-weights.txt | 09:59 |
blueCmd | it's how many packages depend on that package | 09:59 |
blueCmd | (november 2013, but should be relevant still) | 10:00 |
stekern | why are there so many that have 19554? | 10:01 |
blueCmd | because cycles | 10:02 |
blueCmd | it's called the "debian blob" | 10:02 |
stekern | ah, I understand | 10:02 |
stekern | ntp is now confirmed to work | 10:18 |
blueCmd | nice! | 10:18 |
blueCmd | stekern: did you write the real atomics btw? I could use the .c / .S file as a reference how to implement CMPXCHG and the others | 10:20 |
stekern | I used the musl implementation: https://github.com/skristiansson/musl-or1k/blob/master/arch/or1k/atomic.h | 10:22 |
stekern | some of those could be optimised instead of just using the a_cas implementation | 10:24 |
blueCmd | you should probably consider using the gcc internals there later | 10:24 |
stekern | I don't think that's a good idea, that'd make musl depend on gcc | 10:26 |
stekern | this is what I linked into scummvm: http://756c9d9636fb5b66.paste.se/ | 10:26 |
blueCmd | right, yes that's true | 10:27 |
blueCmd | maybe it's bad to depend on it for glibc as well then | 10:29 |
blueCmd | it will make an llvm port harder | 10:29 |
stekern | heh, I think the glibc people consider a gcc dependency a *good* thing though | 10:30 |
blueCmd | yes, I just googled "llvm glibc" and it appears that it's "one of those" libraries that will probably only work with gcc | 10:31 |
stekern | but IMO, lock-ins are always bad, regardless of the motives | 10:31 |
blueCmd | damn the musl port is small and neat | 10:32 |
stekern | apache2 doesn't want to start: http://pastie.org/9136247 | 10:42 |
blueCmd | stekern: ah cool. please file a bug in or1k-debian about "apache2-mpm-event / apr not supporting Thread Safe Pollset" | 11:15 |
blueCmd | try using apache2-mpm-prefork instead | 11:16 |
stekern | some old bug-reports speak about apache2-mpm-worker | 11:17 |
stekern | how do I use any of those? | 11:17 |
blueCmd | I'm not sure, traditionally you just installed it - but that seems to be depreated | 11:18 |
blueCmd | but try to install apache2-mpm-worker and it should switch | 11:19 |
stekern | heh.. I wondered why it took so long.. but apt-get install apache2-mpm-worker ended in a kernelpanic | 11:46 |
blueCmd | :D interesting! | 11:47 |
blueCmd | maybe in my kernelspace atomics that doesn't do any sanity checking | 11:48 |
stekern | =) | 11:49 |
stekern | well, from a debugging perspective it doesn't make much of a difference | 11:54 |
stekern | blueCmd: re postgresql, I get this: | 12:29 |
stekern | [warn] No PostgreSQL clusters exist; see "man pg_createcluster" ... (warning). | 12:29 |
stekern | apart from that, no explosions | 12:30 |
stekern | mpm-worker doesn't work much better than mpm-event | 12:37 |
stekern | [Thu Jan 01 00:11:50.092438 1970] [mpm_worker:emerg] [pid 9197:tid 1038480496] (38)Function not implemented: Couldn't create pollset in thread; check system or user limits | 12:37 |
GreenHat | I am a student new to this community but they want us to run an application on linux and simulate the hole thing using or1ksim, the application is around 20 MB installed, we put it in the support directory of linux under linux/arch/openrisc/support/initframs/ of course merge the direcotries of our application with the existing one. the problem is: or1ksim cannot load the system and run out of memory, so we want to ask which secti | 21:20 |
GreenHat | anything can help, any suggestions, I came here because there is no or1ksim channel, so I think I can find some developers of this simulator here? | 21:35 |
--- Log closed Sun May 04 00:00:33 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!