Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Alexander Ilin
  21.03.2017, 02:13, "Benjamin Pollack" :  On Mar 20, 2017, at 19:02, Alexander Ilin  wrote: Hey, Benjamin! 20.03.2017, 23:30, "Benjamin Pollack" :On Mon, Mar 20, 2017, at 01:47 PM, Alexander Ilin wrote:I'm still hanging on to my x86 machine at home. Fiine: just for you, assuming you have VS2017's Build Tools, CMake, and Python 3 (any version) installed, you ought to be able to grab https://github.com/bpollack/udis86 and get a nice new DLL via  Thanks for the huge favor ; )), but as you may have seen from this link https://github.com/factor/factor/issues/1750I have already done all the compilation in VS2010. Didn't even have to mess with CMake or Python. Yeah, but my version doesn't link to the wrong msvcrt, which I thought was the goal here. Oh, well, my hat's off to you, sir. I hope your binaries will appear on the FTP soon, that was the original goal behind the issue 1750.I was for some reason under the impression that you were giving me instructions on how to build it myself, sorry for the confusion. : )) How un-dead does it have to be? Are there new machine instructions spontaneously appearing in the Intel chips? Er, yes, actually. Most of it doesn't apply to us (VT-x and AMD/V, for example), but things like AVX2 and AVX-512 definitely do. Damn that artificial life! https://www.youtube.com/watch?v=xP5-iIeKXE8 ---=---Александр --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Benjamin Pollack

> On Mar 20, 2017, at 19:02, Alexander Ilin  wrote:
> 
> Hey, Benjamin!
>  
> 20.03.2017, 23:30, "Benjamin Pollack" :
>>> On Mon, Mar 20, 2017, at 01:47 PM, Alexander Ilin wrote:
>>> I'm still hanging on to my x86 machine at home.
>>  
>> Fiine: just for you, assuming you have VS2017's Build Tools, CMake, and 
>> Python 3 (any version) installed, you ought to be able to grab 
>> https://github.com/bpollack/udis86 and get a nice new DLL via
>>  
>  
> Thanks for the huge favor ; )), but as you may have seen from this link 
> https://github.com/factor/factor/issues/1750
> I have already done all the compilation in VS2010. Didn't even have to mess 
> with CMake or Python.

Yeah, but my version doesn't link to the wrong msvcrt, which I thought was the 
goal here. 

>  
>> So! As long as you've got a Factor compatible/built with VS2017 (why not?) 
>> we've got a udis86 and a libressl we can use. I'll get both these put up on 
>> my server in the next day or so. Any other libraries I should look at?
>>  
>> Also, given how useful the disassemble word is, and the fact that upstream 
>> udis86 seems very dead,
> 
> : )) How un-dead does it have to be? Are there new machine instructions 
> spontaneously appearing in the Intel chips?

Er, yes, actually. Most of it doesn't apply to us (VT-x and AMD/V, for 
example), but things like AVX2 and AVX-512 definitely do.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Benjamin Pollack
On Mon, Mar 20, 2017, at 01:47 PM, Alexander Ilin wrote:

> I'm still hanging on to my x86 machine at home.



Fiine: just for you, assuming you have VS2017's Build Tools, CMake, and 
Python 3 (any version) installed, you ought to be able to grab 
https://github.com/bpollack/udis86 and get a nice new DLL via


vsdevcmd -arch=amd64 (or vsdevcmd.bat -arch=x86 in your case)

python scripts\ud_itab.py docs\x86\optable.xml libudis86

cmake . -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE -
DBUILD_SHARED_LIBS=TRUE
nmake



udcli.exe will fail to build, but you'll get a nice
libudis86\libudis86.dll that you can drop next to factor.exe and be
happy on either x86 or amd64, as selected. (udcli.exe fails only because
I was too lazy to fix some issues converting libudis86 from a static to
a dynamic lib. If you speak CMake more fluently than I do, feel free to
patch that up.)


So! As long as you've got a Factor compatible/built with VS2017 (why
not?) we've got a udis86 and a libressl we can use. I'll get both
these put up on my server in the next day or so. Any other libraries I
should look at?


Also, given how useful the disassemble word is, and the fact that
upstream udis86 seems very dead, I'm happy to ditch udcli.exe, move this
into the Factor GitHub project, and attach the thing to AppVeyor if
y'all want. This is not a case where I'm super concerned about a hard
fork. Besides, it might give us some motivation to just rewrite the
thing in Factor.


Hopefully this helps out a bit.



Cheers,

--Benjamin
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Alexander Ilin
I'm still hanging on to my x86 machine at home. 20.03.2017, 20:25, "Benjamin Pollack" :Any particular reason not to just build both this and Factor with VS2017? I looked at libudis86; while its built-in scripts only target VS2010, I can't imagine it'd take me more than maybe four hours or so to get everything updated for a more modern version. That said, I'm also fine with just declaring x86 unsupported. :) ---=---Александр 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Benjamin Pollack
Any particular reason not to just build both this *and* Factor with
VS2017? I looked at libudis86; while its built-in scripts only target
VS2010, I can't imagine it'd take me more than maybe four hours or so to
get everything updated for a more modern version.


That said, I'm also fine with just declaring x86 unsupported. :)



On Mon, Mar 20, 2017, at 11:52 AM, Alexander Ilin wrote:

> Nope, never did. I don't have an ancient VS to link against the
> default libs, and I don't have VS2013, like anywhere, not even
> at work.
>  

> 20.03.2017, 18:49, "John Benediktsson" :

>> Did we ever get that issue with libudis resolved?

>>  

>> https://github.com/factor/factor/issues/1750

>>  

>> On Mon, Mar 20, 2017 at 8:44 AM, Alexander Ilin
>>  wrote:
>>> Have to be careful, though. Last time I submitted an updated DLL
>>> (libudis), I was told it's not good enough.
>>> Apparently, you have to build with some special versions of the MS
>>> run-time.
>>>  

>>> 20.03.2017, 18:42, "John Benediktsson" :

 Yes, please!  If you want, dump the binaries somewhere and include
 a link in the PR so @erg or I can update the DLLs on
 factorcode.org[1].
>>>  

>>> ---=---

>>> Александр

>>>  

>>> 

>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most

>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

>>> ___

>>> Factor-talk mailing list

>>> Factor-talk@lists.sourceforge.net

>>> https://lists.sourceforge.net/lists/listinfo/factor-talk

>>>  

>> ,

>> -
>> -
>> Check out the vibrant tech community on one of the world's most

>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot



>> ,

>> ___

>> Factor-talk mailing list

>> Factor-talk@lists.sourceforge.net

>> https://lists.sourceforge.net/lists/listinfo/factor-talk



>  

>  

> ---=---

> Александр

>  

> --
> 
> Check out the vibrant tech community on one of the world's most

> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _

> Factor-talk mailing list

> Factor-talk@lists.sourceforge.net

> https://lists.sourceforge.net/lists/listinfo/factor-talk




Links:

  1. http://factorcode.org/
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Alexander Ilin
Nope, never did. I don't have an ancient VS to link against the default libs, and I don't have VS2013, like anywhere, not even at work. 20.03.2017, 18:49, "John Benediktsson" :Did we ever get that issue with libudis resolved? https://github.com/factor/factor/issues/1750 On Mon, Mar 20, 2017 at 8:44 AM, Alexander Ilin  wrote:Have to be careful, though. Last time I submitted an updated DLL (libudis), I was told it's not good enough.Apparently, you have to build with some special versions of the MS run-time. 20.03.2017, 18:42, "John Benediktsson" :Yes, please!  If you want, dump the binaries somewhere and include a link in the PR so @erg or I can update the DLLs on factorcode.org. ---=---Александр --Check out the vibrant tech community on one of the world's mostengaging tech sites, Slashdot.org! http://sdm.link/slashdot___Factor-talk mailing listFactor-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/factor-talk ,--Check out the vibrant tech community on one of the world's mostengaging tech sites, Slashdot.org! http://sdm.link/slashdot,___Factor-talk mailing listFactor-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/factor-talk  ---=---Александр --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread John Benediktsson
Did we ever get that issue with libudis resolved?

https://github.com/factor/factor/issues/1750

On Mon, Mar 20, 2017 at 8:44 AM, Alexander Ilin  wrote:

> Have to be careful, though. Last time I submitted an updated DLL
> (libudis), I was told it's not good enough.
> Apparently, you have to build with some special versions of the MS
> run-time.
>
> 20.03.2017, 18:42, "John Benediktsson" :
>
> Yes, please!  If you want, dump the binaries somewhere and include a link
> in the PR so @erg or I can update the DLLs on factorcode.org.
>
>
> ---=---
> Александр
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread John Benediktsson
Yes, please!  If you want, dump the binaries somewhere and include a link
in the PR so @erg or I can update the DLLs on factorcode.org.

On Mon, Mar 20, 2017 at 8:19 AM, Benjamin Pollack 
wrote:

> Hey all,
>
> The versions of libressl hard-coded in Factor on Windows are quite
> out-of-date. I'm happy to update the references, but we'd presumably want
> to also update the DLLs we're storing in the bin directory on the Factor
> server, which I don't have access to. I'm happy to submit a PR (I already
> did/am using the newer libraries), but I wanted to first check what the
> best way to deal with this was.
>
> Cheers,
> --Benjamin
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Update libressl for Windows?

2017-03-20 Thread Alexander Ilin
I'd be happy to see an update in this area. 20.03.2017, 18:37, "Benjamin Pollack" :Hey all, The versions of libressl hard-coded in Factor on Windows are quite out-of-date. I'm happy to update the references, but we'd presumably want to also update the DLLs we're storing in the bin directory on the Factor server, which I don't have access to. I'm happy to submit a PR (I already did/am using the newer libraries), but I wanted to first check what the best way to deal with this was.  ---=---Александр 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk