Switch to DuckDuckGo Search
   May 1, 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:05:23] *** meoblast001 <meoblast001!~meoblast@200116b842ad0f00c5180876eee0df47.dip.versatel-1u1.de> has joined #lwjgl
[00:22:47] *** Unimatrix325 <Unimatrix325!~Unimatrix@router-kraduha-nat-l.pilsfree.net> has quit IRC (Ping timeout: 268 seconds)
[00:29:38] *** meoblast001 <meoblast001!~meoblast@200116b842ad0f00c5180876eee0df47.dip.versatel-1u1.de> has quit IRC (Quit: Leaving)
[00:29:48] *** meoblast001 <meoblast001!~meoblast@200116b842ad0f00c5180876eee0df47.dip.versatel-1u1.de> has joined #lwjgl
[01:14:48] *** meoblast001 <meoblast001!~meoblast@200116b842ad0f00c5180876eee0df47.dip.versatel-1u1.de> has quit IRC (Quit: Leaving)
[01:14:59] *** meoblast001 <meoblast001!~meoblast@200116b842ad0f00c5180876eee0df47.dip.versatel-1u1.de> has joined #lwjgl
[01:27:22] *** harha_ <harha_!harha_@c502.ip11.netikka.fi> has joined #lwjgl
[03:18:51] *** harha_ <harha_!harha_@c502.ip11.netikka.fi> has quit IRC ()
[03:29:08] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-irjljosixcrpmqpk> has quit IRC (Quit: Connection closed for inactivity)
[03:33:58] *** meoblast001 <meoblast001!~meoblast@200116b842ad0f00c5180876eee0df47.dip.versatel-1u1.de> has quit IRC (Quit: Leaving)
[04:07:05] *** mepholic <mepholic!~mepholic@unaffiliated/mepholic> has joined #lwjgl
[04:07:28] <mepholic> anyone know what the deal with this is?
[04:07:29] <mepholic> https://paste.ee/p/i9VeU#qP8QnR0Cua5TLIqGen6WwkTlp62Fqz6H
[04:08:17] <ra4king> mepholic: strange, the Library API changed?
[04:08:26] <ra4king> mepholic: you should post this on the forums asap
[04:08:27] <mepholic> this is openjdk
[04:08:56] <mepholic> openjdk version "1.8.0_121"
[04:08:59] <mepholic> OpenJDK Runtime Environment (IcedTea 3.3.0) (Alpine 8.121.13-r0)
[04:09:01] <mepholic> OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
[04:09:14] <mepholic> I'm using musl libc, not glibc
[04:09:26] <mepholic> which is why I'm compiling lwjgl in the first place
[04:09:36] <mepholic> I need natives compiled against musl
[04:09:58] <mepholic> not exactly sure if that'll make a difference or not
[04:13:27] <ra4king> mepholic: I'm thinking you have a library mismatch of some sorts
[04:13:30] <ra4king> try redownloading the lwjgl jar
[04:14:08] <mepholic> ra4king: I'm compiling it from source
[04:14:12] <mepholic> at the moment
[04:14:30] <ra4king> mepholic: then you should look inside org/lwjgl/system/Library
[04:14:34] <ra4king> look for the loadNative functions
[04:14:47] <ra4king> there should exist one with a signature: loadNative(Class, String)
[04:16:45] <mepholic> > lwjgl3-3.1.1/modules/core/src/main/java/org/lwjgl/system/Library.java
[04:16:47] <mepholic> ?
[04:16:56] <ra4king> yup
[04:19:05] <mepholic> well
[04:19:07] <mepholic> I see
[04:19:09] <mepholic> $ grep -E "public .* loadNative" /home/mepholic/Downloads/lwjgl3-3.1.1/modules/core/src/main/java/org/lwjgl/system/Library.java
[04:19:11] <mepholic>         public static SharedLibrary loadNative(String name) {
[04:19:13] <mepholic>         public static SharedLibrary loadNative(Configuration<String> name, String... defaultNames) {
[04:19:45] <ra4king> very strange
[04:20:00] <ra4king> I haven't been keeping up with the API changes
[04:20:11] <ra4king> but the current file on Github on master has it: https://github.com/LWJGL/lwjgl3/blob/master/modules/core/src/main/java/org/lwjgl/system/Library.java
[04:20:31] <mepholic> ok
[04:20:34] <mepholic> I'm just gonna nuke this
[04:20:43] <mepholic> and start over with the build
[04:20:53] <ra4king> sounds like an ideal solution
[04:35:20] <mepholic> ra4king: I just wanna point out
[04:35:56] <mepholic> https://github.com/LWJGL/lwjgl3/blob/3.1.1/modules/core/src/main/java/org/lwjgl/system/Library.java
[04:36:18] <mepholic> I do not see a function with that signature in the tagged release
[04:36:49] <mepholic> :/
[04:41:03] <mepholic> guess I'll just build outta master
[04:41:05] <mepholic> ¯\_(ツ)_/¯
[04:41:34] <ra4king> yeah just use master haha
[04:41:48] <ra4king> this is strange, I've been looking around trying to understand when these changes were made and it's not exactly clear
[04:43:26] <ra4king> mepholic: got it: https://github.com/LWJGL/lwjgl3/commit/ad0e93dfe33904f6c16fe3f9e83fc90af8b1e41d
[04:43:49] <ra4king> the signature expected was added after the 3.1.1 release in the above commit
[04:44:18] <mepholic> hmm
[04:47:59] <mepholic> well I got past the point where it failed
[04:49:37] *** EmrisM <EmrisM!~Miranda@62-178-245-147.cable.dynamic.surfer.at> has quit IRC (Read error: Connection reset by peer)
[05:10:35] <mepholic> cool
[05:10:43] <mepholic> modules/core/src/main/c/system/linux/wrap_memcpy.c seems to make glibc assumptions
[05:10:44] <ra4king> ay
[05:10:53] <ra4king> what do you mean
[05:11:06] <mepholic> just because the user is on linux, doesn't mean they're using glibc :)
[05:11:47] <ra4king> what's an alternative that's remotely as good?
[05:11:56] <mepholic> musl libc
[05:12:14] <ra4king> ah I've heard of it
[05:12:19] <mepholic> it doesn't go an implement a bunch of non-standard, non-spec library functions
[05:12:27] <ra4king> so what's the assumptions breaking now?
[05:13:09] <mepholic> well
[05:13:12] <mepholic> https://github.com/LWJGL/lwjgl3/blob/master/modules/core/src/main/c/system/linux/wrap_memcpy.c
[05:13:24] <ra4king> oh hah!
[05:13:52] <mepholic> everything seems to build fine
[05:13:57] <mepholic> then it breaks hard on linking
[05:13:59] <mepholic>    [Linker] /usr/lib/gcc/x86_64-alpine-linux-musl/6.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: libs/liblwjgl_nanovg.so: No symbol version section for versioned symbol `memcpy at GLIBC_2 dot 2.5'
[05:14:03] <mepholic> :)
[05:14:41] <ra4king> I've never used this asm trickery
[05:14:46] <ra4king> so I have no clue how to fix this hah
[05:15:46] <mepholic> same
[05:15:52] <mepholic> i guess it's time to learn!
[05:16:08] <mepholic> funny thing, I had to turn off parallel compilation
[05:16:20] <mepholic> to get a decent understanding of what was breaking in the first place
[05:16:34] <ra4king> oof
[05:17:33] <ra4king> mepholic: try removing everything after the @
[05:17:40] <ra4king> old_memcpy,memcpy@
[05:17:57] <ra4king> then it will hopefully bind to the musl memcpy
[05:18:07] <mepholic> haha
[05:18:09] <mepholic> https://gcc.gnu.org/wiki/SymbolVersioning
[05:18:19] <ra4king> I was looking at the same exact doc lol
[05:18:36] <mepholic> i was laughing about how it also says "asm trickery"
[05:18:47] <mepholic> thought it was maybe a coincidence
[05:19:08] <mepholic> so
[05:19:24] <mepholic> isn't it kind of bad that this not only assumes GLIBC, but a SPECIFIC release?
[05:19:30] <ra4king> yeah that's pretty bad
[05:19:34] <ra4king> there must be a reason though
[05:19:59] <ra4king> mepholic: here's the commit that added it: https://github.com/LWJGL/lwjgl3/commit/3a26cb70295fe4227f49e69b2bd3d38b0fc1521f
[05:21:03] <ra4king> what's the point of wrapping memcpy?
[05:21:06] <ra4king> and doing nothing in the wrapper?
[05:22:25] <mepholic> ¯\_(ツ)_/¯
[05:22:27] * ra4king pokes Mazon in the eye
[05:22:38] * ra4king pokes MatthiasM
[05:24:59] <mepholic> > glibc-2.2.5.tar.gz 2002-01-21 13:1416M
[05:25:09] <mepholic> I've gotta be missing something here
[05:25:15] <ra4king> what
[05:25:47] <mepholic> errrrrrrrrrr
[05:26:13] <mepholic> welll...... Glibc 2.25 is latest as of 2017-02-05 11:17
[05:26:27] <mepholic> Glibc 2.2.5 is from 2002
[05:27:26] <ra4king> wow tiny updates in 15 years!
[09:40:43] *** Unimatrix325 <Unimatrix325!~Unimatrix@router-kraduha-nat-l.pilsfree.net> has joined #lwjgl
[10:07:04] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has quit IRC (Ping timeout: 260 seconds)
[10:19:12] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has joined #lwjgl
[10:37:31] *** NegativeZero <NegativeZero!~quassel@121.79.248.31> has joined #lwjgl
[10:37:34] *** NegativeZero_ <NegativeZero_!~quassel@121.79.248.31> has joined #lwjgl
[10:42:19] *** NegativeZero_ <NegativeZero_!~quassel@121.79.248.31> has quit IRC (Read error: Connection reset by peer)
[11:25:06] *** csnxs <csnxs!sean@unaffiliated/plussean> has quit IRC (Quit: I was wrong. It creeps up back; through coloured glass.)
[11:25:26] *** csnxs <csnxs!sean@unaffiliated/plussean> has joined #lwjgl
[12:14:58] *** NegativeZero <NegativeZero!~quassel@121.79.248.31> has quit IRC (Read error: Connection reset by peer)
[12:15:12] *** NegativeZero <NegativeZero!~quassel@121-79-248-31.sta.inspire.net.nz> has joined #lwjgl
[12:59:16] *** EmrisM <EmrisM!~Miranda@62-178-245-147.cable.dynamic.surfer.at> has joined #lwjgl
[13:18:05] *** harha_ <harha_!harha_@c502.ip11.netikka.fi> has joined #lwjgl
[15:07:10] *** NegativeZero <NegativeZero!~quassel@121-79-248-31.sta.inspire.net.nz> has quit IRC (Remote host closed the connection)
[18:04:01] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-nnwwbpeyzlifyths> has joined #lwjgl
[18:28:26] *** TwisterGE <TwisterGE!~dcubix@201-67-71-159.cpece700.dsl.brasiltelecom.net.br> has joined #lwjgl
[18:31:50] *** EmrisM_ <EmrisM_!~Miranda@62.178.245.147> has joined #lwjgl
[18:41:12] *** EmrisM <EmrisM!~Miranda@62-178-245-147.cable.dynamic.surfer.at> has quit IRC (*.net *.split)
[18:41:12] *** csnxs <csnxs!sean@unaffiliated/plussean> has quit IRC (*.net *.split)
[18:41:13] *** barteks2x <barteks2x!barteks2x@gateway/shell/panicbnc/x-rcxupasztunsgyiy> has quit IRC (*.net *.split)
[18:41:13] *** jikuja <jikuja!jikuja@lakka.kapsi.fi> has quit IRC (*.net *.split)
[18:43:43] *** barteks2x <barteks2x!barteks2x@gateway/shell/panicbnc/x-htgoabtlkvhsbmwr> has joined #lwjgl
[18:43:58] *** csnxs <csnxs!sean@unaffiliated/plussean> has joined #lwjgl
[19:52:15] *** TwisterGE1 <TwisterGE1!~dcubix@201-67-70-229.cpece700.dsl.brasiltelecom.net.br> has joined #lwjgl
[19:54:35] *** TwisterGE <TwisterGE!~dcubix@201-67-71-159.cpece700.dsl.brasiltelecom.net.br> has quit IRC (Ping timeout: 240 seconds)
[20:07:16] *** jikuja <jikuja!jikuja@lakka.kapsi.fi> has joined #lwjgl
[20:16:58] *** TwisterGE1 is now known as TwisterGE
[21:38:01] *** meoblast001 <meoblast001!~meoblast@2a02:2450:10d1:357:fe11:aac:a46e:c9ad> has joined #lwjgl
[22:06:00] *** TwisterGE <TwisterGE!~dcubix@201-67-70-229.cpece700.dsl.brasiltelecom.net.br> has left #lwjgl
[22:39:41] *** harha_ <harha_!harha_@c502.ip11.netikka.fi> has quit IRC ()
[23:14:15] *** Unimatrix325 <Unimatrix325!~Unimatrix@router-kraduha-nat-l.pilsfree.net> has quit IRC (Ping timeout: 268 seconds)
[23:22:08] *** meoblast001 <meoblast001!~meoblast@2a02:2450:10d1:357:fe11:aac:a46e:c9ad> has quit IRC (Quit: Leaving)
top

   May 1, 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