Installing openssl without gcc or binutils dependents

Dewayne Geraghty dewayne.geraghty at
Fri Jan 16 18:30:00 UTC 2015

I would appreciate advise on the best approach to install openssl that
has been built with gcc48 without needing to install gcc and binutils
into the target machine?

Attempting to run sshd or openssl resulted in
signal 4, illegal instruction.
The target systems are i386 boxes running the VIA C3  chipset using 10.1
Stable and packages built from svnlite update of ports from 2014-12-30.

The suspect file is

All systems are built using clang and custom compiler directives, in
this case,
-march=c3-2 -mtune=c3-2
and other attempts of building used CPUTYPE=c3-2 which generated the
same signal 4 when run on the target platform; march=pentium3 had same
result.  The build occurs within an i386 jail on an amd64 FreeBSD 10.1
Stable, base system.

Inserted into /usr/ports/security/openssl/Makefile
USE_GCC=                yes
resulted in a successful installation and running of sshd and curl which
was the objective.  However the openssl now has a dependency on gcc48
and binutils, which wont fit into the embedded image of 64MB (and isn't

I would prefer to use pkg tools to install applications rather than the
crude workaround of
tar -xpPf /kits/openssl-1.0.1_16.txz /usr/local/bin /usr/local/lib

I suspect something in /usr/ports/Mk would need a flag ??

Advise appreciated...

Kind regards, Dewayne.
PS Fortunate aside, geom_eli only requires openssl header files,
otherwise the base system would also require gcc48 for these target machines

More information about the freebsd-ports mailing list