Hide Idle (>14 d.) Chans


← 2020-04-12 | 2020-04-14 → ↓
10:26 asciilifeform meanwhile in comments.
10:26 asciilifeform !w poll
10:26 watchglass Polling 11 nodes...
10:26 watchglass 192.151.158.26:8333 : Could not connect!
10:26 watchglass 205.134.172.26:8333 : Alive: (0.082s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776
10:26 watchglass 205.134.172.27:8333 : Alive: (0.083s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776 (Operator: asciilifeform)
10:26 watchglass 108.31.170.3:8333 : (pool-108-31-170-3.washdc.fios.verizon.net) Alive: (0.097s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776 (Operator: asciilifeform)
10:26 watchglass 205.134.172.4:8333 : (172-4.core.ai.net) Alive: (0.127s) V=70001 (/therealbitcoin.org:0.7.0.1/) Jumpers=0x1 (TRB-Compat.) Blocks=624128
10:26 watchglass 143.202.160.10:8333 : Alive: (0.218s) V=70001 (/therealbitcoin.org:0.7.0.1/) Jumpers=0x1 (TRB-Compat.) Blocks=625776
10:26 watchglass 208.94.240.42:8333 : Alive: (0.195s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776
10:26 watchglass 205.134.172.6:8333 : (172-6.core.ai.net) Alive: (0.083s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776
10:26 watchglass 213.109.238.156:8333 : Alive: (0.361s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776
10:26 watchglass 188.121.168.69:8333 : (rev-188-121-168-69.radiolan.sk) Alive: (0.316s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=625776
10:27 watchglass 103.36.92.112:8333 : Busy? (No answer in 20 sec.)
10:40 asciilifeform thimbronion: answered.
~ 31 minutes ~
11:11 thimbronion asciilifeform: got it. for future reference, I am subscribed to the comments feed and will be notified of any comments.
~ 25 minutes ~
11:37 asciilifeform aite
~ 2 hours 55 minutes ~
14:32 asciilifeform meanwhile in a++ pieces from lurking folx.
~ 1 hours 22 minutes ~
15:55 asciilifeform in other noose, RIP john conway.
~ 20 minutes ~
16:15 Apocalyptic RIP indeed
~ 32 minutes ~
16:48 * asciilifeform just like the last time, quite disgusted after reading the plankton commentaries
16:57 Apocalyptic asciilifeform, is it an usual behaviour to have static libs not resolving symbols from other (static) libs ?
16:58 asciilifeform Apocalyptic: occasionally one finds that a static build (necessarily on a nonstatic os) didn't actually work, and result uses e.g. dload
16:58 asciilifeform Apocalyptic: why, didja catch one red-handed ?
16:59 Apocalyptic I managed to build a static version of libgmp, but then I wanted to build a static lib of gmp-ecm, which did build
16:59 Apocalyptic however when I do link -lecm , it complains about not resolving symbols from libgmp
17:00 asciilifeform sounds like paths issue
17:00 Apocalyptic when I do specify "-lecm -lgmp", it does link against gmp, but dynamically so
17:01 asciilifeform see e.g. this example re use of static c libs.
17:01 Apocalyptic asciilifeform, I may have a naive view of static libs, but I thought and suspected until now the second lib would have all the functions from the first inside
17:01 asciilifeform Apocalyptic: the correct way to do these is on a box where the dynamic libs aint present anywhere
17:01 Apocalyptic so libecm would bundle all the libgmp bits it needs
17:01 asciilifeform so then certain they dun get linked in dynamically
17:02 asciilifeform for gcc's linker, you need not only the lib (visible to linker) but the corresponding header (visible to compiler)
17:02 asciilifeform only then get working build
17:03 asciilifeform when you -lxyz , it will find whichever xyz is 1st in yer path
17:03 asciilifeform if yer box has the dynamic one, that's likely to be it
17:03 Apocalyptic today I learned that "Static libraries do not link with other static libraries. The only way to do this is to use your librarian/archiver tool (for example ar on Linux) to create a single new static library by concatenating the multiple libraries."
17:03 asciilifeform aha, you get a '.a'
17:03 asciilifeform see the mpi example.
17:04 Apocalyptic I do have two '.a' currently
17:04 asciilifeform so you want them, and only them, in yer libs path; and the corresponding headers in include path.
17:05 Apocalyptic I should probably nuke all the .so present
17:06 asciilifeform see example .
17:06 Apocalyptic ty
17:06 asciilifeform nix the '-l' , it expands to the dyn. linkable crapola
17:07 Apocalyptic I was using opensores makefiles as is found in the gmp-ecm repo
17:07 asciilifeform typically these are of 0 help when doing a static
17:07 Apocalyptic so no doubt I should review all these gcc and libtool calls
17:07 Apocalyptic I was trapped by a "--enable-static" nicely looking flag for a ./configure
17:07 asciilifeform Apocalyptic: outta curiosity, what were you building ?
17:09 Apocalyptic I'm building cado-nfs and some misc tools in it requires the present of said gmp-ecm lib
17:09 asciilifeform a
17:09 Apocalyptic I'm experimenting to get fully-static build, (as far as the math libs goes at least)
17:10 Apocalyptic there's gonna be dynamic dload,pthread crapolade left no matter what
17:10 * asciilifeform wonders whether it'd build with his static mpi
17:10 asciilifeform prolly you wouldn't want to , tho, i nuked the asm inlines
17:11 Apocalyptic yeah this is actually needed for heavy fast computations
17:12 Apocalyptic I discovered they have an almost complete implementation of DLP solvers in finite fields of the form GF(p^2)
17:12 Apocalyptic and support for the more general GP(p^k) for small k
17:12 asciilifeform bake a ecdsa phuctor, wainot
17:13 Apocalyptic not easy to find those around, compared to Z/pZ implementations which there is plenty of
17:15 asciilifeform if yer doing serious numerics, expect to write own stack eventually, the opensores crud is typically good for nuffin in particular
17:15 asciilifeform (optimized neither for speed, nor compactness, nor 'fit in head')
17:17 asciilifeform and ftr the use of cpp of any form in a speed-sensitive application is nuttery
17:17 Apocalyptic I doubt I could beat all the asm-ism they have in libgmp
17:17 Apocalyptic speed-wise
17:18 asciilifeform on one occasion, i did, without even trying . their choice of algos is sometimes sad.
17:19 * asciilifeform strongly suspects that an asm-massaged ~branch free~ numerics stack would beat the shit outta gmp, on current-day irons
17:20 asciilifeform cache miss costs hell of a lot moar than a few thou. redundant ADDs etc
17:21 Apocalyptic would you recommend such practices of bundling several static libs into one ?
17:22 asciilifeform it's that, or actually fiddling w/ the coad, afaik
17:25 * asciilifeform bbl,meat
~ 37 minutes ~
18:03 Apocalyptic for completeness: after using ar to create the megalib, it indeed links statically to both and no unresolved symbol errors
18:03 asciilifeform Apocalyptic: neato, congrats
18:05 asciilifeform fwiw this is what gnat does internally when building ffa.
18:05 asciilifeform (you get a libFFA.a)
18:07 asciilifeform (there is however no use of gnumake in ffa; instead uses the much saner 'gprbuild' mechanism that comes in gnat)
~ 2 hours 56 minutes ~
21:03 feedbot http://mvdstandard.net/2020/04/unasev-reports-far-safer-roads-this-semana-de-turismo/ << The Montevideo Standard -- UNASEV Reports Far Safer Roads This Semana de Turismo
~ 2 hours 8 minutes ~
23:12 feedbot http://bingology.net/2020/uruguay-ssr-and-the-hallucinated-seige/ << Bingology - The Blog of Aaron 'BingoBoingo' Rogier -- Uruguay-SSR And The Hallucinated Seige
← 2020-04-12 | 2020-04-14 → ↑