--- Log opened Sat Dec 06 00:00:59 2014 | ||
poke53281 | stekern: sorry, was away for four hours | 02:45 |
---|---|---|
poke53281 | http://pastie.org/9763660 | 02:46 |
poke53281 | Nothing special | 02:46 |
poke53281 | But not tested. Especially I don't know if the input works. | 03:59 |
stekern | poke53281: thanks, I took your packages for the time being | 06:37 |
poke53281 | I didn't compile it for X | 06:52 |
stekern | no, problem, I'll need to fix my input hack for the sockit before I can properly use X anyway | 06:53 |
stekern | it crashes it 75% of the time | 06:53 |
stekern | last time I tested something in X, I used x11-vnc | 06:53 |
stekern | it worked fairly well | 06:54 |
stekern | poke53281: I didn't have any problems compiling it. did you remember to update the config.* files? | 08:47 |
stekern | "Could not initialize SDL: No available video device!" | 08:49 |
stekern | yeah, seems that framebuffer isn't supported anymore | 08:58 |
stekern | ...and it crashes when I try to use SDL1 | 09:01 |
poke53281 | you mean scummvm? which config.* files? | 18:37 |
poke53281 | I know that the package SDL.tar.bz2 is compiled with hard-float. I don't think this matter and I removed the flag. But the version is still compiled with this flag. | 18:46 |
poke53281 | SDL2 is compiled without this flag. | 18:47 |
stekern | I mean config.sub and config.guess | 19:10 |
poke53281 | this is in the function $(call extractpatch,$@,$($@_VERSION)) | 19:11 |
poke53281 | and the postlib function executes the following: | 19:12 |
poke53281 | find $(SYSROOT)/usr/lib/ -name "*.la" -exec sed -i~ -e "s;libdir='/usr;libdir='$(SYSROOT)/usr;g" {} \; | 19:12 |
poke53281 | find $(SYSROOT)/usr/lib/ -name "*.la" -exec sed -i~ -e "s;dependency_libs=' /usr;dependency_libs=' $(SYSROOT)/usr;g" {} \; | 19:12 |
poke53281 | find $(SYSROOT)/usr/lib/ -name "*.la" -exec sed -i~ -e "s; /usr; $(SYSROOT)/usr;g" {} \; | 19:12 |
stekern | poke53281: I'm speaking about scummvm | 20:00 |
stekern | you got an undefined reference to main, which suggest that configure couldn't figure out what backend to pick (linux => posix) | 20:01 |
stekern | I think the crash I'm seeing is some bug in my system | 20:18 |
stekern | either in linux or the soc | 20:19 |
poke53281 | Hmm, so what is the correct patch for the config file? | 20:48 |
stekern | https://github.com/scummvm/scummvm/commit/d8af639dfcbdae3c99f72c4c4ec4f07410d5915c | 20:49 |
stekern | I provided a pull-request for an update of them, but I screwed up the permissions on the files, so he committed his own instead | 20:49 |
poke53281 | thanks it compiles | 21:08 |
poke53281 | 1.8.0git works with SDL 1.0 | 21:11 |
poke53281 | guybrush still wants to be a pirate | 21:12 |
stekern | ok, probably my setup that is borken then... | 21:12 |
stekern | I get something messing up the stack | 21:13 |
stekern | and adding debug printfs makes it go away | 21:13 |
poke53281 | I use not your repo right now. | 21:13 |
stekern | can you tar up your build dir and give me? | 21:13 |
poke53281 | yes | 21:14 |
poke53281 | jor1k.com/packages/ | 21:24 |
poke53281 | should be this one | 21:24 |
stekern | yeah, that doesn't crash on my setup neither | 21:26 |
stekern | but I didn't build my the same way as you | 21:27 |
stekern | s/my/mine | 21:27 |
poke53281 | cd src/$@; CFLAGS="-O2" CXXFLAGS="-O2" ./configure $(CONFIG_HOST) \ | 21:29 |
poke53281 | --disable-all-engines \ | 21:29 |
poke53281 | --enable-engine-static=scumm \ | 21:29 |
poke53281 | --with-sdl-prefix=$(SYSROOT)/usr \ | 21:29 |
poke53281 | --enable-verbose-build \ | 21:29 |
poke53281 | --disable-hq-scalers \ | 21:29 |
poke53281 | --disable-translation \ | 21:29 |
poke53281 | --disable-bink \ | 21:29 |
poke53281 | --disable-debug \ | 21:29 |
poke53281 | --enable-release \ | 21:29 |
poke53281 | --disable-vorbis \ | 21:29 |
poke53281 | --disable-opengl \ | 21:29 |
stekern | mmm, but it | 21:30 |
stekern | 's not a bug in scummvm anyway, so the fact that it crashes is due to something else... | 21:31 |
poke53281 | I updated SDL too, without hard-float | 21:34 |
poke53281 | http://jor1k.com/jor1k/ | 21:37 |
poke53281 | Just in case you want to test something | 21:37 |
poke53281 | maybe static libgcc problem? | 21:43 |
stekern | no, it's not a miscompile problem or something like that (at least I don't think so) | 21:44 |
stekern | it's a variable on the stack that suddenly has the wrong value | 21:45 |
stekern | and adding a debug printf in that function makes it go away | 21:46 |
poke53281 | a Heisenbug | 21:46 |
stekern | and I checked, the register assignments stayed intact (earlier I've had bugs like this, where a printf would change the registers the variables where stored in) | 21:47 |
stekern | I should merge in my old framebuffer patches to or1k-sim and see if I can reproduce in that | 21:48 |
stekern | hmmm, it crashes when I use your flags as well... | 22:15 |
poke53281 | but you should get almost the same binaries? | 22:16 |
poke53281 | gcc version 4.9.1 (GCC) | 22:17 |
stekern | I'm still on .1 | 22:21 |
stekern | .0 | 22:21 |
stekern | oh, I forgot the CFLAGS and CXXFLAGS, now it doesn't crash... | 22:22 |
stekern | but I had those earlier | 22:22 |
stekern | and it did crash then... | 22:22 |
stekern | so it's probably just a coincident | 22:23 |
poke53281 | Should I try some of your binaries? | 22:24 |
poke53281 | Well, you can do it yourself of course. Thanks to all such small icons under the terminal. | 22:24 |
stekern | how large files can I upload? | 22:24 |
stekern | when I enable the default engines, the resulting binary is ~30MB | 22:24 |
poke53281 | Until the webbrowser crashes or until you are out of memory. | 22:25 |
poke53281 | 1-2GB I guess | 22:25 |
poke53281 | 30MB is no problem | 22:25 |
stekern | ok, great | 22:25 |
poke53281 | you can strip it before. | 22:25 |
stekern | OT, I've just realised that I had missed the broken sword series of games in the mid 90's | 22:26 |
poke53281 | OF course if you work all the time with a mobile device and with Android or iOS with only 256MB RAM it won't work. | 22:26 |
stekern | I'm making up for that now, played through the the first one | 22:27 |
poke53281 | never played broken sword | 22:27 |
poke53281 | IT is good? | 22:28 |
stekern | very | 22:28 |
stekern | http://www.gog.com/game/broken_sword_directors_cut | 22:28 |
stekern | also discovered gog.com ;) | 22:28 |
poke53281 | Looks good. Might we worth a try | 22:31 |
poke53281 | Ahh sorry, stekern. The browser is fine with 30MB, but not the emulator. Wait one second | 22:32 |
stekern | the story is great, puzzles makes sense, the only downside is that you can die | 22:32 |
stekern | but not in very many places | 22:32 |
poke53281 | http://jor1k.com/jor1k/ | 22:32 |
poke53281 | now you it supports 64MB. | 22:33 |
poke53281 | An adventure where you can die. Strange. | 22:33 |
poke53281 | Ok, I will take a look | 22:33 |
stekern | heh... wtf, now gcc iced on me when I compiled it | 22:33 |
poke53281 | Do you play the Director Cuts? | 22:35 |
poke53281 | gcc iced ... you die in an adventure. I am worried about your computer and your universe. Might be unstable. | 22:36 |
stekern | no, I played the original (it's included in the gog.com version) | 22:36 |
poke53281 | Did you ever play "The_Longest_Journey"? | 22:51 |
stekern | no | 22:54 |
poke53281 | According to my news site, there will be a remake of "Day of Tentacle" | 22:54 |
stekern | yeah, I saw that too | 22:55 |
stekern | bah... now it doesn't crash anymore... | 22:59 |
poke53281 | The Longest Journey has excellent critics, but has a very long and exhausting first part. | 23:07 |
poke53281 | I never played it through, but it seems to be epic. | 23:08 |
poke53281 | So I started and stopped after the first two hours because it didn't catch me. | 23:08 |
poke53281 | But I guess it has potential | 23:08 |
stekern | it looked like 3d? | 23:14 |
stekern | one nice thing about SDL2 is the _FULLSCREEN_DESKTOP mode | 23:18 |
stekern | where it upscales to the desktop resolution instead of changing it | 23:18 |
stekern | modes < 1920x1080 looks like crap on my cheap ass monitor | 23:20 |
poke53281 | The Last Journey is not 3D | 23:30 |
stekern | *longest | 23:39 |
stekern | ? | 23:39 |
stekern | looked like it from this: http://en.wikipedia.org/wiki/The_Longest_Journey#mediaviewer/File:Longest_Journey_screenshot.png | 23:39 |
--- Log closed Sun Dec 07 00:00:00 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!