Switch to DuckDuckGo Search
   May 3, 2017  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

bottom
[00:04:55] *** meoblast001 <meoblast001!~meoblast@2a02:2450:10d1:357:fe11:aac:a46e:c9ad> has quit IRC (Quit: Leaving)
[00:11:31] *** Unimatrix325 <Unimatrix325!~Unimatrix@router-kraduha-nat-l.pilsfree.net> has quit IRC (Ping timeout: 268 seconds)
[00:12:13] *** mixile <mixile!~aumille@45.56.149.137> has joined #lwjgl
[00:55:35] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-mouzyoaqygufwhkj> has quit IRC (Quit: Connection closed for inactivity)
[01:22:29] *** mixile <mixile!~aumille@45.56.149.137> has quit IRC (Quit: mixile)
[01:53:03] *** mixile <mixile!~aumille@45.56.149.137> has joined #lwjgl
[02:01:20] *** FrancoGP <FrancoGP!~quassel@9-20-231-201.fibertel.com.ar> has joined #lwjgl
[02:01:29] *** FrancoGP <FrancoGP!~quassel@9-20-231-201.fibertel.com.ar> has quit IRC (Remote host closed the connection)
[04:51:02] *** mixile <mixile!~aumille@45.56.149.137> has quit IRC (Quit: mixile)
[04:51:28] *** mixile <mixile!~aumille@45.56.149.137> has joined #lwjgl
[05:10:21] *** lwjglbot <lwjglbot!~lwjglbot@108.61.103.42> has joined #lwjgl
[06:57:58] <mepholic> ra4king: i see what happened
[06:58:04] <mepholic> i think I didn't read!
[06:58:16] <ra4king> PEBCAK
[06:58:18] <mepholic> I believe I ran this
[06:58:23] <mepholic> on the 3.1.1 checkout
[06:58:26] <mepholic> ant init-generated (optional but highly recommended if you work on bindings)
[06:58:46] <ra4king> how did that break things?
[06:58:46] <mepholic>     [input] The modules/core/src/generated directory contents will be replaced with a fresh clone of the lwjgl3-generated repository. Continue? (y, [n])
[06:58:52] <mepholic> possibly?
[06:59:11] <ra4king> :O
[06:59:13] <ra4king> bingo
[06:59:31] <ra4king> the master repo has breaking changes as we saw
[06:59:49] <ra4king> your src/main contents were still stuck at 3.1.1
[06:59:55] <mepholic> yuuuuuup
[06:59:59] <mepholic> :<
[07:00:04] <ra4king> report this on the forums :)
[07:00:08] <ra4king> it shouldn't ask for that
[07:00:20] <ra4king> or if it does, it should be part of the 3.1.1 release
[07:00:27] <mepholic> or if you're on a tagged branch
[07:00:27] <ra4king> or even 3.1.X
[07:00:31] <mepholic> it should see that
[07:00:33] <mepholic> and calm down
[07:00:43] <ra4king> ?
[07:00:53] <mepholic> i checked out the tagged release
[07:01:08] <mepholic> to build
[07:01:08] <ra4king> oh it should just not ask for updates?
[07:01:16] <mepholic> yeah
[07:01:16] <ra4king> well I'm thinking this is for future extensions that are released
[07:01:43] <ra4king> GL and 3rd party extensions are generally continually released
[07:02:27] <mepholic> also
[07:03:51] <mepholic> I talked to the musl guys about this one
[07:03:54] <mepholic> https://github.com/LWJGL/lwjgl3/blob/master/modules/core/src/main/c/system/linux/wrap_memcpy.c
[07:04:15] <mepholic> the recommendation I got was to wrap it with an #ifdef __GLIBC__
[07:04:17] <ra4king> what did they say
[07:04:36] <ra4king> so there's no side effects from just not having that line on MUSL?
[07:04:51] <mepholic> as it's supposedly just a hack for OLD glibc versions
[07:04:54] <ra4king> wouldn't it fail to link?
[07:04:58] <mepholic> ir 2.2.5
[07:05:10] <mepholic> ie*
[07:05:37] <mepholic> we'll see in about....
[07:05:39] <mepholic> 10 seconds
[07:06:30] <mepholic> BUILD SUCCESSFUL
[07:06:45] <ra4king> ayyyy
[07:06:47] <ra4king> wait
[07:06:59] <ra4king> this means __wrap_memcpy is never called anywhere
[07:07:01] <ra4king> wat
[07:08:21] <ra4king> mepholic: did you wrap the entire wrap_memcpy.c file in that #ifdef?
[07:08:33] <mepholic> yuuuuuup
[07:08:50] <ra4king> then nothing actually links against __wrap_memcpy... then what's the point of the file?
[07:09:25] <mepholic> i think it'll only link if you're building it on GLIBC_2.25?
[07:09:27] <mepholic> idk
[07:09:29] <mepholic> I'm dumb
[07:10:02] <ra4king> oh right, you said this was for a specific version
[07:10:06] <mepholic> glibc 2.25 was released in 2002
[07:10:17] <ra4king> yeah makes sense that somewhere there's #ifdef <check 2.2.5>
[07:10:18] <mepholic> the latest release is glibc 2.2.5
[07:10:28] <mepholic> i'm not sure if that was a typo or a coincidence
[07:10:44] <mepholic> sorry
[07:10:47] <mepholic> other way
[07:10:52] <mepholic> 2.2.5 = 2002
[07:10:56] <mepholic> 2.25 = 2017
[07:11:26] <mepholic> so really
[07:11:30] <mepholic> this should go upstream
[07:11:33] <mepholic> it can't hurt anyhow
[07:11:45] <ra4king> you should post about this on the forums and send in a pull request adding that #ifdef __GLIB__C line
[07:11:52] <ra4king> and #endif at the bottom of course
[07:11:57] <mepholic> right
[07:12:14] <mepholic> let me get these tests to pass
[07:12:20] <ra4king> and lol that's funny, I put the C at the end in file format XD
[07:12:25] <ra4king> __GLIBC__ *
[07:12:31] <mepholic> this makes me lol
[07:12:33] <mepholic>     [Tests] The tests failed.
[07:12:35] <mepholic> BUILD SUCCESSFUL
[07:12:41] <ra4king> Success, you failed!
[07:15:39] <mepholic> i don't get this
[07:15:41] <mepholic>     [Tests] [LWJGL]     liblwjgl.so not found in java.library.path
[07:15:48] <mepholic> $ ls $LD_LIBRARY_PATH/liblwjgl.so
[07:15:50] <mepholic> /home/mepholic/Downloads/lwjgl3/libs/liblwjgl.so
[07:16:14] <ra4king> might mean wrong version or architecture
[07:16:22] <ra4king> oh wait
[07:16:24] <mepholic> wait wat
[07:16:26] <ra4king> "java.library.path"
[07:16:27] <mepholic> fuck
[07:16:30] <ra4king> not your LD_LIBRARY_PATH
[07:16:34] <mepholic> $ ldd $LD_LIBRARY_PATH/liblwjgl.so
[07:16:37] <mepholic>         ldd (0x5643df825000)
[07:16:39] <mepholic>         libc.musl-x86_64.so.1 => ldd (0x5643df825000)
[07:16:41] <mepholic> Error relocating /home/mepholic/Downloads/lwjgl3/libs/liblwjgl.so: __wrap_memcpy: symbol not found
[07:16:47] <ra4king> loooooool
[07:16:49] <ra4king> comes back to bite you!
[07:17:48] <mepholic> (╯°□°)╯︵ ┻━┻
[07:18:04] <ra4king> easy fix though
[07:18:11] <mepholic> just find where it's calling that
[07:18:12] <ra4king> have __wrap_memcpy call memcpy normally
[07:18:16] <mepholic> ya
[07:18:17] <ra4king> oh
[07:18:25] <ra4king> my solution is much easier lol
[07:18:29] <mepholic> just wrap em with ifdefs
[07:18:47] <mepholic> i'd imagine that's in there for a reason for glibc
[07:19:58] <mepholic> well
[07:20:06] <mepholic> the only place I see it being called is
[07:20:10] <mepholic> well not even called
[07:20:12] <mepholic> but
[07:20:14] <mepholic> config/linux/version.script:            __wrap_memcpy;
[07:20:14] <ra4king> link
[07:20:17] <ra4king> ok
[07:20:21] <mepholic> i think that's a directive for the linker
[07:20:55] <mepholic> config/linux/build.xml:                         <arg line="-Wl,--version-script,${version.script}"/>
[07:23:03] <ra4king> I don't know anything about these files
[07:23:08] <ra4king> so I'm useless here
[07:23:12] <ra4king> got links to those on github?
[07:23:32] <mepholic> huuuuuh
[07:23:35] <mepholic> interesting
[07:23:48] <mepholic> I think this is something specifically to be called by java?
[07:24:09] <mepholic> i see other java projects with similar memcpy wrapper files
[07:24:12] <mepholic> for natives
[07:24:15] <ra4king> guess what I found
[07:24:15] <ra4king> https://github.com/sosy-lab/java-smt/blob/master/lib/native/source/libz3j/memcpy_wrapper.c
[07:24:20] <mepholic> same
[07:24:27] <mepholic> I'm looking at the exact same thing right now
[07:24:37] <ra4king> full explanation from google: https://github.com/google/protobuf/blob/master/ruby/ext/google/protobuf_c/wrap_memcpy.c
[07:25:16] <ra4king> mepholic: use googles ^^
[07:25:22] <ra4king> it has a proper else
[07:25:35] <ra4king> and of course post on the forums + do a PR
[07:25:52] <mepholic> huuuuh
[07:25:54] <mepholic> shieeeet
[07:25:56] <mepholic> thanks
[07:28:49] <mepholic> yup
[07:28:53] <mepholic> it seems happy now
[07:28:56] <mepholic> $ ldd $LD_LIBRARY_PATH/liblwjgl.so
[07:28:58] <mepholic>         ldd (0x56414172a000)
[07:29:00] <mepholic>         libc.musl-x86_64.so.1 => ldd (0x56414172a000)
[07:29:05] <mepholic> no missing symbols
[07:29:07] <ra4king> nice
[07:29:17] <ra4king> all the tests are passing now?
[07:29:47] <mepholic> $ nm -D $LD_LIBRARY_PATH/liblwjgl.so | grep wrap_
[07:29:49] <mepholic> 000000000001e160 T __wrap_memcpy
[07:29:57] <mepholic> obviously it compiled fine too
[07:30:31] <mepholic>     [Tests] ===============================================
[07:30:33] <mepholic>     [Tests] LWJGL Core Tests
[07:30:35] <mepholic>     [Tests] Total tests run: 244, Failures: 0, Skips: 6
[07:30:37] <mepholic>     [Tests] Configuration Failures: 1, Skips: 0
[07:30:39] <mepholic>     [Tests] ===============================================
[07:30:42] <mepholic> hmmmmm
[07:30:44] <ra4king> I wonder why memmove is called instead of memcpy in google's one
[07:34:15] <mepholic> ok?
[07:34:18] <mepholic>     [Tests] ===============================================
[07:34:20] <mepholic>     [Tests] LWJGL Core Tests
[07:34:22] <mepholic>     [Tests] Total tests run: 244, Failures: 6, Skips: 0
[07:34:24] <mepholic>     [Tests] ===============================================
[07:34:26] <mepholic> installed opencl for those
[07:34:34] <ra4king> well done, instead of skipping it failed
[07:34:40] <ra4king> progress? :P
[07:35:14] <mepholic> well still
[07:35:16] <mepholic> 244 passed
[07:35:26] <mepholic> I'd say that's hella progress :)
[07:35:52] <mepholic> rebuilding
[07:36:02] <mepholic> now that I have the opencl dev stuff installed
[07:36:26] <ra4king> mepholic: what was the configuration failure?
[07:36:33] <mepholic> yup
[07:36:45] <ra4king> yup what
[07:36:51] <mepholic> oh
[07:36:59] <mepholic> the lack of libOpenCL.so
[07:37:06] <mepholic> on my system
[07:37:41] <ra4king> ah, so you installed opencl, what's the failures for now?
[07:37:57] <mepholic> yeah, seems like it
[07:38:18] <ra4king> lol reading comprehension is top notch today
[07:39:03] <mepholic> yeah for real
[07:39:07] <mepholic> hold on
[07:40:37] <mepholic> let me just keep saying 'yeah'
[07:40:38] <mepholic> so
[07:40:45] <mepholic> ra4king: here's the test suite output
[07:40:47] <mepholic> https://paste.ee/p/pICrK#mPJtRAL9nvUSgcPK4uUv6hhGD3uBn9sb
[07:40:53] <mepholic> i ran it with -v as well
[07:41:21] <mepholic> i don't see anything that immediately indicates a failure, or at least
[07:41:23] <mepholic> what it was
[07:41:34] <ra4king> where are the failures?
[07:41:35] <mepholic> there's those warnings, but there's a lot more than 6 of those
[07:41:39] <ra4king> yeah
[07:41:40] <mepholic> that's my q
[07:41:42] <ra4king> weird
[07:42:54] <mepholic> i guess I try some demos
[07:48:04] <mepholic> if I could figure out how they work
[07:48:54] <ra4king> lol
[07:50:22] <mepholic> got any insights on that one?
[07:51:35] <mepholic> i see like
[07:51:37] <mepholic> bin/Tests/org/lwjgl/demo/system/jawt/JAWTDemo.class
[07:52:00] <mepholic> running $ $ ant demo -Dclass=bin/Tests/org/lwjgl/demo/system/jawt/JAWTDemo.class
[07:52:05] <mepholic> produces the output
[07:52:11] <mepholic>      [Demo] Error: Could not find or load main class bin.Tests.org.lwjgl.demo.system.jawt.JAWTDemo.class
[07:52:19] <ra4king> hm
[07:53:15] <ra4king> I don't know about that one
[07:53:21] <ra4king> mepholic: try these maybe? https://github.com/LWJGL/lwjgl3-demos/tree/master/src/org/lwjgl/demo/opengl
[07:54:31] <mepholic> hmm
[07:54:33] <mepholic> ok
[07:54:33] <ra4king> mepholic: bingo, you specify the class: https://github.com/LWJGL/lwjgl3-demos
[07:54:45] <ra4king> java -cp target/lwjgl3-demos.jar <classname>
[07:58:52] *** TwisterGE <TwisterGE!~dcubix@177.203.46.247> has left #lwjgl
[08:02:35] <mepholic> ok
[08:03:21] <mepholic> well I built it with maven
[08:03:23] <mepholic> it seems to work
[08:03:32] <mepholic> but there's no indication that it's using my lwjgl
[08:04:10] <ra4king> err
[08:04:19] <ra4king> put a print somewhere
[08:04:59] <mepholic> I'm a systems enginer, not a java dev :P
[08:10:42] <mepholic> oh
[08:10:46] <mepholic> but good hint
[08:11:04] <mepholic> works the same way with the ant demos
[08:16:30] <mepholic> hmmmmm
[08:16:49] <mepholic> seems like there's a bunch of glibc requirements now that I look at this
[08:17:14] <ra4king> have fun >.>
[08:17:31] <mepholic> bunch of
[08:17:33] <mepholic> Error relocating /home/mepholic/Downloads/lwjgl3/libs/libassimp.so: __sprintf_chk: symbol not found
[08:17:35] <mepholic> Error relocating /home/mepholic/Downloads/lwjgl3/libs/libassimp.so: __snprintf_chk: symbol not found
[08:17:37] <mepholic> Error relocating /home/mepholic/Downloads/lwjgl3/libs/libassimp.so: __vsnprintf_chk: symbol not found
[08:19:18] <mepholic> all over the place
[08:19:50] <ra4king> oof
[08:19:54] <mepholic> I honestly don't know what I expected
[08:39:32] <ra4king> mepholic: have you hopelessly given up and switched to libc instead of musl?
[08:39:41] <ra4king> i don't know why you insist on using musl
[08:41:16] <mepholic> i'm not quite hopeless
[08:41:44] <mepholic> 6 of the 21 libs built seem to have some dependancy on glibc
[08:41:51] <mepholic> the compilation didn't completely fail
[08:41:56] <mepholic> and this is master
[08:42:10] <mepholic> I'm going to try some older versions and see what the outcome is
[08:42:32] <mepholic> making linux applications (or even applications in general) less dependant on glibc is a positive thing
[08:43:42] <mepholic> it makes them much more cross-platform compatible
[08:43:57] <mepholic> and I'm sure that java developers can appreciate that :)
[08:44:17] <ra4king> of course :)
[08:44:37] <ra4king> I wish I could have been more active in the development of LWJGL 3 but I stopped being involved
[08:46:47] *** mixile <mixile!~aumille@45.56.149.137> has quit IRC (Quit: mixile)
[08:56:04] *** EmrisM <EmrisM!~Miranda@195.234.58.25> has joined #lwjgl
[09:10:47] *** MatthiasM <MatthiasM!~MatthiasM@unaffiliated/matthiasm> has quit IRC (Ping timeout: 255 seconds)
[09:31:23] *** NegativeZero <NegativeZero!~quassel@121-79-248-31.sta.inspire.net.nz> has joined #lwjgl
[13:32:25] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-uaeouxbjxdeiasde> has joined #lwjgl
[13:45:42] *** skoskav <skoskav!s@c-cf9472d5.035-127-73746f3.cust.bredbandsbolaget.se> has quit IRC (Read error: Connection reset by peer)
[13:45:54] *** skoskav <skoskav!s@c-cf9472d5.035-127-73746f3.cust.bredbandsbolaget.se> has joined #lwjgl
[14:28:45] *** NegativeZero <NegativeZero!~quassel@121-79-248-31.sta.inspire.net.nz> has quit IRC (Remote host closed the connection)
[14:32:23] *** mixile <mixile!~aumille@45.56.149.137> has joined #lwjgl
[15:09:12] *** X-Ray-Jin <X-Ray-Jin!~KawaidaDe@212.51.7.30> has joined #lwjgl
[16:13:51] *** mixile <mixile!~aumille@45.56.149.137> has quit IRC (Quit: mixile)
[16:35:09] *** EmrisM <EmrisM!~Miranda@195.234.58.25> has quit IRC (Read error: Connection reset by peer)
[17:40:37] *** guillaum1 <guillaum1!~gl@213-245-244-213.rev.numericable.fr> has quit IRC (Ping timeout: 246 seconds)
[18:19:08] *** TwisterGE <TwisterGE!~dcubix@201-2-25-90.cpece700.dsl.brasiltelecom.net.br> has joined #lwjgl
[18:19:53] *** Robert_Zenz <Robert_Zenz!~Robert_Ze@213-47-230-151.cable.dynamic.surfer.at> has joined #lwjgl
[19:00:01] *** X-Ray-Jin <X-Ray-Jin!~KawaidaDe@212.51.7.30> has left #lwjgl
[19:30:30] *** MatthiasM <MatthiasM!~MatthiasM@unaffiliated/matthiasm> has joined #lwjgl
[19:51:54] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-uaeouxbjxdeiasde> has quit IRC (Quit: Connection closed for inactivity)
[19:59:54] *** meoblast001 <meoblast001!~meoblast@2a02:2450:10d1:357:fe11:aac:a46e:c9ad> has joined #lwjgl
[20:15:04] *** Robert_Zenz <Robert_Zenz!~Robert_Ze@213-47-230-151.cable.dynamic.surfer.at> has quit IRC (Ping timeout: 255 seconds)
[20:27:54] *** Robert_Zenz <Robert_Zenz!~Robert_Ze@213-47-230-151.cable.dynamic.surfer.at> has joined #lwjgl
[20:31:13] *** X-Ray-Jin <X-Ray-Jin!~X-Ray-Jin@dslb-092-076-022-169.092.076.pools.vodafone-ip.de> has joined #lwjgl
[20:34:23] *** EmrisM <EmrisM!~Miranda@62.178.245.147> has joined #lwjgl
[21:05:33] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has quit IRC (Remote host closed the connection)
[21:43:22] *** guillaum1 <guillaum1!~gl@213-245-244-213.rev.numericable.fr> has joined #lwjgl
[21:53:01] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has joined #lwjgl
[23:00:09] *** Unimatrix325 <Unimatrix325!~Unimatrix@router-kraduha-nat-l.pilsfree.net> has joined #lwjgl
[23:20:34] *** X-Ray-Jin <X-Ray-Jin!~X-Ray-Jin@dslb-092-076-022-169.092.076.pools.vodafone-ip.de> has quit IRC (Ping timeout: 240 seconds)
[23:31:53] *** grim002 <grim002!~grim001@ip24-253-45-21.lv.lv.cox.net> has joined #lwjgl
[23:33:40] *** grim001 <grim001!~grim001@ip24-253-45-21.lv.lv.cox.net> has quit IRC (Ping timeout: 260 seconds)
[23:40:26] *** meoblast001 <meoblast001!~meoblast@2a02:2450:10d1:357:fe11:aac:a46e:c9ad> has quit IRC (Quit: Leaving)
top

   May 3, 2017  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >