1 --- builds/posix/fbintl.vers
2 +++ builds/posix/fbintl.vers
8 --- builds/posix/fbplugin.vers
9 +++ builds/posix/fbplugin.vers
15 --- builds/posix/firebird.vers
16 +++ builds/posix/firebird.vers
19 KEYWORD_stringIsAToken
22 --- builds/posix/make.defaults
23 +++ builds/posix/make.defaults
28 -UNDEF_PLATFORM = -Wl,--no-undefined
30 ifeq ($(TARGET),Debug)
31 UNDEF_FLAGS = $(UNDEF_PLATFORM)
34 LIB_LINK_MAPFILE= -Wl,--version-script,$(1)
35 FIREBIRD_LIBRARY_LINK= -L$(LIB) -lfbclient $(MATHLIB)
37 -EXE_LINK_OPTIONS= $(LDFLAGS) $(THR_FLAGS) $(UNDEF_FLAGS) $(LIB_PATH_OPTS) $(LINK_EMPTY_SYMBOLS)
38 +EXE_LINK_OPTIONS= $(LDFLAGS) $(THR_FLAGS) $(UNDEF_FLAGS) $(LIB_PATH_OPTS)
39 LIB_LINK_OPTIONS= $(LDFLAGS) $(THR_FLAGS) -shared
41 FB_DAEMON = $(BIN)/firebird$(EXEC_EXT)
42 --- src/common/classes/alloc.cpp
43 +++ src/common/classes/alloc.cpp
45 const char* myStack = &probeVar;
46 const char* thisLocation = (const char*) this;
47 ptrdiff_t distance = thisLocation - myStack;
48 - fb_assert(absVal(distance) < 128 * 1024);
49 + //fb_assert(absVal(distance) < 128 * 1024);
53 --- src/common/os/posix/mod_loader.cpp
54 +++ src/common/os/posix/mod_loader.cpp
57 ModuleLoader::Module* ModuleLoader::loadModule(const Firebird::PathName& modPath)
59 - void* module = dlopen(modPath.nullStr(), FB_RTLD_MODE);
60 + void* module = dlopen(modPath.nullStr(), FB_RTLD_MODE | RTLD_GLOBAL);
66 @@ -1486,10 +1486,11 @@
67 USHORT offset = p[0] | (p[1] << 8);
70 - const Ods::Descriptor* odsDflDesc = (Ods::Descriptor*) p;
71 - p = (UCHAR*) (odsDflDesc + 1);
72 + Ods::Descriptor odsDflDesc;
73 + memcpy(&odsDflDesc, p, sizeof (Ods::Descriptor));
74 + p = (UCHAR*) (((Ods::Descriptor*) p) + 1);
76 - dsc desc = *odsDflDesc;
77 + dsc desc = odsDflDesc;
78 desc.dsc_address = const_cast<UCHAR*>(p);
79 EVL_make_value(tdbb, &desc, &format->fmt_defaults[offset], relation->rel_pool);