Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does OpenBSD-i386 build fail on des-586.s with “Unimplemented segment type”?

build fail
0
Posted

Why does OpenBSD-i386 build fail on des-586.s with “Unimplemented segment type”?

0

As of 0.9.7 assembler routines were overhauled for position independence of the machine code, which is essential for shared library support. For some reason OpenBSD is equipped with an out-of-date GNU assembler which finds the new code offensive. To work around the problem, configure with no-asm (and sacrifice a great deal of performance) or patch your assembler according to http://www.openssl.org/~appro/gas-1.92.3.OpenBSD.patch. For your convenience a pre-compiled replacement binary is provided at http://www.openssl.org/~appro/gas-1.92.3.static.aout.bin. Reportedly elder *BSD a.out platforms also suffer from this problem and remedy should be same. Provided binary is statically linked and should be working across wider range of *BSD branches, not just OpenBSD.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123