Tiny Core Extensions > TCE Bugs

MbedTLS Illegal Instruction on i586

(1/1)

CNK:
I'm getting "illegal instruction" errors with MbedTLS libs on a Pentium 1 (i586), such as from the selftest program in mbedtls-bin:

--- Code: ---$ /tmp/tcloop/mbedtls-bin/usr/local/bin/selftest
Illegal instruction

--- End code ---

It seems from the build script that the x86 mbedtls-lib.tcz and mbedtls-bin.tcz extensions on TC12 and later were built with the x86_64 compiler flags instead of these x86 flags shown on the Wiki:

--- Code: ---export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"

--- End code ---

Since I built the updated Dillo extension for MbedTLS instead of OpenSSL, I expect this is why it's also failing with "Illegal instrucion" in TC15 on i586.

Juanito:
Maybe you could pm the maintainer and request a replacement?

CNK:
Thanks Juanito, yes PM sent.

Navigation

[0] Message Index

Go to full version