[openssl-dev] [openssl.org #4583] AutoReply: Debian X32 and "fatal error: sys/cdefs.h: No such file or directory"

noloader@gmail.com via RT rt at openssl.org
Thu Jun 23 12:20:20 UTC 2016


On Thu, Jun 23, 2016 at 6:18 AM, Jeffrey Walton <noloader at gmail.com> wrote:
> Here's a couple more ways things don't work as expected:
>
> # ./config CFLAGS="-mx32"
> Operating system: x86_64-whatever-linux2
> Configuring for linux-x86_64
> Configuring OpenSSL version 1.1.0-pre6-dev (0x0x10100006L)
> target already defined - linux-x86_64 (offending arg: CFLAGS=-mx32)
>
> # ./config -mx32
> Operating system: x86_64-whatever-linux2
> Configuring for linux-x86_64
> ...

Here's another interesting result. This one is significant because its
the that's often cited to side step "wrong platform" problems:

# CC="gcc -mx32" ./config
Operating system: x86_64-whatever-linux2
Configuring for linux-x86_64
Configuring OpenSSL version 1.1.0-pre6-dev (0x0x10100006L)
    no-asan         [default]  OPENSSL_NO_ASAN (skip dir)
    ...
    no-zlib         [default]
    no-zlib-dynamic [default]
Configuring for linux-x86_64
CC            =gcc -mx32
CFLAG         =-Wall -O3 -pthread -m64 -DL_ENDIAN  -Wa,--noexecstack
SHARED_CFLAG  =-fPIC
....
PERL          =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode

Configured for linux-x86_64.


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4583
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list