On Friday, July 31, 2015 at 2:55:59 PM UTC-4, Jeffrey Walton wrote:
>
>
> 1) I have found a way of copying text from Windows Command Line, so here
>> is the first unsolved problem.
>> On MinGW-32, the *cryptest.exe v *with CRYPTOPP_NO_UNALIGNED_ACCESS
>> defined crashes with SIGSEGV:
>>
>
> The problem appears to be with MinGW's automatic PIC. You should file a
> bug report with the MinGW project.
>
> I can reproduce with the following:
>
> $ make static dynamic cryptest.exe
> $ ./cryptest.exe v
>
> I *CANNOT* reproduce by forcing PIC even though its supposed to be
> enabled. Below is a typical CXXFLAGS + fPIC.
>
> make CXXFLAGS="-DNDEBUG -g2 -O2 -fPIC -march=native -Wall -Wextra
> -Wno-type-limits -Wno-unknown-pragmas -pipe"
>
By the way, you can see what CXXFLAGS you would use with a `make system`:
$ make system
CXX: g++
CXXFLAGS: -DNDEBUG -g2 -O3 -march=native -Wall -Wextra -Wno-type-limits
-Wno-unknown-pragmas -pipe
GCC_COMPILER: 1
CLANG_COMPILER: 0
...
Just copy it, add -fPIC to it, and then:
make CXXFAGS="..."
--
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.