Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

with upgrade to 4.17.0 cross compile for Mac-x86_64 is failing #601

Copy link
Copy link

Description

@zoff99
Issue body actions
/home/runner/work/sqlite-jdbc/sqlite-jdbc
docker run --rm -v $PWD:/work -i sqlite-jdbc_macos64 \
bash -c 'make clean-native native OS_NAME=Mac OS_ARCH=x86_64 CC="/usr/osxcross/bin/x86_64-apple-darwin14-cc" CROSS_PREFIX="/usr/osxcross/bin/x86_64-apple-darwin14-" && chmod -R a+w ./target/*-Mac-x86_64 ./target/classes/org/sqlite/native/'
Will build using target: Mac-x86_64 (detected os: Mac, arch: x86_64)
Makefile.common:4: Set JAVA_HOME environment variable
ccmachine: x86_64-apple-darwin14
########### APPLE CCFLAGS ###########
rm -rf target/sqlite-3.51.1-Mac-x86_64
ls -al openssl_libs/Mac-x86_64/libssl.a openssl_libs/Mac-x86_64/libcrypto.a
lrwxrwxrwx 1 1001 1001 28 Jul 15 13:38 openssl_libs/Mac-x86_64/libcrypto.a -> /opt/openssl/lib/libcrypto.a
lrwxrwxrwx 1 1001 1001 25 Jul 15 13:38 openssl_libs/Mac-x86_64/libssl.a -> /opt/openssl/lib/libssl.a
perl -p -e "s/sqlite3_api;/sqlite3_api = 0;/g" \
    sqlcipher/sqlite3ext.h > target/sqlite-3.51.1-Mac-x86_64/sqlite3ext.h
perl -p -e "s/^opendb_out:/  if(!db->mallocFailed && rc==SQLITE_OK){ rc = RegisterExtensionFunctions(db); }\nopendb_out:/;" \
    sqlcipher/sqlite3.c > target/sqlite-3.51.1-Mac-x86_64/sqlite3.c.tmp
perl -p -e "s/^(static const char \* const sqlite3azCompileOpt.+)$/\1\n\n\/* This has been automatically added by sqlite-jdbc *\/\n  \"JDBC_EXTENSIONS\",/;" \
    target/sqlite-3.51.1-Mac-x86_64/sqlite3.c.tmp > target/sqlite-3.51.1-Mac-x86_64/sqlite3.c
cat src/main/ext/*.c >> target/sqlite-3.51.1-Mac-x86_64/sqlite3.c
/usr/osxcross/bin/x86_64-apple-darwin14-cc -o target/sqlite-3.51.1-Mac-x86_64/sqlite3.o -c -Itarget/sqlite-3.51.1-Mac-x86_64 -Isqlcipher -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/JavaVM.framework/Headers -Ilib/inc_mac -Os -fPIC -mmacosx-version-min=10.6 -fvisibility=hidden -Wno-implicit-function-declaration   \
    -DHAVE_STDINT_H -DSQLITE_HAS_CODEC -DHAVE_LIBSQLCIPHER -DSQLCIPHER_CRYPTO_OPENSSL -DSQLITE_TEMP_STORE=2 -I./openssl_includes \
    -DSQLITE_EXTRA_INIT=sqlcipher_extra_init -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown \
    -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576 -DSQLITE_ENABLE_STAT3 \
    -DSQLITE_ENABLE_PREUPDATE_HOOK \
    -DSQLITE_ENABLE_LOAD_EXTENSION=1 \
    -DSQLITE_HAVE_ISNAN \
    -DHAVE_USLEEP=1 \
    -DSQLITE_ENABLE_COLUMN_METADATA \
    -DSQLITE_CORE \
    -DSQLITE_ENABLE_FTS3 \
    -DSQLITE_ENABLE_FTS3_PARENTHESIS \
    -DSQLITE_ENABLE_FTS5 \
    -DSQLITE_ENABLE_RTREE \
    -DSQLITE_ENABLE_PERCENTILE \
    -DSQLITE_ENABLE_STAT4 \
    -DSQLITE_ENABLE_DBSTAT_VTAB \
    -DSQLITE_ENABLE_MATH_FUNCTIONS \
    -DSQLITE_THREADSAFE=1 \
    -DSQLITE_DEFAULT_MEMSTATUS=0 \
    -DSQLITE_DEFAULT_FILE_PERMISSIONS=0666 \
    -DSQLITE_MAX_VARIABLE_NUMBER=250000 \
    -DSQLITE_MAX_MMAP_SIZE=1099511627776 \
    -DSQLITE_MAX_LENGTH=2147483647 \
    -DSQLITE_MAX_COLUMN=32767 \
    -DSQLITE_MAX_SQL_LENGTH=1073741824 \
    -DSQLITE_MAX_FUNCTION_ARG=127 \
    -DSQLITE_MAX_ATTACHED=125 \
    -DSQLITE_MAX_PAGE_COUNT=4294967294 \
    -DSQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS \
     \
    target/sqlite-3.51.1-Mac-x86_64/sqlite3.c
target/sqlite-3.51.1-Mac-x86_64/sqlite3.c:110998:8: error: thread-local storage is not supported for the current target
static __thread volatile uint64_t xoshiro_s[4];
       ^
1 error generated.
make: *** [target/sqlite-3.51.1-Mac-x86_64/sqlite3.o] Error 1
Makefile:64: recipe for target 'target/sqlite-3.51.1-Mac-x86_64/sqlite3.o' failed
make: *** [Makefile:176: mac64] Error 2
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.