#Compiling Openssl from source

1 messages · Page 1 of 1 (latest)

fervent plover
#

So I have been this issue for a long time and there is no other forum who can fix this issue as it is related to a problem which I think has never happened before. And if it happened there would be some users only. I searched google and even went to the irc channel but the problem has not even a single solution.

This is about my install of Kiss Linux. I followed the guide did everything and when upgrading the system. The packages started compiling but this openssl is giving me this problem every single time.

hexed pecan
#

I just saw it

#

If i got time to try to solve it i will

#

But now i need to go to rest, so i am sorry

#

But i get the thread with a message so i dont lose it and i can remember it

hexed pecan
#

@fervent plover seems like you are installing openssl with an instruction that is not supported in your cpu i guess

fervent plover
#

Yeah I figured it out. So, by default the build compiles it with intel assembler support and my cpu is amd so that's why it is causing the problem.

#

But we can't explicitly disable the intel assembler. I tried to add no-avxifma and it says no option.

#

The solution can be that we can completely compile the openssl build without the assembler options which is not good I guess.

hexed pecan
#

OpenSSL i am sure it have optimization options for AMD

fervent plover
#

I have searched google but found nothing. Just added enable-ec_nitp_* option which adds a little bit of assembler thing except that avx hell.

hexed pecan
#

I mean i didnt measured it but ykwim

#

Here seems that you can have all of the flags aviable

#

I would check by filtering with the word "amd"

fervent plover
#

These are not the options which would help I guess. Well, I tried searching for amd using filtering method but it showed nothing.

#

I mean the make or ./Configure options will enable or disable the assembler options.

hexed pecan
#

I though you were mentioning openssl flags

fervent plover
#

You guys will be angry at me. I asked ChatGPT. I think I got the solution for that. If you are using an amd processor then just disable the dedicated assembler options which is automatically being detected by the intel only. Idk why is not seeing my amd processor but anyway. I had to manually add an option to get assembler options other than the avx which is for intel. So I need to add enable-ec_nistp_64_gcc_128

#

And also 0.02 seconds is very small to get slower compilation results. It's negligible. Who cares.

hexed pecan
hexed pecan