[openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-05-10 Thread Matt Caswell via RT
Ticket appears to have been opened in error. This message should have been against ticket 4411. Closing. Matt -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4443 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe:

Re: [openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-03-19 Thread Jeffrey Walton
>> This is bad news... A 32-bit pointer's sign extension is >> implementation defined, which means it may as well be undefined >> behavior... >> >> GCC sign extends. I think you can get around it with an intermediate >> cast to uintptr_t: >> >>cb->aio_buf = (uint64_t)(uintptr_t)buf; > > The

[openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-03-19 Thread noloa...@gmail.com via RT
> I think the [mostly] portable way to turn a pointer into an integral > is a uintptr_t or size_t. I'm not sure about uintptr_t availability > because of std=c89/90. size_t will work for most platforms; but the > one I am aware it will fail is older hardware like i386/i486 with > 16-bit segments

Re: [openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-03-19 Thread Jeffrey Walton
On Thu, Mar 17, 2016 at 8:43 PM, Viktor Dukhovni wrote: > >> On Mar 17, 2016, at 8:25 PM, noloa...@gmail.com via RT >> wrote: >> >> Yeah, this looks fishy... According to the libc manual, 13.10 Perform >> I/O Operations in Parallel >>

Re: [openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-03-19 Thread Jeffrey Walton
>> Yeah, this looks fishy... According to the libc manual, 13.10 Perform >> I/O Operations in Parallel >> (https://www.gnu.org/software/libc/manual/html_node/Asynchronous-I_002fO.html): >> >>volatile void *aio_buf >> >>This is a pointer to the buffer with the data to >>be

Re: [openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-03-19 Thread Viktor Dukhovni
> On Mar 17, 2016, at 8:25 PM, noloa...@gmail.com via RT > wrote: > > Yeah, this looks fishy... According to the libc manual, 13.10 Perform > I/O Operations in Parallel > (https://www.gnu.org/software/libc/manual/html_node/Asynchronous-I_002fO.html): > >volatile void

Re: [openssl-dev] [openssl.org #4443] Re: VIA C7-D processor: Hang in 30-test_afalg.t

2016-03-18 Thread Viktor Dukhovni
> On Mar 17, 2016, at 10:52 PM, Jeffrey Walton wrote: > > This is bad news... A 32-bit pointer's sign extension is > implementation defined, which means it may as well be undefined > behavior... > > GCC sign extends. I think you can get around it with an intermediate > cast