<< 01-09-2013 >>

00:22:14BitPuffinAraq you rang?
00:24:21BitPuffinI was away reading
00:24:26BitPuffinI am still reading though
00:24:30BitPuffinbut I am sitting here lol
00:26:02BitPuffinAraq Well I guess you might be sleeping or something
00:27:09BitPuffindom96 seems to be the creepiest operating system on this planet
00:30:01*jd^ joined #nimrod
00:48:00BitPuffinThis paper should sure be useful: http://graphics.berkeley.edu/papers/Parker-RTD-2009-08/Parker-RTD-2009-08.pdf
00:52:20BitPuffinhttp://graphics.berkeley.edu/papers/Parker-RTD-2009-08/index.html easier link if you just want to look at what it is
00:59:47*EXetoC quit (Quit: WeeChat 0.4.1)
01:21:36*q66 quit (Quit: Leaving)
01:31:24BitPuffinbrb sleep
01:54:00*ltbarcly joined #nimrod
01:58:22*ltbarcly quit (Ping timeout: 246 seconds)
02:33:38*jd^ is now known as jd^|away
04:09:10*DAddYE quit (Remote host closed the connection)
04:40:12*DAddYE joined #nimrod
04:55:29*OrionPK quit (Read error: Connection reset by peer)
05:01:10*DAddYE quit (Remote host closed the connection)
05:01:24*DAddYE joined #nimrod
05:15:32*DAddYE quit (Remote host closed the connection)
05:15:39*ltbarcly joined #nimrod
05:16:01*DAddYE joined #nimrod
05:20:01*ltbarcly quit (Ping timeout: 245 seconds)
05:20:26*DAddYE quit (Ping timeout: 256 seconds)
05:35:03*Associat0r quit (Quit: Associat0r)
05:46:29*DAddYE joined #nimrod
05:50:54*ltbarcly__ joined #nimrod
05:51:33*ltbarcly_ quit (Ping timeout: 248 seconds)
06:17:41*DAddYE_ joined #nimrod
06:19:35*DAddYE quit (Ping timeout: 245 seconds)
07:19:30*io2 joined #nimrod
08:39:32NimBotAraq/Nimrod master c5f5c85 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Adds equality comparison for arrays.
08:39:32NimBotAraq/Nimrod master 9590365 Araq [+0 ±1 -0]: Merge pull request #580 from gradha/pr_adds_equality_for_arrays... 2 more lines
09:01:17*zahary quit (Read error: Connection reset by peer)
09:01:29*zahary joined #nimrod
09:32:21*EXetoC joined #nimrod
09:34:41*Kane joined #nimrod
09:34:49*Kane quit (Remote host closed the connection)
10:05:35*jd^|away quit (Quit: Leaving...)
10:10:37*ltbarcly joined #nimrod
10:15:06*ltbarcly quit (Ping timeout: 256 seconds)
10:20:58*ltbarcly joined #nimrod
10:22:28*q66 joined #nimrod
10:25:39*ltbarcly quit (Ping timeout: 260 seconds)
11:33:48*darithorn quit (Ping timeout: 268 seconds)
11:51:18*EXetoC quit (Read error: Operation timed out)
12:10:03*EXetoC joined #nimrod
12:19:22*EXetoC quit (Quit: WeeChat 0.4.1)
13:10:41BitPuffinAraq What was it you pinged me for? :)
13:11:00AraqI feel like implementing -d:barebones for you
13:11:10BitPuffinthat would be fantastic
13:12:03BitPuffinit seems like something that could be useful to some
13:12:17BitPuffinLike not everyone who uses nimrod needs caas
13:13:18BitPuffinnot that it is a huge size difference or anything anyways. But some people are minimalists I guess. So people running slackware who builds everything themselves probably would like to have the option
13:13:23BitPuffinI'd imagine at least
13:13:30BitPuffinPlus it will build on haiku :)
13:13:46Araqthat's the real reason :P
13:13:53BitPuffinYes
13:14:05BitPuffinAnd it is the most important one. Right, riiiiiiiight?
13:14:05AraqNimrod needs to run on Haiku, nobody can live without it
13:14:13BitPuffinExactly
13:14:17BitPuffinI like the way you think
13:14:33BitPuffinmakes me proud to be a nimrodda
13:20:05BitPuffinapparently fmtmsg.h etc is only extensions to posix
13:20:13BitPuffinso I guess haiku is compliant with core
13:21:48BitPuffinAraq But actually. By being able to build barebones it should't be too hard to be able to do the work to make it build non barebones when I get the time to do so
13:22:33BitPuffinfor a nightly this is very stable. 1 day & 16 hour uptime so far without crashing
13:35:10Araqmeh ... this is boring
13:35:17Araqalready works ...
13:39:28BitPuffinhahaha!
13:39:50AraqBitPuffin: can you cross compile yourself?
13:39:58BitPuffinAraq that's the most anti programmer thing I have ever heard
13:40:16BitPuffinAraq not really. Having the csources would be great
13:40:20BitPuffinWell I can
13:40:22Araqgah
13:40:27BitPuffinbut I want to have it running
13:40:34BitPuffinjust to see if there are memory leaks etc
13:41:14BitPuffinAraq you could just zip it and use the site that dom96 used :)
13:41:55Araqyeah wait a sec
13:42:11Araqhaiku is i386, right?
13:42:20BitPuffinmmmmmmmmmmmmmmmmmmmm I believe so
13:42:24Araqor do you use a 64 bit version?
13:42:31BitPuffinnah I use the hybrid
13:42:32BitPuffinwait
13:42:43BitPuffinIt's not 64 bit hybrid
13:42:50BitPuffinI mean gcc2 gcc4 hybrid
13:42:54BitPuffingonna check what architecture it is
13:43:09Araqmeh I'll build it for both
13:44:16Araqcould not load: libzip(|2).so(|.2|.1|.0)
13:44:36Araqgah, thank you dear package managers for making me link dynamically to libzip
13:44:50Araqas everything clearly would be a "security issue"
13:44:59BitPuffin"<PulkoMandy> BitPuffin: we compile for i586, IIRC"
13:45:20BitPuffinlol
13:45:23BitPuffinlinux <3
13:46:00BitPuffinAraq tar would probably work too
13:46:09BitPuffinif you don't want to mess with zip
13:49:25AraqI never use tar and don't plan to do so
13:50:18BitPuffinhah!
13:50:19BitPuffinWhy not?
13:50:41BitPuffinSo you have never run `tar -xvf tarballz.tar.xz` or whatever?
13:50:54*Associat0r joined #nimrod
13:50:54*Associat0r quit (Changing host)
13:50:54*Associat0r joined #nimrod
13:52:17Araqyeah, never did, never will "-xvf" wtf?
13:53:44BitPuffinx extract. v verbose (I think), f file
13:54:07BitPuffinand f takes the a parameter
13:56:17AraqI don't care, 'f' should be the default, I never extract from unix's shitty stream/file abstraction
13:57:19NimBotAraq/Nimrod master 5d12606 Araq [+0 ±8 -0]: fixes #582
13:57:19NimBotAraq/Nimrod master 5ca6cd1 Araq [+0 ±4 -0]: -d:nocaas mode for easier bootstrapping on exotic OSes (Haiku)
13:57:19NimBotAraq/Nimrod master 78418e3 Araq [+0 ±1 -0]: Merge branch 'master' of github.com:Araq/Nimrod
13:57:41BitPuffinwhy should f be default? you don't always use the tar command to extract shit
13:57:42BitPuffinWell
13:57:47BitPuffinI guess I do
13:57:57BitPuffinbut some people use it to archive stuff
13:59:25Araqhttp://nimrod-code.org/download/haiku_build.zip
13:59:44BitPuffinyahoo!
13:59:45BitPuffincheers
13:59:47BitPuffinhope this works
14:04:48BitPuffinAraq woot
14:05:01BitPuffinsrc/1_1/nimrod.c:5:21: fatal error: nimbase.h: No such file or directory
14:05:13Araqforget that file :P
14:05:23BitPuffinI also had to create src myself and move 1_1 and 1_2 in there
14:05:33BitPuffinAraq Tell that to the compiler lol
14:05:48Araq*forgot that file
14:05:52AraqI forgot it
14:06:06BitPuffinaaaahh haha
14:08:22BitPuffinAraq It will probably also need cycle.h no?
14:09:02Araqcycle.h is obsolete and has been for years
14:09:23BitPuffinwhy is it still there then?
14:12:22BitPuffinAraq so should I just grab the nimbase.h from csources or github (would that work?) or what is the plan?
14:14:35Araqgrab it from github
14:25:11*DAddYE_ quit (Read error: Connection reset by peer)
14:25:23BitPuffinAraq src/1_1/nimrod.c:65:1: error: unknown type name 'jmp_buf'
14:25:38*DAddYE joined #nimrod
14:32:44*ltbarcly joined #nimrod
14:35:48BitPuffinAraq I don't get it. I didn't see those errors before
14:37:34*ltbarcly quit (Ping timeout: 268 seconds)
14:38:37AraqBitPuffin: hmm looks like a bug. strange
14:38:57BitPuffinvery strange
14:39:43Araqin fact ... wtf system.c includes windows.h
14:40:07BitPuffinlol
14:40:07Araqlet me try again
14:40:19BitPuffinyeah that's probably best
14:42:29Araqah I see
14:42:30Araqlol
14:42:41AraqI have a src/ directory :P
14:42:57Araqzipped the wrong directory :P
14:43:06BitPuffinhaha
14:43:08*ltbarcly joined #nimrod
14:43:20BitPuffinyeah I was thinking you must have done something wrong when I had to create src myself
14:45:47*OrionPK joined #nimrod
14:46:16AraqBitPuffin: download the zip again
14:47:17BitPuffinso far much better
14:47:28BitPuffinstill hining about fmtmsg.h
14:47:34BitPuffinbut that's not unexpected
14:47:38*ltbarcly quit (Ping timeout: 245 seconds)
14:48:25Araqdom96: why is it now in src/? it's not source code. It's generated code :P
14:49:02BitPuffinand spawn.h yep nothing new
14:49:14BitPuffinnow we should probably be fine
14:49:39BitPuffinosproc.c also uses spawn
14:50:10BitPuffinin fact it uses spawn quite a bit..
14:50:37Araqyep. forgot about that too
14:50:48Araqso ... lets try again ...
14:51:08BitPuffinAraq nothing using spawn and fmtmsg can be included
14:51:20Araqbtw is there a native API for process creation for haiku?
14:51:22BitPuffindon't think anything is using fmtmsg
14:51:27BitPuffinAraq I'd imagine there is
14:51:27dom96Araq: Makes more sense than 'build' imo
14:52:02BitPuffinwhy not just call the dir "c" or "ccode"
14:56:35BitPuffinAraq BRoster::Launch
14:57:25AraqBitPuffin: a C API would be nice ...
14:58:19BitPuffinAraq this is how that looks. I'm gonna hear if there is a C api http://pastebin.com/M7gVntTP
14:59:10BitPuffinAraq I kind of suspect that on Haiku it is best to always have the cpp flag on
15:00:53BitPuffin <pdziepak> BitPuffin: there is POISX API for creating processes and executing programs
15:00:54BitPuffin <pdziepak> i.e. fork() and exec()
15:02:57BitPuffinAraq here is the C API http://pastebin.com/Z21w63f0
15:03:35*enurlyx joined #nimrod
15:04:14BitPuffin<PulkoMandy> load_image is as close as it gets to spawn if you want a C API, but it isn't as flexible
15:08:36Araqnot being "as flexible" is a feature
15:09:46BitPuffinyep
15:09:52BitPuffinkind of like nimrod not having protected
15:09:55BitPuffinthat's a feature
15:15:43AraqBitPuffin: which files includes fmtmsg.h or whatever it's called?
15:16:25BitPuffinAraq I am not entirely sure. The only one that I know of is posix.(c/nim) but probably also some of the caas stuff too
15:18:43Araqall the other stuff exists like nl_types.h?
15:19:17BitPuffinAraq nl_types was found yes. I think everything that isn't posix extension exists
15:19:37Araqok so it's only spawn.h and fmtmsg.h
15:20:05BitPuffinthat's the only things that has errored for me yeah
15:20:14BitPuffinafter that things started to screw up in the linking
15:20:19BitPuffinbut that was caas stuff
15:20:28BitPuffinso I think everything else should work
15:20:30BitPuffinwe will see though
15:22:13BitPuffin <PulkoMandy> that's the goal, but we may have missed some parts
15:22:13BitPuffin <PulkoMandy> we welcome patches if that's the case
15:29:45NimBotAraq/Nimrod master 9b7735d Araq [+0 ±2 -0]: some fixes for Haiku
15:29:54AraqBitPuffin: download the zip again please
15:30:06BitPuffinsure
15:31:42BitPuffinwait gonna reboot really quickly. I messed something up
15:32:35*BitPuffin quit (Remote host closed the connection)
15:34:24*BitPuffin joined #nimrod
15:36:08BitPuffinAraq building no
15:36:11BitPuffinnow
15:37:28BitPuffinSUCCESS :)
15:39:08BitPuffinAraq Next I just bin/nimrod c koch and do ./koch boot -d:release -d:barebones?
15:39:23Araqit's -d:release -d:nocaas
15:39:27BitPuffinah right
15:39:32BitPuffinforgot
15:39:38BitPuffinI saw that earlier in the commit message
15:39:50BitPuffinjust gonna pull first so I have the latest sources
15:40:53BitPuffinAraq How did you decide to handle the whole process thing?
15:41:05Araq-d:useFork
15:41:28BitPuffincool
15:41:31Araqlatest config should do that for you on Haiku
15:41:32BitPuffinthen I'll set that too
15:41:46Araqno need, I hope
15:41:56BitPuffinno need? :o
15:42:04Araqlatest config should do that for you on Haiku
15:42:08BitPuffinoooh
15:42:44BitPuffinmaybe I'll finish linagl while I am in haiku then :)
15:42:48BitPuffinIf this works as it should
15:43:05Araqbbl
15:43:55BitPuffinBank Bruxelles Lambert?
15:49:06BitPuffinError: unhandled exception: Invalid Argument [EOS]
15:49:31BitPuffinI think that might be the exact same thing it told me when I tried to bootstrap manually in linux
15:57:00BitPuffinhere is the full output http://pastebin.com/58HuWcU5
15:59:46BitPuffinAraq: thoughts?
16:05:44BitPuffinah
16:05:46BitPuffinbe back later
16:18:26AraqBitPuffin: looks like fun, what was it the last time?
16:18:52BitPuffinAraq You masochist. What do you mean last time? :o
16:20:10Araqwell do: bin/nimrod c --verbosity:3 koch
16:20:15Araqand paste the output
16:21:05BitPuffinAraq do you only need the line above the error or all of them?
16:21:21Araqall of them
16:21:45BitPuffinhttp://pastebin.com/HU87PBQ8
16:21:52BitPuffin./lib/system.nim(-7, 0) Hint: 2 [Processing]
16:21:56BitPuffina bit suspicious
16:22:04Araqindeed
16:22:17Araqwhat's your gcc version?
16:22:37BitPuffingcc version 4.7.3 (GCC)
16:22:40Araqcool
16:22:51BitPuffinextremely cool
16:22:57Araqwell edit lib/system.nim:50
16:23:03Araqto {.push hints: off.}
16:23:12Araqand d
16:23:15Araqo 3
16:23:25Araqgah ...
16:23:28Araqdo it again
16:23:55Araqer
16:24:03BitPuffinit is push hints off already
16:24:04Araqto {.push hints: on.} obviously
16:24:07BitPuffindon't you mean on
16:24:11BitPuffinlol
16:24:12BitPuffin:)
16:25:05BitPuffinhttp://pastebin.com/vE6wtdYc Araq
16:25:22BitPuffinI wonder what possibly could be on line -7
16:25:32BitPuffintakes us all back to super mario world -1
16:27:27Araqlol
16:27:32Araqit says -7 here too
16:27:38Araqso it's not haiku specific
16:27:57BitPuffinthen i guess it can't be the reason?
16:28:03BitPuffinsounds like a scary bug though lol
16:28:39Araqnot really but it's interesting
16:29:04BitPuffinsure is
16:36:57Araqah found it
16:37:17BitPuffinAraq where?
16:38:00BitPuffinlike I said the funny thing is I have experience the exact same error when trying to bootsrap manually in linux I believe
16:38:00Araqparser.nim:1414 hasn't been updated; it's not your problem though
16:38:21BitPuffinoh you mean for -7?
16:38:26Araqyeah
16:38:39BitPuffinah
16:41:42Araqwell it's all annoying to debug when you have no working nimrod
16:42:12BitPuffinI guess but
16:42:17Araqyou might comment out the oserror stuff in os.c
16:42:27Araqor set a gdb breakpoint
16:42:32BitPuffinisn't the point of debugging it to get a working nimrod? haha
16:42:37Araqand see where this exception comes from
16:44:14BitPuffinAraq have you tested bootstrapping with Csource in a while? Because I am almost sure I have seen this outside of haiku
16:44:46BitPuffinyou know the time you got grumy at me because I couldn't even bootstrap
16:45:09AraqI'm never grumpy
16:45:57Araqour tester infrastructure builds from the C sources I think
16:45:59BitPuffincondescending?
16:46:31BitPuffinonly comment out oserror or also comment out oserrormsg?
16:46:45BitPuffinand oslasterror
16:47:00AraqI don't know. Find the cause of this exception.
16:47:05AraqUse your brain.
16:47:15BitPuffinbut I don't have one :(
16:47:34Araqdo you know how to operate GDB?
16:47:45BitPuffinonly veeeery basic
16:47:58Araqwell that should be enough
16:48:07BitPuffinno I mean veeeery basic
16:48:11BitPuffinlike run
16:48:12BitPuffintrace
16:48:13BitPuffindone
16:48:14BitPuffinlol
16:48:15Araqchange the build script so that it doesn't do -O3 bug -g instead
16:48:20Araq*but -g
16:48:35Araqthen run: gdb bin/nimrod
16:48:38BitPuffinwith nothing commented out?
16:48:44Araqyeah
16:50:34BitPuffinAraq don't you mean gdb bin/nimrod koch? because bin/nimrod works fine
16:50:39BitPuffinit prints the shit it should print
16:51:11Araqyeah but it doesn't compile koch, right?
16:51:58BitPuffinno? But to find the error don't I have to do "gdb bin/nimrod c koch" instead of "gdb bin/nimrod"
16:52:19Araqlisten to me
16:52:21Araqdo
16:52:26Araqgdb bin/nimrod
16:52:39BitPuffinI already hav
16:52:43BitPuffinI am in gdb
16:52:48Araqand then: br os.c:892
16:53:13Araqrun c koch
16:53:16Araqbt
16:53:21BitPuffinNo line 892 in file "src/1_1/os.c".
16:54:02Araqwhy not?
16:54:12BitPuffinI am gonna look in os.c
16:54:35BitPuffinthere is such a line though
16:54:49Araqcompile nimrod with debug info
16:54:55BitPuffin"This GDB was configured as "i586-pc-haiku"..." confirmed i guess
16:54:59Araqas I told you
16:55:03BitPuffinAraq I did
16:55:19BitPuffingcc -w -g -fno-strict-aliasing -Isrc -c src/1_1/passaux.c -o src/1_1/passaux.o
16:55:24BitPuffinexample line from the compilation
16:55:45BitPuffinnotice the -g
16:57:14Araqwell I don't know then
16:57:54BitPuffinAraq could it be because of the path or something?
16:58:09Araqhmm perhaps
16:58:13Araqso try:
16:58:17BitPuffinmaybe if I instead copy nimrod to the root of the build
16:58:20BitPuffinin csources
16:58:21Araqbreak src/1_1/os.c
16:58:28Araq:892
16:58:55BitPuffinin gdb?
16:59:05Araqyes?
16:59:33BitPuffinAraq from Nimrod root? or from csources?
17:00:08Araquse
17:00:09Araqyour
17:00:11Araqbrain
17:00:17Araqtry
17:00:19Araqperhaps
17:00:21Araqboth
17:00:24BitPuffinwell
17:00:26BitPuffinI already did
17:00:50BitPuffinand I get the same thing
17:01:15Araqwell ask in haiku then how to get a working gdb
17:01:40BitPuffinsure
17:05:59*g0d joined #nimrod
17:09:17BitPuffinhey g0d. How's jesus?
17:09:30BitPuffinAraq not really getting any response
17:09:57BitPuffinAraq I am gonna reboot in to linux though and see if I can reproduce
17:10:01*BitPuffin quit (Quit: Vision[0.9.7-H-280704]: i've been blurred!)
17:11:30*BitPuffin joined #nimrod
17:16:23*circ-user-92rxu joined #nimrod
17:18:05BitPuffinno, worked just fine in linux
17:18:07BitPuffindamn it
17:18:19*BitPuffin quit (Quit: WeeChat 0.4.1)
17:20:52*BitPuffin joined #nimrod
17:21:01Araqhi g0d welcome
17:26:18g0dhi araq, what this channel is about?
17:26:26BitPuffinnimrod
17:26:58BitPuffing0d there are links in the topic if you want to do some further reading :)
17:27:22BitPuffinbut it is basically a programming language
17:30:42BitPuffinAraq adding a berakpoint to a line 2 works..
17:30:49BitPuffin(just tried a low number as an example)
17:31:05BitPuffinAraq any chance the line is ifdefd out?
17:31:54Araqthere is no #if(def) in this file
17:32:03BitPuffinno not from what I can see either
17:34:48BitPuffin<PulkoMandy> do you compile with -O0 ? else the code may just be stripped
17:35:39Araqit can't be stripped because it is not dead code
17:35:47Araqbut sure try with -O0
17:36:37BitPuffinno didn't help
17:41:53BitPuffin (gdb) break os.c:oserror_92005
17:41:54BitPuffin No source file named osc.
17:41:54BitPuffin Make breakpoint pending on future shared library load? (y or [n])
17:41:59BitPuffinlol
17:43:39*adx left #nimrod (#nimrod)
17:44:00BitPuffinAraq Breakpoint 1 at 0x4c920: file src/1_1/os.c, line 289.
17:44:02BitPuffinuhm
17:44:02BitPuffinokay
17:44:15BitPuffin(break oserror_92005)
17:47:57BitPuffin <PulkoMandy> our gdb port expects the gcc2 debug information, it's confused about the way gcc4 sets the line numbers
17:47:58BitPuffin <PulkoMandy> use Debugger, which gets it right
17:48:12*Sergio965 joined #nimrod
17:51:18BitPuffinAraq I think I found the error
17:51:31BitPuffinError: cannot open '/boot/system/lib/system.nim'
17:52:22Araqno idea, the pastebin told us it's already processing system.nim
17:52:38Araqwhat's the backtrace?
17:53:11BitPuffinnot entirely sure. Still trying to figure out how to use this debugger
17:53:32BitPuffinAraq Just running nimrod works though
17:58:05BitPuffinAraq yeah it never reaches the breakpoint just by doing nimrod
17:58:10BitPuffingotta compile koch
17:58:28Araqoh really? how surprising ... :P
17:58:42BitPuffinwell you told be earlier to just do gdb bin/nimrod
17:59:43Araqno I said:
17:59:47Araqgdb bin/nimrod
17:59:50Araqrun c koch
18:00:03BitPuffinoh I see
18:00:43BitPuffinerrorcode has the value -2147483643 or something
18:01:27BitPuffindoesn't seem right >.<
18:01:29BitPuffinbut brb
18:01:30BitPuffingonna drive
18:13:34*circ-user-92rxu quit (Ping timeout: 256 seconds)
18:44:51BitPuffinback
18:45:09BitPuffinAraq that doesn't seem like a reasonable error code does it?
19:19:53*g0d quit (Quit: cya.)
19:24:47AraqBitPuffin: I don't know
19:25:05BitPuffinAraq should I ask Haiku?
19:25:18Araqask them how errno is declared
19:25:43BitPuffinAraq errno in posix?
19:25:46BitPuffinI can look in the file
19:26:16BitPuffin#define ENOERR 0
19:26:21BitPuffin#define EOK ENOERR
19:27:33BitPuffinin posix/errno.h
19:29:13Araqso what's errno's *type*?
19:36:02Araqand what is the stack trace?
19:36:14*circ-user-92rxu joined #nimrod
19:36:39*circ-user-92rxu quit (Remote host closed the connection)
19:42:26BitPuffinAraq the function?
19:42:32BitPuffinAraq That would be int
19:44:15BitPuffin Hint: system [Processing]
19:44:16BitPuffin Error: cannot open '/boot/lib/system.nim'
19:45:05BitPuffinI don't get this debugger at all xD
19:45:29Araqdoes setting the breakpoint work finally?
19:45:45Araqthen type 'bt' when it's in it
19:45:54Araqand pastebin the stack strace
19:46:31BitPuffinAraq I am not using gdb I am using Haikus debugger now
19:49:43Araqok. give me a stack trace anyway
19:50:51BitPuffinSure I am just gonna attemt to get one
19:58:23BitPuffinAraq should I just skip the breakpoint and get a bt from gdb?
19:59:18BitPuffinAraq No stackq
20:00:05Araqa stack trace is not some shiny optional nice to have feature, you know
20:00:29Araqif your debugger doesn't support stack traces, it is no debugger at all
20:00:43*Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:01:03BitPuffinAraq that was from gdb
20:01:16BitPuffinThe Haiku debugger supports stack trace
20:01:22BitPuffinbacktrace
20:01:23BitPuffinor whatever
20:01:42BitPuffinBut when I run the program in that I get the whole error about that it couldn't find system
20:03:35*Sergio965 joined #nimrod
20:08:30Araqenurlyx: thanks for the bug report
20:16:49BitPuffinAraq the thing is that the program exits normally
20:17:29Araqthat's why you should do the breakpoint stuff and when the program is at the breakpoint inspect the stack trace
20:17:47BitPuffinhttp://pastebin.com/FeMKG0xA
20:17:51BitPuffinah
20:17:58BitPuffinI think I might be able to do that
20:21:55BitPuffinAraq http://hastebin.com/ravawuyode
20:22:32BitPuffinAraq Is that useful?
20:24:15Araqindeed it is
20:25:03*BitPuffin is happy he did something right
20:26:26BitPuffinAraq too bad the line "coordinates" aren't very useful since it expects gcc2 symbols
20:27:10Araqok got it
20:27:23Araq"If resolved_name is a null pointer, the behavior of realpath() is implementation-defined."
20:27:30Araqhttp://pubs.opengroup.org/onlinepubs/000095399/functions/realpath.html
20:27:35Araqthat explains a lot :P
20:28:46BitPuffinAraq is that why the error code = wtf?
20:28:59Araqwho says that it is?
20:29:29Araq"Invalid Argument" makes perfect sense
20:29:48Araqwe shouldn't pass a null pointer here :P
20:30:01BitPuffinis nimrod passing a null pointer?
20:30:16Araqlook at os.nim:684
20:30:18BitPuffinI just mean that an error code of -834927492749291083108 is a bit funny
20:31:09BitPuffinAraq where is it located in the project?
20:31:18*Mat2 joined #nimrod
20:31:19Araqlib/pure/os.nim
20:31:26BitPuffinthank you
20:31:27Mat2hi @ all
20:31:39Araqhi Mat2
20:31:44Mat2hi Araq
20:32:20*EXetoC joined #nimrod
20:33:26BitPuffinAraq why does that turn out to be a null pointer?
20:33:32*Mat2 is now known as Mat2-coding
20:33:38Araqbecause 'nil' is NULL
20:34:02BitPuffinAraq I know but where is nil coming from?
20:34:33Araqif you cannot read my first answer why should I think you can read a second one?
20:34:50BitPuffinvar L = GetFullPathNameA(filename, bufsize, result, unused)
20:35:03BitPuffinoh
20:35:04BitPuffinwait
20:35:10BitPuffinthe line number thing was tricking me!
20:35:19BitPuffinyeah
20:35:22BitPuffinI see nil right there
20:35:52BitPuffinyeah passing nil is probably not a good idea xD
20:39:36BitPuffinAraq By the way why isn't nil called null in nimrod? Is nil an object?
20:41:50Araqbtw why is it called NULL in C? is this some piece of shit designed by people ignorant about Algol?
20:43:19EXetoCnil is similar, and it's shorter. good enough for me
20:46:23*Araq just realized Algol uses "proc" instead of "procedure" :-)
20:46:42BitPuffinno it looks like algol uses procedure
20:46:46BitPuffinat least in this wikipedia lol
20:46:55BitPuffinoh
20:46:58BitPuffindepends on the version I think
20:47:09Araqyeah
20:47:13BitPuffinalgol 68 uses proc
20:47:18BitPuffinalgol 60 procedure
20:47:20Mat2-codingAlgol 60 uses procedure as identifer, Algol 68 proc
20:47:29BitPuffinMat2-coding shh :)
20:47:44Mat2-codinghttp://jmvdveer.home.xs4all.nl/algol68g.pdf
20:50:00*Araq thinks Nimrod will "proc" make stylish again :P
20:50:09BitPuffinAraq are you patching expandFilename :D?
20:50:39BitPuffin <PulkoMandy> that's what I'm saying, the code at 684 only works on linux
20:50:39BitPuffin <PulkoMandy> so we should execute 680 instead on Haiku
20:50:55Araqno I'm too busy with rumbling
20:51:00BitPuffinAraq apparently you can add haiku to the bsd and osx tree
20:51:08BitPuffinerf
20:51:09BitPuffintree?
20:51:11BitPuffinthe case thingy
20:51:13BitPuffinelif
20:51:13BitPuffinlol
20:51:29BitPuffinelif defined(macosx) or defined(bsd) or defined(haiku):
20:51:42BitPuffinand then according to PulkoMandy it should work out
20:53:20NimBotAraq/Nimrod master f43c44f Araq [+0 ±1 -0]: bugfix: line information for comments
20:53:20NimBotAraq/Nimrod master 5eb28db Araq [+0 ±1 -0]: use realpath in a posix compliant way
20:53:37AraqBitPuffin: download the zip again please
20:53:53BitPuffinAraq did you add haiku to the bsd and macosx clause?
20:54:05AraqI did something better instead
20:54:57BitPuffinAraq ah you just skipped over the whole elif stuff and just had a special case for windows?
20:57:27Araqyup
20:57:32BitPuffingood on you
20:57:43AraqI also improved its efficiency
20:57:45BitPuffinYeah I like the name proc
20:57:49BitPuffinit does?
20:58:01BitPuffinfunction doesn't make sense
20:58:05BitPuffinonly in haskell
20:58:10BitPuffinand fp langs
20:58:49AraqMat2-coding: ever used Algol?
20:59:20BitPuffin /boot/develop/abi/x86/gcc4/tools/gcc-4.7.3-haiku-130513/lib/gcc/i586-pc-haiku/4.7.3/../../../../i586-pc-haiku/bin/ld: cannot find -ldl
20:59:22BitPuffinhm
20:59:34BitPuffinThey most likely have -ldl somewhere
21:00:04AraqBitPuffin: you can get rid of -ldl in your nimrod.cfg I think
21:00:58BitPuffinAraq in config?
21:01:11Mat2-codingAraq: no, but I know the syntax quite well (it's basical a formal notation for algorithms)
21:02:09BitPuffinkoch compiled!
21:03:07Araqwe really need a filter for niminst
21:03:20BitPuffinnow I am doing koch boot -d:release -d:nocaas
21:03:22Araqit doesn't make sense to compile every os+cpu combination
21:03:24BitPuffinlet's hope this works
21:03:31BitPuffinif so
21:03:42BitPuffinnoooo
21:03:56BitPuffin /boot/develop/abi/x86/gcc4/tools/gcc-4.7.3-haiku-130513/lib/gcc/i586-pc-haiku/4.7.3/../../../../i586-pc-haiku/bin/ld: cannot find -lm
21:06:07BitPuffinwtf is libm ever
21:06:09BitPuffineven
21:06:15BitPuffinsounds like an objective C thing
21:06:20comexno
21:06:26comexit's C math
21:06:27BitPuffinah
21:06:28BitPuffinyeah
21:06:30BitPuffinjust googled
21:07:01AraqBitPuffin: math.nim, line 21
21:07:28Araqmake it dependent on "when defined(posix) and not defined(haiku)"
21:08:43BitPuffinahah
21:08:59BitPuffinnow I got the error that we got before (because I still have the expandFilepath bug)
21:09:29Araqdoes anybody still use macosx on power pc?
21:09:40BitPuffinnot from what I know
21:09:56AraqI'm sure somebody will report a bug if I leave it out
21:10:12Trixar_zaOh hey BitPuffin and Araq
21:10:18Araqhi Trixar_za
21:10:24Trixar_zaBitPuffin: Haiku was pretty nice
21:10:42BitPuffinTrixar_za Right?
21:10:51BitPuffinTrixar_za We have pretty much successfully ported nimrod too haha
21:11:02Trixar_zaNice :P
21:11:07BitPuffinhopefully at least
21:11:17BitPuffinbut it seems like that is the case
21:11:40BitPuffinjust gotta fetch the latest code >.<
21:11:50BitPuffinI have compiled it with the C source
21:11:56BitPuffinnow I am compiling the nimrod code
21:12:01BitPuffinwith the nimrod compiler
21:12:47BitPuffinAraq will haiku be added to the csources repo in the future? That wold be cool
21:13:08BitPuffinAraq because if I update haiku it would be nice to know that I can re-bootstrap from scratch
21:13:23AraqBitPuffin: working on it
21:13:31BitPuffinoh nice
21:14:02BitPuffinguess the haiku_build.zip isn't going anywhere anyways
21:15:46Trixar_zaBtw BitPuffin, is there plans for them to port over WINE? I just had an interesting week which involved a game you can't play on Windows XP even in compatibility mode, but which supposably works with Windows 98 SE. Long story short, it doesn't and locks the whole OS. The game however runs perfectly in WINE.
21:16:24Trixar_zaweekend* locks up*
21:16:48BitPuffinTrixar_za no idea if this works but http://haikuware.com/directory/view-details/emulators/computer-systems/bewine
21:18:20BitPuffinback from 2000 lol
21:18:41Trixar_zaYeah, I'm not sure that will still work :P
21:19:43BitPuffinTrixar_za there is another repo that hasn't been updated since 2010
21:21:43Trixar_zaOh and to my surprise, you do get a usb drive driver for Windows 98 SE, but there are no free ntfs driver around - so I couldn't use my external with it
21:24:08BitPuffinTrixar_za if you have a game that runs on dosbox though you should be able to have tons of fun :P
21:24:19Trixar_zalol
21:24:32Trixar_zaI've run Windows 3.11 in DosBox
21:24:45*enurlyx quit (Quit: Verlassend)
21:25:05Trixar_zaIt's one way to play old 16bit Windows games on Windows 7/8 or a 64bit Windows
21:25:29BitPuffinhttps://gitorious.org/wine-haiku/wine-haiku/commits/master
21:25:31BitPuffinmaybe that works
21:25:38Mat2-codingTrixar_za: Do you search for a Windows specific NTFS driver (< Win ME) or does it a DOS based one ?
21:26:04*darithorn joined #nimrod
21:26:33Trixar_zaSpesific driver that would allow Win98SE to use NTFS drives
21:27:10Trixar_zaSo far I only know about two, but both are commercial and the one company got bought out by MicroSoft before being shut down
21:29:59Mat2-codingYou can use a DOS driver for file-handling. There should exist a freeware driver which would also work with FreeDOS
21:33:02Trixar_zaThere is and you can make a boot disk/CD with it
21:38:36BitPuffinAraq apparently the posix spec is a bit different now http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html
21:38:44BitPuffinbut still practically the same
21:39:54BitPuffinor actually
21:39:54*DAddYE quit (Read error: Connection reset by peer)
21:39:56BitPuffinreversed?
21:40:01*DAddYE_ joined #nimrod
21:40:35BitPuffin"If resolved_name is a null pointer, the generated pathname shall be stored as a null-terminated string in a buffer allocated as if by a call to malloc()."
21:50:00BitPuffinAraq Compilation was a success :)
22:02:35BitPuffinwell koch install /boot/common was pretty useless
22:02:49BitPuffinonly created a nimrod directory in the folder
22:10:11*DAddYE_ quit (Remote host closed the connection)
22:11:10BitPuffinAraq it seems to be working awesomely
22:11:14BitPuffinecho worked xD
22:11:54Mat2-codingciao
22:12:04*Mat2-coding quit (Quit: Verlassend)
22:58:16BitPuffinAraq adding /boot/home/src/Nimrod/bin to path isn't good enoug :(
22:59:33BitPuffinoh
22:59:38BitPuffinalso had to add the not bin
22:59:41BitPuffinnow it works!
23:11:12*DAddYE joined #nimrod
23:17:30*DAddYE quit (Ping timeout: 245 seconds)
23:28:12BitPuffinanyone willing to send a libpng 1.4 to me?
23:29:04BitPuffinuse pastelink.me or something
23:41:58*Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:47:46BitPuffinwupp
23:47:49BitPuffinwrong channel!
23:50:52*OrionPK quit (Quit: Leaving)
23:52:44*io2 quit ()