[tlbuild] 2014 builds
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Wed Mar 19 12:10:39 CET 2014
On Wed, Mar 19, 2014 at 11:23 AM, Peter Breitenlohner wrote:
>
> As for your problem with clang, please try
>
> $CC $CFLAGS -E lj_arch.h -dM | grep '__i386\|_M_IX86'
>
> with different values for CC and CFLAGS until __i386, __i386__, or _M_IX86
> is defined.
It's already properly defined (as expected), without any extra tweaks:
> clang -arch i386 -E lj_arch.h -dM | grep i386
#define __i386 1
#define __i386__ 1
#define i386 1
> =========
>
> Please also look into libs/luajit/config.log for:
> checking for architecture
> and tell me the result. This should be either
> Darwin x86 x64
> or
> Darwin x86 x86
It's neither.
configure:5306: checking for architecture
configure:5409: result: Darwin x64 x86
I'm trying to understand how that particular test works, but didn't
figure it out yet.
Mojca
PS: other variables, in case it's relevant:
#define LJ_32 1
#define LJ_52 0
#define LJ_64 0
#define LJ_ABI_SOFTFP 0
#define LJ_ABI_WIN 0
#define LJ_ARCH_BITS 32
#define LJ_ARCH_ENDIAN LUAJIT_LE
#define LJ_ARCH_HASFPU 1
#define LJ_ARCH_NAME "x86"
#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE_DUAL
#define LJ_BE 0
#define LJ_DUALNUM 0
#define LJ_ENDIAN_LOHI(lo,hi) lo hi
#define LJ_ENDIAN_SELECT(le,be) le
#define LJ_HASFFI 1
#define LJ_HASJIT 1
#define LJ_LE 1
#define LJ_NUMMODE_DUAL 2
#define LJ_NUMMODE_DUAL_SINGLE 3
#define LJ_NUMMODE_SINGLE 0
#define LJ_NUMMODE_SINGLE_DUAL 1
#define LJ_OS_NAME "OSX"
#define LJ_PAGESIZE 4096
#define LJ_SOFTFP (!LJ_ARCH_HASFPU)
#define LJ_TARGET_DLOPEN LJ_TARGET_POSIX
#define LJ_TARGET_EHRETREG 0
#define LJ_TARGET_IOS (LJ_TARGET_OSX && LUAJIT_TARGET == LUAJIT_ARCH_ARM)
#define LJ_TARGET_LINUX (LUAJIT_OS == LUAJIT_OS_LINUX)
#define LJ_TARGET_MASKROT 1
#define LJ_TARGET_MASKSHIFT 1
#define LJ_TARGET_OSX (LUAJIT_OS == LUAJIT_OS_OSX)
#define LJ_TARGET_POSIX (LUAJIT_OS > LUAJIT_OS_WINDOWS)
#define LJ_TARGET_UNALIGNED 1
#define LJ_TARGET_WINDOWS (LUAJIT_OS == LUAJIT_OS_WINDOWS)
#define LJ_TARGET_X86 1
#define LJ_TARGET_X86ORX64 1
More information about the tlbuild
mailing list